Subject: (apparently) missing header file
To: one more medicated peaceful moment <dive@endersgame.net>
From: Mark Davies <mark@MCS.VUW.AC.NZ>
List: current-users
Date: 06/21/2000 17:13:03
> i updated to the latest cvs tree about an hour ago, and make build died
> here:
> dependall ===> libkstream
> mkdep -a -I/usr/include/kerberosIV /usr/src/lib/libkstream/kstream.c
> /usr/src/lib/libkstream/kstream-des.c
> /usr/src/lib/libkstream/kstream-des.c:22: des.h: No such file or directory
> mkdep: compile failed.
Same thing happened to me. The mkdep of libkstream is trying to use
/usr/include/kerberosIV/des.h before it is installed.
If you go into lib/libcrypto and do a "make install" it will appear. But
first you will need to fix the Makefile in that directory as DESTDIR gets
added twice (as bsd.links.mk does it automatically). Patch is below:
Index: Makefile
===================================================================
RCS file: /src/cvs/netbsd/basesrc/lib/libcrypto/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 2000/06/20 06:00:33 1.3
+++ Makefile 2000/06/21 02:41:11
@@ -65,8 +65,8 @@
INCSDIR=/usr/include/openssl
-LINKS+= ${INCSDIR}/des.h ${DESTDIR}/usr/include/des.h
-LINKS+= ${INCSDIR}/des.h ${DESTDIR}/usr/include/kerberosIV/des.h
+LINKS+= ${INCSDIR}/des.h /usr/include/des.h
+LINKS+= ${INCSDIR}/des.h /usr/include/kerberosIV/des.h
# this rebuilds the `srcs.inc' and the .inc files it reads.
# note that we have no idea, rc5 or rsa here so we include
With that change I got a complete "make release" up to the actual making of
the release sets where the lists are not yet up-to-date:
(cd ../distrib/sets; make sets)
sh /src/crypto/src/distrib/sets/maketars -d /mnt/SAVE/crypto.base -t /mnt/SAVE/crypto.release/binary/sets
making base.tgz
pax: Unable to access ./usr/lib/libtelnet.so.2 <No such file or directory>
pax: Unable to access ./usr/lib/libtelnet.so.2.0 <No such file or directory>
making comp.tgz
pax: Unable to access ./usr/share/mk/bsd.crypto.mk <No such file or directory>
making etc.tgz
making games.tgz
making man.tgz
making misc.tgz
making text.tgz
sh /src/crypto/src/distrib/sets/makesums -t /mnt/SAVE/crypto.release/binary/setssh ../distrib/sets/makesums -t /mnt/SAVE/crypto.release/binary/kernel '*.gz'
libtelnet now has a higher version number, bsd.crypto.mk is defunct and the
crypto stuff isn't incorporated yet.
cheers
mark