Subject: Still can't compile /crypto/dist/heimdal
To: None <current-users@netbsd.org>
From: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
List: current-users
Date: 03/17/2001 10:56:51
[Platform = PowerMac 8600/250]

I still can't compile heimdal libs, from which many other pieces of the
userland depend.

In fact, my guess is that make includes does _not_ generate appropriate
header files from lex/yacc, perhaps when making includes for libcrypto :

> make -k build
> Build started at: Sat Mar 17 09:30:01 CET 2001
> (cd /usr/src/etc && make distrib-dirs)
> install  -d -o root -g wheel -m 755 /usr/build
> mtree -def mtree/NetBSD.dist -p /usr/build/ -u
> cd /usr/build; rm -f sys; ln -s usr/src/sys sys
> (cd /usr/src/share/mk && make install)
> make -m /usr/build/usr/share/mk obj
[... OK for make obj]
> make -m /usr/build/usr/share/mk includes
[... OK for make includes until :]
> includes ===> lib/libcom_err
> cc -O -I. -I/usr/src/lib/libcom_err/compile_et/../../../include/heimdal
> -I/usr/src/lib/libroken/obj.macppc -I/usr/src/lib/libcom_err/compile_et/
>     ../../../crypto/dist/heimdal/lib/com_err
> -I/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/
>     lib/roken -DHAVE_CONFIG_H -c -o compile_et.lo
> /usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/
>     lib/com_err/compile_et.c
>
> /usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/
>     lib/com_err/compile_et.c:42: parse.h: No such file or directory
>
> *** Error code 1 (continuing)
> cc [...] /usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/
>     lib/roken/print_version.c
> /usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/
>  lib/roken/print_version.c:40: print_version.h: No such file or directory
> *** Error code 1 (continuing)


1- my sources are from Friday 15 at 13:00 GMT
2- I have the 1.5.S kernel build from those sources
3- I built and installed in the userland "critical" utilities (make, libc,
egcs, lex, yacc, xlint, except compile_et which does obviously not compile,
since it's the very same problem)
4- I made cleandir, rm -rf'ed everything in /usr/obj and /usr/release, and
configured /etc/mk.conf this way :

> OBJMACHINE=YES
> MKOBJDIRS=YES
> NOCLEANDIR=yes
> DESTDIR=/usr/build
> RELEASEDIR=/usr/release
> #BUILD=YES     #
> #UPDATE=YES    # commented out => rebuild

Now, I'm desperate, I don't know what to do.....

Thanks for any help.

-- 
Xavier HUMBERT  -  Systemes et Reseaux     |     labo-info@injep.fr
INJEP                                      |     humbert@injep.fr