[5536] in Kerberos
Problems during Configuring KRB5 for Linux
daemon@ATHENA.MIT.EDU (Doddy Bathanaih)
Sat Jul 22 19:38:15 1995
To: kerberos@MIT.EDU
Date: 22 Jul 1995 22:44:41 GMT
From: bathanah@cs.umt.edu (Doddy Bathanaih)
I got source and crypto files and unpacked them in /doddy/d.krb5 directory.
so my directory sturcture is /doddy/d.krb5/src
All files are in this directory.
I changed configure file a little, mentioned C compiler and flag and changed
root dir to /doddy/d.krb5 (default is /krb5 )
Then I ran $linux> ./configure
The output is as follows :
loading cache ./config.cache
CC defaults to cc
LD defaults to cc
CPPOPTS defaults to
krb5-root defaults to /krb5
built in krb4 support
checking for working const... (cached) yes
checking for -lsocket... (cached) no
checking for -lnsl... (cached) no
creating ./config.status
creating pre.out
creating Makefile.out
creating post.out
sed: ./Makefile.in : file or directory not found <<---------
configuring in util
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
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) yes
checking for termios.h... yes
checking for tcsetattr... no
checking for flock.h... no
checking POSIX file locking -- structs and flags... no
checking POSIX signal handlers... yes
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... no
checking for stdarg.h... (cached) yes
checking for setvbuf... no
checking for ANSI stdio... checking whether cross-compiling... yes
yes
checking prototype support... yes
checking prototypes in structs... yes
checking void... yes
checking for working const... (cached) yes
checking size of short...can not run test program while cross compiling <<---
configure:error: ./configure failed for krb5
configure:error: ./configure failed for include
This is the output. I removed some lines in between and also marked where I
thought the errors might be..
I can't understand why it gave that error of "cannot run test program while
cross compiling while checking size of short "
It stopped at this point..
Also in documentation it mentioned that for building kerberos for multiple
platforms like linux, we have to do "synctree -s ../src -d ." before
running ./configure
I didn't do "synctree" becoz I couldn't find it even at athena-dist.mit.edu
site. Can anyone please let me know where I'm screwing this one.
Any pointers please...
My addr : bathanah@cs.umt.edu
Thanx a lot
doddy