Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xmlrpc-c fails to build with new curl



Hi,

trying to build xmlrpc-c fails with:
xmlrpc_curl_transport.c:86:24: error: curl/types.h: No such file or directory

gcc -c -o xmlrpc_curl_transport.o 
-I/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35 
-I/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35/include 
-I/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35/include 
-I/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35/lib/util/include 
-I/opt/nb/include -O2 -pipe -I/opt/nb/include -I/usr/include/krb5 
-I/usr/include -DNDEBUG -Wall -Wundef -Wimplicit -W -Winline 
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common 
-DNDEBUG -Wall -Wundef -Wimplicit -W -Winline -Wmissing-declarations 
-Wstrict-prototypes -Wmissing-prototypes -fno-common -DNDEBUG -Wall -Wundef 
-Wimplicit -W -Winline -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -fno-common   xmlrpc_curl_transport.c
xmlrpc_curl_transport.c:86:24: error: curl/types.h: No such file or directory
gmake[2]: *** [xmlrpc_curl_transport.o] Error 1
gmake[2]: Leaving directory 
`/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35/lib/curl_transport'
gmake[1]: *** [curl_transport/all] Error 2
gmake[1]: Leaving directory 
`/u/NetBSD/pkgobj/textproc/xmlrpc-c/work/xmlrpc-c-1.16.35/lib'
gmake: *** [lib/all] Error 2
*** Error code 2

Stop.
make: stopped in /u/NetBSD/pkgsrc/textproc/xmlrpc-c
*** Error code 1

Stop.

curl is:

pkginfo curl
Information for curl-7.21.7:

Comment:
Client that groks URLs

Requires:
libidn>=1.20nb1

Required by:
cmake-2.8.4nb1
stellarium-0.10.6nb2
xmlrpc-c-ss-1.16.35
[...]

I got xmlrpc-c to compile by renaming all instances #including <curl/types.h>
by <curl/typecheck-gcc.h>. Don't know if this the right thing to do, but cmake,
which requires xmlrpc-c seems to work ok...

Kurt


Home | Main Index | Thread Index | Old Index