[7490] in Kerberos

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

Beta6 - "make check" fails on SunOS 4.1.4

daemon@ATHENA.MIT.EDU (perrine tom)
Sat Jun 15 00:24:40 1996

To: kerberos@MIT.EDU
Date: 14 Jun 1996 23:10:17 GMT
From: tep@pauline.sdsc.edu (perrine tom)


SunOS 4.1.4, gcc 2.7.2, Sun's own make,
./configure  --prefix=/usr/local/apps/krb5b6 --with-cc=gcc --with-krb4

After a clean configure run, and a clean make, "make check" fails with
a Makefile syntax error:

    % make check
    checking in util...
    checking in util/et...
    checking in util/ss...
    checking in util/profile...
    checking in util/pty...
    checking in include...
    checking in include/krb5...
    checking in include/kerberosIV...
    checking in lib...
    checking in lib/crypto...
    checking in lib/crypto/des...
    gcc -o destest destest.o process_ky.o key_sched.o\
    ../cryptoconf.o ../des_crc.o  ./../../../lib/libkrb5.a ./../../../lib/libcrypto.a ./../../../util/et/libcom_err.a -lnsl  -DHAVE_LIBNSL=1  -DKRB5_KRB4_COMPAT -I./../../../include -I../../../include -I./../../../include/krb5 -I../../../include/krb5  
    gcc: key_sched.o../cryptoconf.o: No such file or directory
    *** Error code 1
    make: Fatal error: Command failed for target `destest'
    Current working directory /projects/security/krb5b6/krb5-beta6/SunOS4.1.4/lib/crypto/des
    *** Error code 1
    make: Fatal error: Command failed for target `check-unix'
    Current working directory /projects/security/krb5b6/krb5-beta6/SunOS4.1.4/lib/crypto
    *** Error code 1
    make: Fatal error: Command failed for target `check-unix'
    Current working directory /projects/security/krb5b6/krb5-beta6/SunOS4.1.4/lib
    *** Error code 1
    make: Fatal error: Command failed for target `check-unix'


The problem is in the generated Makefile in lib/crypto/des, two lines
are missing spaces before the '\':

183c183
< 	$(CC) -o $@ t_verify.$(OBJEXT) process_ky.o  key_sched.o\
---
> 	$(CC) -o $@ t_verify.$(OBJEXT) process_ky.o  key_sched.o \
187c187
< 	$(CC) -o $@ destest.$(OBJEXT) process_ky.o key_sched.o\
---
> 	$(CC) -o $@ destest.$(OBJEXT) process_ky.o key_sched.o \

It appears that this is a problem inherited from the Makefile.in.

I guess its a bug in Sun's "make" that the whitespace on the next line
is not inserted as a single space?
-- 
Tom E. Perrine (tep@SDSC.EDU) | San Diego Supercomputer Center 
http://www.sdsc.edu/~tep/     | Voice: +1.619.534.5000
If you can read this, thank your System Administrator.
                               --<Thumbs Perigee>

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