AW: Difficulties compiling hmake / HaXml

Okay, I tried to ignore the error and went on with "make install" (after "./configure" and "make"). However, again an error message appears (see above), and there is no .exe output. What can I do about this now? Christian C:\test-hmake\hmake-2.02>make install cd src/hmake; make HC=ghc install make[1]: Entering directory `/test-hmake/hmake-2.02/src/hmake' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/test-hmake/hmake-2.02/src/hmake' cd src/interpreter; make HC=ghc install make[1]: Entering directory `/test-hmake/hmake-2.02/src/interpreter' /test-hmake/hmake-2.02/script/hmake -ghc HInteractive -d/test-hmake/hmake-2.02/t argets/ix86-CYGWIN_NT-4.0/obj/interpreter Fail: Can't find module Posix in . Or in standard libraries at /ghc/ghc-4.08.2/lib/imports/std /ghc/ghc-4.08.2/lib/imports/data /ghc/ghc-4.08.2/lib/imports/lang /ghc/ghc-4.08.2/lib/imports/posix /ghc/ghc-4.08.2/lib/imports/net /ghc/ghc-4.08.2/lib/imports/num /ghc/ghc-4.08.2/lib/imports/text /ghc/ghc-4.08.2/lib/imports/util /ghc/ghc-4.08.2/lib/imports/win32 /ghc/ghc-4.08.2/lib/imports/concurrent Asked for by: HmakeConfig.hs [Check settings of -I or -P flags?] Stop - hmake dependency error. make[1]: *** [/test-hmake/hmake-2.02/lib/ix86-CYGWIN_NT-4.0/HInteractive.exe] Er ror 1 make[1]: Leaving directory `/test-hmake/hmake-2.02/src/interpreter' make: *** [targets/ix86-CYGWIN_NT-4.0/hmake_g] Error 2

Okay, I tried to ignore the error and went on with "make install" (after "./configure" and "make"). However, again an error message appears (see above), and there is no .exe output. What can I do about this now?
* Either try the hack to READLINE="" in lib/ix86-CYGWIN_NT-4.0/config, then 'make install'; * Or try './configure --install' instead of 'make install'. * Or, best of all, apply the patch below to the configure script, then re-run the whole sequence of ./configure; make; make install. Regards, Malcolm diff -u -r1.18 configure --- configure 2001/02/16 16:09:37 1.18 +++ configure 2001/03/28 14:23:57 @@ -247,15 +247,23 @@ then echo "You gave the following extra build options: $BUILDOPTS" fi - echo -n "Testing for the readline library: " - echo 'main(){;}' >rd.c - if ${CC-gcc} -o rd.out rd.c -lreadline >/dev/null 2>&1 - then echo 'yes (detected)' - READLINE="-DUSE_READLINE=1 -lreadline" - else echo 'no (detected)' - READLINE="" - fi - rm -f rd.out rd.c + echo -n "Testing for the readline library: " + case $OS in + CYGWIN*) echo ' cannot use' + READLINE="" ;; + *) echo 'main(){;}' >rd.c + if ${CC-gcc} -o rd.out rd.c -lreadline >/dev/null 2>&1 + then echo ' yes (detected)' + READLINE="-DUSE_READLINE=1 -lreadline" + else if ${CC-gcc} -o rd.out rd.c -lreadline -lncurses >/dev/null 2>&1 + then echo ' yes (detected)' + READLINE="-DUSE_READLINE=1 -lreadline -lncurses" + else echo ' no (detected)' + READLINE="" + fi + fi + rm -f rd.c rd.out ;; + esac if [ "$EXE" = "" ] then echo "Executables need .exe suffix? no (detected)"
participants (2)
-
Lescher Christian
-
Malcolm Wallace