My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 23: libproxy does not include dbus headers with the networkmanager plugin enabled
2 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 5
Owner:  ----
Closed:  Jan 2009
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by nirbheek.chauhan, Jan 30, 2009
./configure --with-networkmanager
<finishes nicely>

---------
$ make
/bin/sh ../../libtool --tag=CC   --mode=compile gcc
-DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\"
-DPACKAGE_VERSION=\"0.2.3\" -DPACKAGE_STRING=\"libproxy\ 0.2.3\"
-DPACKAGE_BUGREPORT=\"nathaniel@natemccallum.com\" -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 -DHAVE__BOOL=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/local/lib/libproxy/0.2.3/plugins\"
-DSYSCONFDIR=\"/usr/local/etc\" -D_POSIX_C_SOURCE=1 -MT
networkmanager_la-networkmanager.lo -MD -MP -MF
.deps/networkmanager_la-networkmanager.Tpo -c -o
networkmanager_la-networkmanager.lo `test -f 'networkmanager.c' || echo
'./'`networkmanager.c
 gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\"
-DPACKAGE_VERSION=\"0.2.3\" "-DPACKAGE_STRING=\"libproxy 0.2.3\""
-DPACKAGE_BUGREPORT=\"nathaniel@natemccallum.com\" -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 -DHAVE__BOOL=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/local/lib/libproxy/0.2.3/plugins\"
-DSYSCONFDIR=\"/usr/local/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)

<more errors snipped>

Reproduced on a Gentoo x86 2008.0 system running GNOME 2.24 and dbus 1.2.3
dbus header files are in /usr/include/dbus-1/. Which is why it fails.

Attached is a patch to configure.ac to check for dbus and add dbus_CFLAGS
to NETWORKMANAGER_CFLAGS
libproxy-0.2.3-fix-dbus-includes.patch
1.4 KB   Download
Comment 1 by dominique.leuenberger, Jan 30, 2009
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 5
Sign in to add a comment

Hosted by Google Code