#3036 closed task (fixed)
libproxy-0.3.0 (was: libprox-0.2.3 will not compile with NetworkManager installed)
Reported by: | Robert L. Inglis | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\" -DPACKAGE_VERSION=\"0.2.3\" "-DPACKAGE_STRING=\"libproxy 0.2.3\"" -DPACKAGE_BUGREPORT=\"nathaniel@…\" -DPACKAGE=\"libproxy\" -DVERSION=\"0.2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVEBOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I. -I../../src/lib -I/usr/include/NetworkManager -g -std=c99 -g -O2 -DPLUGINDIR=\"/usr/lib/libproxy/0.2.3/plugins\" -DSYSCONFDIR=\"/usr/etc\" -D_POSIX_C_SOURCE=1 -MT networkmanager_la-networkmanager.lo -MD -MP -MF .deps/networkmanager_la-networkmanager.Tpo -c networkmanager.c -fPIC -DPIC -o .libs/networkmanager_la-networkmanager.o networkmanager.c:27:23: error: dbus/dbus.h: No such file or directory networkmanager.c: In function 'nm_on_get_proxy': networkmanager.c:34: error: 'DBusConnection' undeclared (first use in this function) networkmanager.c:34: error: (Each undeclared identifier is reported only once networkmanager.c:34: error: for each function it appears in.) networkmanager.c:34: error: 'conn' undeclared (first use in this function) networkmanager.c:35: warning: implicit declaration of function 'dbus_connection_get_is_connected' networkmanager.c:41: warning: implicit declaration of function 'dbus_connection_close' networkmanager.c:42: warning: implicit declaration of function 'dbus_connection_read_write' networkmanager.c:43: error: 'DBusMessage' undeclared (first use in this function) networkmanager.c:43: error: 'msg' undeclared (first use in this function) networkmanager.c:43: warning: implicit declaration of function 'dbus_connection_pop_message' networkmanager.c:43: warning: implicit declaration of function 'dbus_message_unref' networkmanager.c:47: warning: implicit declaration of function 'dbus_bus_get_private' networkmanager.c:47: error: 'DBUS_BUS_SYSTEM' undeclared (first use in this function) networkmanager.c:51: warning: implicit declaration of function 'dbus_connection_set_exit_on_disconnect' networkmanager.c:52: warning: implicit declaration of function 'dbus_bus_add_match' networkmanager.c:53: warning: implicit declaration of function 'dbus_connection_flush' networkmanager.c:72: warning: implicit declaration of function 'dbus_message_get_args' networkmanager.c:72: error: 'DBUS_TYPE_UINT32' undeclared (first use in this function) networkmanager.c:72: error: 'DBUS_TYPE_INVALID' undeclared (first use in this function) networkmanager.c: In function 'on_proxy_factory_destantiate': networkmanager.c:94: error: 'DBusConnection' undeclared (first use in this function) networkmanager.c:94: error: 'conn' undeclared (first use in this function) make[3]: * [networkmanager_la-networkmanager.lo] Error 1 make[3]: Leaving directory `/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src/plugins' make[2]: * [all] Error 2 make[2]: Leaving directory `/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src/plugins' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/mnt/sources/sources/gnome2/src/libproxy-0.2.3/src' make: * [all-recursive] Error 1 ringlis [ /mnt/sources/sources/gnome2/src/libproxy-0.2.3 ]$
I have compiled this library without NetworkManager on a previous gnome2 blfs-svn 201001xx build w/o an issue. I downloaded and compiled libproxy-0.3.0 and it does compile against NetworkManager. Maybe update this package to the newer version?
Change History (5)
follow-up: 2 comment:1 by , 15 years ago
Summary: | libproxy-0.2.3 will not compile with NetworkManager installed → libproxy-0.3.0 (was: libprox-0.2.3 will not compile with NetworkManager installed) |
---|
comment:2 by , 15 years ago
Replying to dj@…:
Yes, upgrade to 0.3.0, however, I see "-DSYSCONFDIR=/usr/etc". Not sure whether that's NM's or libproxy. Either way, --sysconfdir=/etc to both configure scripts might save you some headache later on down the line. Also, just curiosity, since you mentioned you are doing gnome2, are you installing Gnome in /usr or the optional prefix? I'll be posting a book patch suggesting GNOME_PREFIX and GNOME_CONFIG (like in Xorg instructions) in a couple of days for Wayne's review (He's far more familiar with Gnome than I, though I'm getting there).
Yes I seen that too, nothing at all is in /usr/etc. I was puzzled why that was in there when I pasted the error.
This build like my last is in /usr. So far I've done 4 (including this one) since Jan. I can never get Gnome right and finally stumbled upon the cause. I usually would rebuild HAL after PolicyKit / ConsoleKit series install since hal was compiled with --without-polkit / console kit support, but I figured out that rebuild is causing permission issues. Simple things like not being able to suspend, adjust CPU, or shutdown the PC as a user. On this build I omitted the hal rebuild and so far those items are still functional as a user--well outside the Gnome2 desktop and in Xfce4. Nothing built yet in Gnome2 DE plug-in wise.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Latest libproxy in BLFS SVN Book builds without any problems with NetworkManager present. Marking as fixed.
Yes, upgrade to 0.3.0, however, I see "-DSYSCONFDIR=/usr/etc". Not sure whether that's NM's or libproxy. Either way, --sysconfdir=/etc to both configure scripts might save you some headache later on down the line. Also, just curiosity, since you mentioned you are doing gnome2, are you installing Gnome in /usr or the optional prefix? I'll be posting a book patch suggesting GNOME_PREFIX and GNOME_CONFIG (like in Xorg instructions) in a couple of days for Wayne's review (He's far more familiar with Gnome than I, though I'm getting there).