[cvs-nhc98] Building source distributions

Sven Panne sven.panne at aedion.de
Sun Mar 4 08:04:38 EST 2007


I'm having trouble building source distributions: After the ./configure 
stage, "make hmakeDist" seems to work, but the "srcDist" target has problems. 
First of all, it seems to depend on "basic", but this is not recorded in the 
Makefile. After fixing that and a looong time, "make srcDist" fails with:

=================================================
...
make[1]: Entering directory `/home/panne/nhc98/src/interpreter'
rm -rf *.o /home/panne/nhc98/targets/x86_64-Linux/obj/interpreter
rm -f *.hi
rm -f *.hc *.c
/home/panne/nhc98/script/hmake -hc=/home/panne/nhc98/script/nhc98 -I../hmake -C 
HInteractive.hs
/home/panne/nhc98/script/nhc98   -C  -I../hmake  -package base -package 
readline -DUSE_READLINE=1 -lreadline -c -cpp  -o LexModule.hc LexModule.hs
Warning: -package readline interfaces not found.
Warning: -package readline library  not found.
/home/panne/nhc98/script/nhc98   -C  -I../hmake  -package base -package 
readline -DUSE_READLINE=1 -lreadline -c -cpp  -o SimpleLineEditor.hc 
SimpleLineEditor.hs
Warning: -package readline interfaces not found.
nhc98comp: user error (Can't open any of:
 ./System/Console/Readline.hi
 ../hmake/System/Console/Readline.hi
 /home/panne/nhc98/include/packages/base/System/Console/Readline.hi
 /home/panne/nhc98/include/System/Console/Readline.hi
 when trying to read System.Console.Readline.
)

make[1]: *** [cfiles] Fehler 1
make[1]: Leaving directory `/home/panne/nhc98/src/interpreter'
make: *** [targets/hmakeC] Fehler 2
=================================================

Am I doing something wrong? Or is srcDist currently simply broken?

Cheers,
   S.


More information about the Cvs-nhc98 mailing list