[1733] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Problem configuring Krb5

daemon@ATHENA.MIT.EDU (Christopher M. O'Malley )
Fri Dec 1 16:08:58 1995

Date: Fri, 1 Dec 1995 16:04:55 -0500
From: omalley@CES.Teradyne.COM (Christopher M. O'Malley )
To: krb5-bugs@MIT.EDU
Cc: omalley@CES.Teradyne.COM


  Kerberos Gods..

    I am having trouble configuring Kerberos V5 beta on my system.  I'm
  attempting to compile it on a system running the Solaris 2.5 beta (how-
  ever I got the same error on a 2.4 machine).  The important bit is at
  the end of the following output of the ./configure command.  An error
  about not being able to run a test program while cross-compiling.  Any
  one seen this error before, what causes it, and what a possible fix/work
  around is?  I'd be grateful for a few pointers.
  
  				TIA,
  					omalley@ces.teradyne.com
  
  PS: I know this isn't a bug per-se, but I thought someone more adept at
      unix software engineering might have a quick solution to this.

--------------------------------------------------------------------------
## output from ./configure command below -- important part at the end of
## this dump.
--------------------------------------------------------------------------

# ./configure --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO
creating cache ./config.cache
CCOPTS is -gO
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
krb5-root is /home/krb5
built in krb4 support
checking for working const... no
checking for -lsocket... no
checking for -lnsl... no
updating cache ./config.cache
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in util
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
CCOPTS is -gO
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
checking for ar... false
checking for ar... false
updating cache .././config.cache
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in et
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
CCOPTS is -gO
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
checking for working const... (cached) no
checking for flex... lex
checking for -ll... no
setting LEXLIB to 
checking for bison... no
checking for byacc... no
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for ar... (cached) false
checking for ranlib... :
checking how to run the C preprocessor... /usr/ucb/cc -E
checking for yylineno declaration... ./configure: lex: not found
no
checking for sys_errlist declaration... no
checking for perror declaration... no
checking for strerror... no
checking for stdarg.h... yes
checking for stdlib.h... yes
updating cache ../.././config.cache
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in ss
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
CCOPTS is -gO
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
checking for flex... (cached) lex
checking for -ll... (cached) no
setting LEXLIB to 
checking for bison... no
checking for byacc... no
checking for mawk... (cached) nawk
checking for ar... (cached) false
checking for ar... (cached) false
checking for ranlib... (cached) :
checking how to run the C preprocessor... (cached) /usr/ucb/cc -E
checking for yylineno declaration... (cached) no
checking for strdup... no
checking for mawk... (cached) nawk
checking for dirent.h... yes
checking if O_RDONLY is needed from sys/fcntl.h... no
checking for union wait... no
checking for sigprocmask... no
checking for use of sigprocmask... no
checking return type of signal handlers... int
checking for stdarg.h... (cached) yes
updating cache ../.././config.cache
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in profile
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
CCOPTS is -gO
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
checking for working const... (cached) no
checking for ar... (cached) false
checking for ar... (cached) false
checking for ranlib... (cached) :
checking for mawk... (cached) nawk
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in include
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
CCOPTS is -gO
krb5-root is /home/krb5
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
configuring in krb5
running /bin/sh ./configure  --with-cc=/usr/ucb/cc --with-krb5-root=/home/krb5 
--with-ccopts=-gO --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
CCOPTS is -gO
krb5-root is /home/krb5
CC=/usr/ucb/cc
LD defaults to /usr/ucb/cc
CPPOPTS defaults to 
checking for flex... (cached) lex
checking for -ll... (cached) no
setting LEXLIB to 
checking for a BSD compatible install... ../../config/install-sh -c
checking how to run the C preprocessor... (cached) /usr/ucb/cc -E
checking for yylineno declaration... (cached) no
checking for strdup... (cached) no
checking for labs... no
checking for dirent.h... (cached) yes
checking if O_RDONLY is needed from sys/fcntl.h... (cached) no
checking for union wait... (cached) no
checking for termios.h... yes
checking for tcsetattr... no
checking for flock.h... yes
found flock.h for non-posix locks
checking POSIX signal handlers... no
checking for string.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for sys/stat.h... yes
checking for macsock.h... yes
checking for stdarg.h... (cached) yes
checking for setvbuf... no
checking for ANSI stdio... checking whether cross-compiling... yes
yes
checking prototype support... no
checking prototypes in structs... no
checking void... no
checking for working const... (cached) no
>> checking size of short... configure: error: can not run test program while 
>> cross compiling
>> configure: error: ./configure failed for krb5
>> configure: error: ./configure failed for include
#

home help back first fref pref prev next nref lref last post