curl-library
Re: problems compling latest curl code.
Date: Wed, 13 Jul 2011 15:22:17 -0700
On 07/13/2011 03:14 PM, Ben Greear wrote:
> On 07/13/2011 01:57 PM, Daniel Stenberg wrote:
>> On Wed, 13 Jul 2011, Ben Greear wrote:
>>
>>> I merged with upstream in my hacked repository, and it seems there is
>>> a recursive include of gssapi.h. Maybe this should be re-named
>>> curl-gssapi.h?
>>
>> Ack. Fix just pushed. Thanks for your report!
>>
>
> I see this on Fedora Core 5. I do have a /usr/include/gssapi/gssapi.h,
> but maybe the configure logic isn't working right? I'll poke a bit more...
Ok, on all systems, it seems I am not configuring for gssapi:
[greearb_at_build-32 curl-git]$ grep GSS config.log
configure:19125: checking if GSSAPI support is requested
GSSAPI support: no (--with-gssapi)
But, on FC5, there is no /usr/include/gssapi.h, so the
build fails.
Probably it just shouldn't try to compile any of the gssapi
code if it's not enabled by configure?
My configure command is:
(cd ${CURL_VER}; ./configure --enable-warnings --enable-debug --enable-werror --enable-ares=${PROG_HOME}/l4libs/c-ares.ct)
Thanks,
Ben
>
> gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib
> -I../lib -I/home/greearb/git/btbits/l4libs/c-ares.ct/include
> -DDEBUGBUILD -DCURLDEBUG -I/usr/kerberos/include -g -O0 -pedantic -Wall
> -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline
> -Wnested-externs -Wmissing-declarations -Wmissing-prototypes
> -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
> -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
> -Wdeclaration-after-statement -Wno-system-headers -Werror -MT
> curl_gssapi.lo -MD -MP -MF .deps/curl_gssapi.Tpo -c curl_gssapi.c -fPIC
> -DPIC -o .libs/curl_gssapi.o
> gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib
> -I../lib -DUNITTESTS -I/home/greearb/git/btbits/l4libs/c-ares.ct/include
> -DDEBUGBUILD -DCURLDEBUG -I/usr/kerberos/include -g -O0 -pedantic -Wall
> -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline
> -Wnested-externs -Wmissing-declarations -Wmissing-prototypes
> -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef
> -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
> -Wdeclaration-after-statement -Wno-system-headers -Werror -MT
> libcurlu_la-file.lo -MD -MP -MF .deps/libcurlu_la-file.Tpo -c file.c
> -fPIC -DPIC -o .libs/libcurlu_la-file.o
> In file included from curl_gssapi.c:23:
> curl_gssapi.h:34:22: error: gssapi.h: No such file or directory
> In file included from curl_gssapi.c:23:
> curl_gssapi.h:40: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'Curl_gss_init_sec_context'
> curl_gssapi.c:25: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'Curl_gss_init_sec_context'
> make[3]: *** [curl_gssapi.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
>
>
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-07-14