I did some more research and have tried a few more things. Details
below ...
> I am trying to do a "make build" (also tried "make release") with.
> 1.5.1_ALPHA (i386).
>
> I receive this error:
> includes ===> lib/libcom_err
> cd /usr/src/lib/libcom_err/compile_et && make compile_et
> cc -O
> -I. -I/usr/src/lib/libcom_err/compile_et/../../../include/heimdal
> -I/usr/src/lib/libroken/obj
> -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
>
> Stop.
>
>
> If I understand correctly, this parse.h is created with lex or yacc.
So I did:
cd /usr/src/crypto/dist/heimdal/lib/com_err
yacc -d parse.y
mv y.tab.h
And I was able to do the "make compile_et" under
/usr/src/lib/libcom_err/compile_et
But then it stopped like:
rainier:/usr/src/lib/libcom_err/compile_et$ make compile_et
cc -O
-I. -I/usr/src/lib/libcom_err/compile_et/..
/../../include/heimdal -I/usr/src/lib/libroken/obj
-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 print_version.lo
/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
So I changed source to use full path:
#include "/usr/src/lib/libroken/print_version.h"
And it compiled.
But when I started again at /usr/src and did a "make release" it cleaned
up the directories -- so I lost my parse.h again!
How can I tell the Makefile
(/usr/src/crypto/dist/heimdal/lib/com_err/Makefile.??) to build the
parse.h file?
Or how can I tell "make build" (or "make release") to not clean up first?
How should I get print_version.c to reference a correct print_version.h?
Should I use the following?
#include "../../../../../lib/libroken/print_version.h"
Thanks for any suggestions or advice.
Jeremy C. Reed
http://www.reedmedia.net/