fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Trouble building Fetchmail with GSSAPI

2004-06-07 14:48:56
Rob wrote:

-----Original Message-----
From: fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org
[mailto:fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org] On Behalf 
Of John Rudd

[ Summary: Kerberos 1.2.7, RedHat 6.1, Kernel 2.2.13, GCC 2.91 ]
<---SNIP--->
checking for gss_init_sec_context in -lgssapi_krb5... no
configure: error: could not find libgssapi_krb5 which is needed for
GSSAPI support

Check the tail of config.log as it'll detail what the exact error is.
I've seen this before and it's nearly always something silly.  You'll
possibly have to add /local/lib to the library path (LDFLAGS) and
/local/include to the include search path ("-L/local/lib
-I/local/include" - possibly via the env variable CFLAGS).


config.log had both some ssl errors (which is odd, because the configure
output said it found SSL in /usr/local/ssl), and the same kerberos
error.

So, I set those things (and -L/usr/local/ssl/lib and
-I/usr/local/ssl/include) into LDFLAGS and CFLAGS.  That made it so that
configure would finish (with makedepend errors, but it says I can ignore
those).  Now I get this when I do a make:

# make
expect conflicts:  2 shift/reduce
bison -y -d  ./rcfile_y.y
conflicts:  2 shift/reduce
mv y.tab.c rcfile_y.c
mv -f y.tab.h rcfile_y.h
cd . # && /bin/sh /home/jrudd/Src/fetchmail-6.2.5/missing --run
autoheader
echo timestamp> ./stamp-h.in
gcc -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/local/share/locale\" -c  -I. -I.
-I./intl -I./intl -I/usr/local/ssl/include -I/usr/kerberos/include
-L/local/lib -L/usr/local/ssl/lib -I/local/include
-I/usr/local/ssl/include -I/local/include rcfile_y.c
flex  ./rcfile_l.l
sed <lex.yy.c >rcfile_l.c -e "/lex\\.yy\\.c/s//rcfile_l.c/"
rm -f lex.yy.c
gcc -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/local/share/locale\" -c  -I. -I.
-I./intl -I./intl -I/usr/local/ssl/include -I/usr/kerberos/include
-L/local/lib -L/usr/local/ssl/lib -I/local/include
-I/usr/local/ssl/include -I/local/include rcfile_l.c
gcc -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/local/share/locale\" -c  -I. -I.
-I./intl -I./intl -I/usr/local/ssl/include -I/usr/kerberos/include
-L/local/lib -L/usr/local/ssl/lib -I/local/include
-I/usr/local/ssl/include -I/local/include socket.c
socket.c: In function `SSLOpen':
socket.c:918: storage size of `tv' isn't known
make: *** [socket.o] Error 1


I can find timeval in /usr/include/bits/time.h, but even if I add that
as an include into fetchmail.h, I still get the same error.


Oh, version of fetchmail would be useful (you've told us everything else
:>).


fetchmail-6.2.5