codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Making Error: Arch Linux #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to make 'libproxy' v0.2.3 on Arch Linux using the following method:

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --without-mozjs || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}

I'm unfortunately receiving the following error message, which I'm
wondering how to overcome:

creating kde.la                                                           

(cd .libs && rm -f kde.la && ln -s ../kde.la kde.la)
/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 -march=i686 -mtune=generic -O2
-pipe -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 -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 -march=i686 -mtune=generic -O2
-pipe -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
`/tmp/yaourt-tmp-chris/aur-libproxy/libproxy/src/libproxy-0.2.3/src/plugins'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp/yaourt-tmp-chris/aur-libproxy/libproxy/src/libproxy-0.2.3/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/yaourt-tmp-chris/aur-libproxy/libproxy/src/libproxy-0.2.3/src'
make: *** [all-recursive] Error 1

Original issue reported on code.google.com by Chris.G...@gmail.com on 22 Feb 2009 at 3:44

GoogleCodeExporter commented 9 years ago
This has been fixed in svn trunk already.

Apply the patch
http://libproxy.googlecode.com/issues/attachment?aid=1114475666710557513&name=li
bproxy-0.2.3-dbus.patch
to your tree or try the latest svn version.

Original comment by dominiqu...@gmail.com on 24 Feb 2009 at 7:53