This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Network Manager now in SVN playground

Tags: None
(comma "," separated)
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
Just did. But that's giving me so much unrelated errors, about KDE games, etc. all kinds of packages I don't need.

But from these threads I get the impression that you need to download the complete playground directory, execute cmake when in the playground directory and then invoke make when in the build directory of the Networkmanager plasmoid?


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
dcrabs
Registered Member
Posts
81
Karma
0
OS
mensch wrote:Just did. But that's giving me so much unrelated errors, about KDE games, etc. all kinds of packages I don't need.

But from these threads I get the impression that you need to download the complete playground directory, execute cmake when in the playground directory and then invoke make when in the build directory of the Networkmanager plasmoid?


Yes, exactly that works here at least. You can also have a build directory and do it there.


dcrabs, proud to be a member of KDE forums since 2008-Oct.
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
I'm afraid I get the same behaviour as I did when I just checked out the plasmoid directory.

When I try to build another applet (Peachdock for example) I can successfully run make and make install.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
dcrabs
Registered Member
Posts
81
Karma
0
OS
mensch wrote:I'm afraid I get the same behaviour as I did when I just checked out the plasmoid directory.

When I try to build another applet (Peachdock for example) I can successfully run make and make install.


I can think of one more thing that I reported as a bug but it was closed shortly after.
Anyway, I had to install libnetworkmanager and networkmanager to be able to compile it on Arch linux even though cmake did not report any errors of missing libraries. Before I had only libnetworkmanager-0.7 installed cause I thought it was sufficient.

EDIT: I think the packages are called libnm-util1 and network-manager on debian.

Last edited by dcrabs on Thu Jan 15, 2009 2:25 pm, edited 1 time in total.


dcrabs, proud to be a member of KDE forums since 2008-Oct.
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
I installed the dev packages and upgraded some related libraries which were for some reason still at 0.6.6. But still no dice!

I'm afraid I'll have to wait for the applet until it's offered as an official package. :(

Last edited by mensch on Thu Jan 15, 2009 2:37 pm, edited 1 time in total.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
dcrabs
Registered Member
Posts
81
Karma
0
OS
I am still seeing a blank plasmoid but I think it is solid related. When I check for network devices I get this:
Code: Select all
david ~ % solid-network listdevices
solid-network(16362)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-david/ksycoca4"
solid-network(16362)/Solid (NetworkManager) NMNetworkManagerPrivate::fillNetworkInterfacesList: Error getting device list:  "org.freedesktop.DBus.Error.UnknownMethod" :  "Method "getDevices" with signature "" on interface "org.freedesktop.NetworkManager" doesn't exist
"
solid-network(16362) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded:  "NetworkManager"
solid-network(16362)/Solid (NetworkManager) NMNetworkManager::networkInterfaces:
debug: network interface list contains: 0 entries


dcrabs, proud to be a member of KDE forums since 2008-Oct.
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
Just checked out the networkmanager directory again and now make seems to run ok now. Not sure if it will spit out errors again, but at least make is firing up properly.

EDIT
It completes successfully, but I get an empty plasmoid with two garbled icons. I'll just have to wait until it's officially integrated.

Last edited by mensch on Fri Jan 16, 2009 7:46 pm, edited 1 time in total.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
verbalshadow
Registered Member
Posts
52
Karma
0
OS
mensch wrote:Just checked out the networkmanager directory again and now make seems to run ok now. Not sure if it will spit out errors again, but at least make is firing up properly.

EDIT
It completes successfully, but I get an empty plasmoid with two garbled icons. I'll just have to wait until it's officially integrated.


mensch,

Sorry this has not working out for you. I would not have posted it here if I had as many issues as you have had. For me the hardest thing was killing nm-applet which doesn't have a exit option that I can find. I have been using this with out a hitch.


verbalshadow, proud to be a member of KDE forums since 2008-Nov.
User avatar
mensch
Registered Member
Posts
178
Karma
0
OS
Oh it doesn't matter. I like getting things to work and seeing as this applet is still in playground the fact that it doesn't work on all setups is not surprising.


I have forced myself to contradict myself in order to avoid conforming to my own taste. Marcel Duchamp
User avatar
downhillgames
Registered Member
Posts
7
Karma
0
mensch wrote:Do you reckon if it's stable enough for daily use? From what I saw on screenshots the new network manager looks very classy.

EDIT:
For some reason it won't compile on my machine. When invoking make nothing happens. The cmake configuring part completes without errors.

&
mensch wrote:Just checked, I'm afraid it says that there are no rules to make the target install.

Same here. `cmake ..` works fine but then `make` shows nothing :(


Let's go Redwings, let's go! HOA HOA!
User avatar
dcrabs
Registered Member
Posts
81
Karma
0
OS
downhillgames wrote:
mensch wrote:Do you reckon if it's stable enough for daily use? From what I saw on screenshots the new network manager looks very classy.

EDIT:
For some reason it won't compile on my machine. When invoking make nothing happens. The cmake configuring part completes without errors.

&
mensch wrote:Just checked, I'm afraid it says that there are no rules to make the target install.

Same here. `cmake ..` works fine but then `make` shows nothing :(

As I wrote earlier in this thread, you need to execute cmake in the playground directory. I was pointed to the solution by some of the developers.

At least it compiles fine then but some of the tabs in the configuration are not accessible. Actually only the vpn-tab is which makes it pretty much useless here.
I guess there is still a dependency missing but so far I couldn't find out which one.


dcrabs, proud to be a member of KDE forums since 2008-Oct.
User avatar
downhillgames
Registered Member
Posts
7
Karma
0
dcrabs wrote:As I wrote earlier in this thread, you need to execute cmake in the playground directory. I was pointed to the solution by some of the developers.

At least it compiles fine then but some of the tabs in the configuration are not accessible. Actually only the vpn-tab is which makes it pretty much useless here.
I guess there is still a dependency missing but so far I couldn't find out which one.

Sorry, bro. I missed the fact that there were more pages. Just caught that now. Thanks :)


Let's go Redwings, let's go! HOA HOA!
iacchi
Registered Member
Posts
8
Karma
0
OS
Sorry if I resume this old topic, but I think my problem belong to it: feel free to move it if you prefer.
I've tried to compile the NM-plasmoid from svn following this article: http://verbalshadow.wordpress.com/2009/ ... r-in-kde4/ but I get an error during make. I have installed the NM dev package, and I think I have the solid framework installed (I have the solid-network command, for example).

This is the cmake output:
Code: Select all
iacopo@eddie:~/NM-plasmoid/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=`kde-config -prefix` -DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
-- The C compiler identification is GNU                                                                                             
-- The CXX compiler identification is GNU                                                                                           
-- Check for working C compiler: /usr/bin/gcc                                                                                       
-- Check for working C compiler: /usr/bin/gcc -- works                                                                               
-- Detecting C compiler ABI info                                                                                                     
-- Detecting C compiler ABI info - done                                                                                             
-- Check for working CXX compiler: /usr/bin/c++                                                                                     
-- Check for working CXX compiler: /usr/bin/c++ -- works                                                                             
-- Detecting CXX compiler ABI info                                                                                                   
-- Detecting CXX compiler ABI info - done                                                                                           
-- Looking for Q_WS_X11                                                                                                             
-- Looking for Q_WS_X11 - found                                                                                                     
-- Looking for Q_WS_WIN                                                                                                             
-- Looking for Q_WS_WIN - not found.                                                                                                 
-- Looking for Q_WS_QWS                                                                                                             
-- Looking for Q_WS_QWS - not found.                                                                                                 
-- Looking for Q_WS_MAC                                                                                                             
-- Looking for Q_WS_MAC - not found.                                                                                                 
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake-qt4)                                                                                 
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so     
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname                                                                                                           
-- Looking for gethostbyname - found                                                                                                   
-- Looking for connect                                                                                                                 
-- Looking for connect - found                                                                                                         
-- Looking for remove                                                                                                                   
-- Looking for remove - found                                                                                                           
-- Looking for shmat                                                                                                                   
-- Looking for shmat - found                                                                                                           
-- Looking for IceConnectionNumber in ICE                                                                                               
-- Looking for IceConnectionNumber in ICE - found                                                                                       
-- Found X11: /usr/lib/libX11.so                                                                                                       
-- Looking for include files CMAKE_HAVE_PTHREAD_H                                                                                       
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                                               
-- Looking for pthread_create in pthreads                                                                                               
-- Looking for pthread_create in pthreads - not found                                                                                   
-- Looking for pthread_create in pthread                                                                                               
-- Looking for pthread_create in pthread - found                                                                                       
-- Found Threads: TRUE                                                                                                                 
-- Found Automoc4: /usr/bin/automoc4                                                                                                   
-- Found Perl: /usr/bin/perl                                                                                                           
-- Performing Test _OFFT_IS_64BIT                                                                                                       
-- Performing Test _OFFT_IS_64BIT - Failed                                                                                             
-- Performing Test HAVE_FPIE_SUPPORT                                                                                                   
-- Performing Test HAVE_FPIE_SUPPORT - Success                                                                                         
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                                                                                     
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                                                                           
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                                                                           
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                                                                                 
-- Phonon Version: 4.3.0                                                                                                               
-- Found Phonon: /usr/lib/libphonon.so                                                                                                 
-- Found Phonon Includes: /usr/include/KDE;/usr/include                                                                                 
-- Found KDE 4.2 include dir: /usr/include                                                                                             
-- Found KDE 4.2 library dir: /usr/lib                                                                                                 
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler                                                             
-- Found automoc4: /usr/bin/automoc4                                                                                                   
-- Check if the system is big endian                                                                                                   
-- Searching 16 bit integer                                                                                                             
-- Looking for sys/types.h                                                                                                             
-- Looking for sys/types.h - found                                                                                                     
-- Looking for stdint.h                                                                                                                 
-- Looking for stdint.h - found                                                                                                         
-- Looking for stddef.h                                                                                                                 
-- Looking for stddef.h - found                                                                                                         
-- Check size of unsigned short                                                                                                         
-- Check size of unsigned short - done                                                                                                 
-- Using unsigned short                                                                                                                 
-- Check if the system is big endian - little endian                                                                                   
-- checking for one of the modules 'NetworkManager'                                                                                     
--   found NetworkManager, version 0.7.1                                                                                               
-- checking for one of the modules 'libnm-util'                                                                                         
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                             
-- Found GLIB2: /usr/lib/libglib-2.0.so                                                                                                 
-- Configuring done                                                                                                                     
-- Generating done                                                                                                                     
-- Build files have been written to: /home/iacopo/NM-plasmoid/build


And this is the make output:

Code: Select all
iacopo@eddie:~/NM-plasmoid/build$ make                                                                                                 
Scanning dependencies of target knmdbus_automoc                                                                                         
Generating nm-exported-connectioninterface.moc                                                                                                                   
Generating networkmanagersettings.moc                                                                                                                             
Generating nm-active-connectioninterface.moc                                                                                                                     
Generating nm-settingsinterface.moc                                                                                                                               
Generating moc_remoteconnection.cpp                                                                                                                               
[  0%] Built target knmdbus_automoc                                                                                                                               
Scanning dependencies of target knmdbus                                                                                                                           
[  1%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/knmdbus_automoc.o                                                                                     
[  2%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/nm-active-connectioninterface.o                                                                       
[  2%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/nm-exported-connectioninterface.o                                                                     
[  3%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/nm-settingsinterface.o                                                                               
[  4%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/networkmanagersettings.o                                                                             
[  4%] Building CXX object libs/dbus/CMakeFiles/knmdbus.dir/remoteconnection.o
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:24:29: error: nm-setting-cdma.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:25:35: error: nm-setting-connection.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:26:28: error: nm-setting-gsm.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:27:30: error: nm-setting-pppoe.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:28:28: error: nm-setting-vpn.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:29:30: error: nm-setting-wired.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:30:33: error: nm-setting-wireless.h: No such file or directory
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp: In constructor ‘RemoteConnection::RemoteConnection(const QString&, const QString&, QObject*)’:
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:52: error: ‘NM_SETTING_CONNECTION_SETTING_NAME’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:54: error: ‘NM_SETTING_CONNECTION_ID’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:58: error: ‘NM_SETTING_CONNECTION_TYPE’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:62: error: ‘NM_SETTING_CDMA_SETTING_NAME’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:64: error: ‘NM_SETTING_GSM_SETTING_NAME’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:66: error: ‘NM_SETTING_PPPOE_SETTING_NAME’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:68: error: ‘NM_SETTING_WIRED_SETTING_NAME’ was not declared in this scope
/home/iacopo/NM-plasmoid/libs/dbus/remoteconnection.cpp:70: error: ‘NM_SETTING_WIRELESS_SETTING_NAME’ was not declared in this scope
make[2]: *** [libs/dbus/CMakeFiles/knmdbus.dir/remoteconnection.o] Error 1
make[1]: *** [libs/dbus/CMakeFiles/knmdbus.dir/all] Error 2
make: *** [all] Error 2


Can you help me on this? If the problem belongs to the code and not to me, can you tell me the last svn revision which compiles without errors?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please verify that the files listed as not found exist on disk?
If they do not, your SVN checkout may not be consistent.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
iacchi
Registered Member
Posts
8
Karma
0
OS
If you refer to all the .h files, they doesn't exist in the libs/dbus directory, but they're not in the svn, too: http://websvn.kde.org/trunk/playground/ ... libs/dbus/ and the .cpp file includes them without an absolute path, so I don't know where to look for them.
I don't know which package should provide them: network-manager-dev doesn't, so where can I find them?

Last edited by iacchi on Sun Jun 07, 2009 12:42 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]