[621] in Kerberos-V5-bugs
GNU configure: making in subdir breaks krb5B4-2
daemon@ATHENA.MIT.EDU (Jonathan Stone)
Thu Aug 11 23:02:01 1994
Date: Thu, 11 Aug 1994 20:01:54 -0700
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
To: krb5-bugs@MIT.EDU
From the HOW_TO_BUILD file:
>
> 1) cd /u1/krb5/pmax
> 2) ../src/configure
> 3) make
>
>That's all there is to it!
When I tried *exactly* this, on a pmax -- except with a different
path to krb5 source, and invoking ../src/configure with
--with-cc=gcc --with-cc-opt="-g -O",
make (with gnu make 3.71) failed.
The problem is that the Makefiles under lib/crypto depend on
cryptoconf.o. Yet the rules in those makefiles, built by GNU
configure, explicitly say that cryptoconf.o should be in the source
tree (i.e., in /u1/krb5/src/lib/crypto/cryptoconf.o) rather than in
the pmax build tree (i.e., in /u1/krb5/pmax/lib/crypto/cryptoconf.o)
Similarly, the makefiles under lib/ccache (e.g., ccahe//stdio, and
lib/ fail.
Enclosed is the output of "egrep -e 'making|gmake'" of a log
of the make. I don't grok GNU Configure enough to fix it.
--encl.
making in util...
making in util/unifdef...
making in util/et...
making in util/ss...
making in include...
making in include/krb5...
making in include/kerberosIV...
making in lib...
making in lib/krb5...
making in lib/krb5/error_tables...
making in lib/krb5/asn.1...
echo making all in lib/krb5/asn.1/
making all in lib/krb5/asn.1/
gmake CCOPTS=-O\ -g CC=gcc CURRENT_DIR=lib/ CCOPTS=-O\ -g CC=gcc CURRENT_DIR=lib/krb5/ CCOPTS=-O\ -g CC=gcc CURRENT_DIR=lib/krb5/asn.1/ -k -f Makefile.sane CCOPTS="-O -g" CC="gcc" CURRENT_DIR=lib/krb5/asn.1/ all
making in lib/krb5/ccache...
making in lib/krb5/ccache/file...
gmake[4]: *** No way to make target `ccbase.o'.
gmake[4]: *** No way to make target `ccdefault.o'.
gmake[4]: *** No way to make target `ccdefops.o'.
gmake[4]: Target `all' not remade because of errors.
making in lib/krb5/ccache/stdio...
making in lib/krb5/keytab...
making in lib/krb5/keytab/file...
gmake[4]: *** No way to make target `ktadd.o'.
gmake[4]: *** No way to make target `ktbase.o'.
gmake[4]: *** No way to make target `ktdefault.o'.
gmake[4]: *** No way to make target `ktfr_entry.o'.
gmake[4]: *** No way to make target `ktremove.o'.
gmake[4]: *** No way to make target `read_servi.o'.
gmake[4]: Target `all' not remade because of errors.
gmake[3]: *** [all] Error 1
making in lib/krb5/krb...
making in lib/krb5/rcache...
making in lib/krb5/free...
making in lib/krb5/os...
making in lib/krb5/posix...
making in lib/kdb...
making in lib/des425...
making in lib/krb425...
making in lib/crypto...
making in lib/crypto/des...
gmake[3]: *** No way to make target `cryptoconf.o'.
gmake[3]: Target `all' not remade because of errors.
making in lib/crypto/crc32...
gmake[3]: *** No way to make target `cryptoconf.o'.
gmake[3]: Target `all' not remade because of errors.
making in lib/crypto/md4...
gmake[3]: *** No way to make target `cryptoconf.o'.
gmake[3]: Target `all' not remade because of errors.
making in lib/crypto/md5...
gmake[3]: *** No way to make target `cryptoconf.o'.
gmake[3]: Target `all' not remade because of errors.
making in lib/crypto/os...
gmake[3]: *** No way to make target `cryptoconf.o'.
gmake[3]: Target `all' not remade because of errors.
gmake[2]: *** [all] Error 1
making in lib/gssapi...
making in lib/gssapi/generic...
making in lib/gssapi/krb5...
making in kdc...
making in admin...
making in admin/create...
making in admin/destroy...
making in admin/edit...
making in admin/stash...
making in admin/aname...
making in kadmin...
making in kadmin/client...
making in kadmin/kpasswd...
making in kadmin/server...
making in slave...
making in clients...
making in clients/klist...
making in clients/kinit...
making in clients/kdestroy...
making in clients/ksu...
making in appl...
making in appl/sample...
making in appl/sample/sclient...
making in appl/sample/sserver...
making in appl/simple...
making in appl/simple/client...
making in appl/simple/server...
making in appl/user_user...
making in appl/bsd...
making in appl/gss-sample...
making in appl/telnet...
making in appl/telnet/libtelnet...
making in appl/telnet/telnet...
making in appl/telnet/telnetd...
making in appl/popper...
making in appl/movemail...
making in appl/mailquery...