Can't compile
Hi, I use Ubuntu 7.10 and I have wanted to install the networkmanager of svn. I get the sourcecode and then I run the command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var I get an error. I need the lib1-0pre8. There is no package for Ubuntu. I have tried to compile the sourcefiles of the lib1-0pre8 and the lib1-1 but I get every time an error: insert: stat ... can't find the file or the directory. Know somebody this error and can help me? I need the Networkmanager for my work. I want to use the D-Bus connection to NM to get some information about networks und SSID... . I need the 0.7 version, because it can connected on more than one interfaces. Thanks, marco___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Can't compile
On Sat, 2008-03-29 at 09:18 +0100, Marco Franke wrote: Hi, I use Ubuntu 7.10 and I have wanted to install the networkmanager of svn. I get the sourcecode and then I run the command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var I get an error. I need the lib1-0pre8. There is no package for Ubuntu. You'll just need to get it installed, somehow :( I have tried to compile the sourcefiles of the lib1-0pre8 and the lib1-1 but I get every time an error: insert: stat ... can't find the file or the directory. Know somebody this error and can help me? Not really sure, perhaps you could ask the Ubuntu libnl maintainer about the error? Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
pptp can't compile and reconnection
Hi, The 12th march I downloaded the svn version of NetworkManager. I could compile everything except pptp because it says that I don't have the file dbus-dict-helper.h. I searched a little bit and I saw that in previous snapshots it has it (I think in svn 2958 or something like this). Is it normal that i don't have it or how can I get it? Another bug that I noticed was that when I disable the wireless connection and then enable again, it doesn't reconnect to the previous AP I was connected to (at least in my pc). I will look this week if I can fix it (if there is any problem, hehe). Charly Liu ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: pptp can't compile and reconnection
On Mon, Mar 17, 2008 at 10:02 AM, Charly Liu [EMAIL PROTECTED] wrote: The 12th march I downloaded the svn version of NetworkManager. I could compile everything except pptp because it says that I don't have the file dbus-dict-helper.h. I searched a little bit and I saw that in previous snapshots it has it (I think in svn 2958 or something like this). Is it normal that i don't have it or how can I get it? Another bug that I noticed was that when I disable the wireless connection and then enable again, it doesn't reconnect to the previous AP I was connected to (at least in my pc). I will look this week if I can fix it (if there is any problem, hehe). One part of the 0.7 rework we did was to change the way VPN backends (or modules) worked. VPNC and openvpn backends got changed for the new API, PPTP didn't. So it won't work at all right now. It basically needs a rewrite: to use the new APIs of NetworkManager, to not use it's own ppp manager (NM now provides one) and to remove all the hacks it had to support random ppp connections that NM didn't support in 0.6. Tambet ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Can't compile NETWORKMANAGER_0_6_5_RELEASE
Hello all, I'm trying to compile the openvpn module of the NETWORKMANAGER_0_6_5_RELEASE. But I'm only getting this error message: $ make make all-recursive make[1]: Entering directory `/home/trunneml/Projekte/NetworkManager/svn/NETWORKMANAGER_0_6_5_RELEASE/vpn-daemons/openvpn' Making all in src make[2]: Entering directory `/home/trunneml/Projekte/NetworkManager/svn/NETWORKMANAGER_0_6_5_RELEASE/vpn-daemons/openvpn/src' depbase=`echo nm-openvpn-service.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`; \ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I../vpn-daemons/openvpn -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/NetworkManager -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR= \/usr/local/bin\ -DPREFIX=\/usr/local\ -DSYSCONFDIR= \/usr/local/etc\ -DVERSION=\0.3.2\ -DLIBDIR=\/usr/local/lib\ -DLIBEXECDIR=\/usr/local/libexec\ -DLOCALSTATEDIR= \/usr/local/var\ -DDATADIR=\/usr/local/share\ -g -O2 -MT nm-openvpn-service.o -MD -MP -MF $depbase.Tpo -c -o nm-openvpn-service.o nm-openvpn-service.c; \ then mv -f $depbase.Tpo $depbase.Po; else rm -f $depbase.Tpo; exit 1; fi nm-openvpn-service.c: In function 'nm_openvpn_dbus_handle_start_vpn': nm-openvpn-service.c:1061: error: 'NM_DBUS_VPN_LAUNCH_FAILED' undeclared (first use in this function) nm-openvpn-service.c:1061: error: (Each undeclared identifier is reported only once nm-openvpn-service.c:1061: error: for each function it appears in.) make[2]: *** [nm-openvpn-service.o] Error 1 make[2]: Leaving directory `/home/trunneml/Projekte/NetworkManager/svn/NETWORKMANAGER_0_6_5_RELEASE/vpn-daemons/openvpn/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/trunneml/Projekte/NetworkManager/svn/NETWORKMANAGER_0_6_5_RELEASE/vpn-daemons/openvpn' make: *** [all] Error 2 Can someone tell me what I did wrong? -- Michael Trunner [EMAIL PROTECTED] ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
can't compile NetworkManager
Hi guys, I need your help. I'm trying to compile NetworkManager on Gentoo. I'm running configure script with parameters: LIBNL_CFLAGS=/usr/include/netlink/ LIBNL_LIBS=/usr/lib/ ./configure --without-gnome --prefix=/usr/local and it works ok, but after make I have: . make[3]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src/backends' make[3]: Entering directory `/usr/local/src/NetworkManager-0.6.4/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils -I../libnm-util -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=62 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include/usr/include/netlink/ -DWPA_SUPPLICANT_BIN=\/sbin/wpa_supplicant\ -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\/usr/local/bin\ -DSBINDIR=\/usr/local/sbin\ -DLIBEXECDIR=\/usr/local/libexec\ -DDATADIR=\/usr/local/share\ -DSYSCONFDIR=\/usr/local/etc\ -DLOCALSTATEDIR=\/usr/local/var\ -DNM_RUN_DIR=\/usr/local/var/run/NetworkManager\ -DGNOMELOCALEDIR=\/usr/local/share/locale\ -DARP_DEBUG -g -O2 -MT NetworkManager-nm-device.o -MD -MP -MF .deps/NetworkManager-nm-device.Tpo -c -o NetworkManager-nm-device.o `test -f 'nm-device.c' || echo './'`nm-device.c; \ then mv -f .deps/NetworkManager-nm-device.Tpo .deps/NetworkManager-nm-device.Po; else rm -f .deps/NetworkManager-nm-device.Tpo; exit 1; fi gcc: /usr/include/netlink/: linker input file unused because linking not done if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils -I../libnm-util -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=62 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include/usr/include/netlink/ -DWPA_SUPPLICANT_BIN=\/sbin/wpa_supplicant\ -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\/usr/local/bin\ -DSBINDIR=\/usr/local/sbin\ -DLIBEXECDIR=\/usr/local/libexec\ -DDATADIR=\/usr/local/share\ -DSYSCONFDIR=\/usr/local/etc\ -DLOCALSTATEDIR=\/usr/local/var\ -DNM_RUN_DIR=\/usr/local/var/run/NetworkManager\ -DGNOMELOCALEDIR=\/usr/local/share/locale\ -DARP_DEBUG -g -O2 -MT NetworkManager-nm-device-802-3-ethernet.o -MD -MP -MF .deps/NetworkManager-nm-device-802-3-ethernet.Tpo -c -o NetworkManager-nm-device-802-3-ethernet.o `test -f 'nm-device-802-3-ethernet.c' || echo './'`nm-device-802-3-ethernet.c; \ then mv -f .deps/NetworkManager-nm-device-802-3-ethernet.Tpo .deps/NetworkManager-nm-device-802-3-ethernet.Po; else rm -f .deps/NetworkManager-nm-device-802-3-ethernet.Tpo; exit 1; fi In file included from /usr/include/linux/mii.h:12, from nm-device-802-3-ethernet.c:379: /usr/include/linux/if.h:118: error: redefinition of 'struct ifmap' /usr/include/linux/if.h:154: error: redefinition of 'struct ifreq' /usr/include/linux/if.h:204: error: redefinition of 'struct ifconf' make[3]: *** [NetworkManager-nm-device-802-3-ethernet.o] Error 1 make[3]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/NetworkManager-0.6.4' make: *** [all] Error 2 any ideas? if yes, let me now on my email or on http://gnomesupport.org/forums/viewtopic.php?t=11794 regards, bartek ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: can't compile NetworkManager
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 joker wrote: Hi guys, I need your help. I'm trying to compile NetworkManager on Gentoo. I'm running configure script with parameters: LIBNL_CFLAGS=/usr/include/netlink/ LIBNL_LIBS=/usr/lib/ ./configure --without-gnome --prefix=/usr/local and it works ok, but after make I have: . make[3]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src/backends' make[3]: Entering directory `/usr/local/src/NetworkManager-0.6.4/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils -I../libnm-util -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=62 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include/usr/include/netlink/ -DWPA_SUPPLICANT_BIN=\/sbin/wpa_supplicant\ -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\/usr/local/bin\ -DSBINDIR=\/usr/local/sbin\ -DLIBEXECDIR=\/usr/local/libexec\ -DDATADIR=\/usr/local/share\ -DSYSCONFDIR=\/usr/local/etc\ -DLOCALSTATEDIR=\/usr/local/var\ -DNM_RUN_DIR=\/usr/local/var/run/NetworkManager\ -DGNOMELOCALEDIR=\/usr/local/share/locale\ -DARP_DEBUG -g -O2 -MT NetworkManager-nm-device.o -MD -MP -MF .deps/NetworkManager-nm-device.Tpo -c -o NetworkManager-nm-device.o `test -f 'nm-device.c' || echo './'`nm-device.c; \ then mv -f .deps/NetworkManager-nm-device.Tpo .deps/NetworkManager-nm-device.Po; else rm -f .deps/NetworkManager-nm-device.Tpo; exit 1; fi gcc: /usr/include/netlink/: linker input file unused because linking not done if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils -I../libnm-util -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=62 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include/usr/include/netlink/ -DWPA_SUPPLICANT_BIN=\/sbin/wpa_supplicant\ -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\/usr/local/bin\ -DSBINDIR=\/usr/local/sbin\ -DLIBEXECDIR=\/usr/local/libexec\ -DDATADIR=\/usr/local/share\ -DSYSCONFDIR=\/usr/local/etc\ -DLOCALSTATEDIR=\/usr/local/var\ -DNM_RUN_DIR=\/usr/local/var/run/NetworkManager\ -DGNOMELOCALEDIR=\/usr/local/share/locale\ -DARP_DEBUG -g -O2 -MT NetworkManager-nm-device-802-3-ethernet.o -MD -MP -MF .deps/NetworkManager-nm-device-802-3-ethernet.Tpo -c -o NetworkManager-nm-device-802-3-ethernet.o `test -f 'nm-device-802-3-ethernet.c' || echo './'`nm-device-802-3-ethernet.c; \ then mv -f .deps/NetworkManager-nm-device-802-3-ethernet.Tpo .deps/NetworkManager-nm-device-802-3-ethernet.Po; else rm -f .deps/NetworkManager-nm-device-802-3-ethernet.Tpo; exit 1; fi In file included from /usr/include/linux/mii.h:12, from nm-device-802-3-ethernet.c:379: /usr/include/linux/if.h:118: error: redefinition of 'struct ifmap' /usr/include/linux/if.h:154: error: redefinition of 'struct ifreq' /usr/include/linux/if.h:204: error: redefinition of 'struct ifconf' make[3]: *** [NetworkManager-nm-device-802-3-ethernet.o] Error 1 make[3]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/NetworkManager-0.6.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/NetworkManager-0.6.4' make: *** [all] Error 2 any ideas? if yes, let me now on my email or on http://gnomesupport.org/forums/viewtopic.php?t=11794 regards, bartek ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list Take a look at the ebuild for this in the Gentopia overlay (http://overlays.gentoo.org) and there is a patch that fixes the issue. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFNShS1c+EtXTHkJcRAgA2AJ9r/JmH6PCHX6WQd1M0sX1aFIGVsgCeKAYS 74w6eD+URkayjMuy/j7rPjE= =xhPQ -END PGP SIGNATURE- ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list