[6895] in Kerberos
Re: kerberos & solaris 2.5 ?
daemon@ATHENA.MIT.EDU (Paul Pomes)
Fri Mar 15 14:35:00 1996
To: kerberos@MIT.EDU
Date: 15 Mar 1996 17:02:43 GMT
From: p-pomes@Qualcomm.com (Paul Pomes)
tep@galt.sdsc.edu (Tom Perrine) writes:
>Hmmm. How did you configure KRB5B5 for Solaris? I get:
>
>.....whole bunch of stuff.....
>
>configuring in profile
>running /bin/sh ./configure --with-ccopts=-i
>--with-krb5-root=/usr/sdsc --prefix=/usr/sdsc
>--cache-file=../.././config.cache --srcdir=.
>loading cache ../.././config.cache
>CC defaults to cc
>CCOPTS is -i
>LD defaults to cc
>CPPOPTS defaults to
>built in krb4 support
>checking for working const... (cached) no
>checking for -lsocket... (cached) no
>checking for -lnsl... (cached) no
>checking for working const... (cached) no
>checking for ar... (cached) ar cqv
>checking for ar... (cached) ar cruv
>checking for ranlib... (cached) ranlib
>checking whether cross-compiling... yes
>checking size of short... configure: error: can not run test program
>while cross compiling
>configure: error: ./configure failed for profile
>configure: error: ./configure failed for util
Very interesting. My version of krb5-b5 only has cross-compilation
checks in ./appl/bsd, ./appl/telnet/telnet, ./appl/kftp/client,
./include/krb5, ./lib/gssapi/generic, ./lib/krb4, and ./tests/resolve,
but not in util/profile.
The cross-compilation check is done with a short C program:
#line 929 "configure"
#include "confdefs.h"
main(){return(0);}
if either the compilation or execution fails, then configure assumes
a cross-compilation environment. I would verify that the real C compiler
(and not /usr/ucb/cc) is in your search path. Just for another benchmark,
here are my arguments to configure for Solaris 2.4:
./configure --with-krb5-root=/usr/local --with-krb4=/usr/local
'--with-ccopts=-I/usr/local/include -g'
'--with-netlib=-L/usr/local/lib -lresov -l44bsd -lsocket -lnsl'
/pbp