GNU/Linux i686: PreludeList.init: empty list

I’d like to build nhc98 1.22 [1] on i686 without a Haskell compiler. ‘make’ fails with the following (also, see [2]): sh /home/tester/nhc98/nhc98-1.22/targets/ix86-Linux/hmake3.config PreludeList.init: empty list PreludeList.init: empty list PreludeList.init: empty list make[1]: *** [config] Error 255 make[1]: Leaving directory `/home/tester/nhc98/nhc98-1.22/src/hmake' make: *** [targets/ix86-Linux/hmake-gcc] Error 2 Any ideas? I’m also attaching the output of ‘./configure’. Should I provide more information? Configuring for nhc98... [ v1.22 (2010-07-09) ] -------- Looking for already-installed Haskell compilers: Found C compiler: /usr/bin/gcc C compiler version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Looking for hbc... (not found) Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc. Looking for ghc... (not found) Looking for nhc98... (not found) I am guessing that you want to use gcc to build hmake. Now I'm creating targets/ix86-Linux/hmake3.config for your installation. Done. -------- Configuration report for nhc98. (You can re-run configure to change settings before proceeding.) You wish (eventually) to install the following components in these locations: (Installation directories are not created/checked at this stage.) Final install root: /usr/local nhc98 binaries/libs: /usr/local/lib/nhc98/ix86-Linux hmake binaries: /usr/local/lib/hmake/ix86-Linux Interfaces/includes: /usr/local/include/nhc98 Scripts: /usr/local/bin Man pages: /usr/local/man/man1 Html documents: (none) Now we check/create your build directories: Config directory: targets/ix86-Linux Build directory root: /home/tester/nhc98/nhc98-1.22/targets (exists) Object files build in: /home/tester/nhc98/nhc98-1.22/targets/ix86-Linux (exists) Executables and libs: /home/tester/nhc98/nhc98-1.22/lib/ix86-Linux (created) Toolchain: host compiler: gcc host strip: strip cabal-parse: /home/tester/nhc98/nhc98-1.22/script/cabal-parse I am guessing you will build nhc98 with: gcc backend compiler option: -m32 backend linker option: -m32 nhc98comp uses RTS delimiters? yes This machine's endian-ness is: -DLOW_BYTE_FIRST (detected) Executables need .exe suffix? no (detected) Testing for the curses library: -ltermcap -lcurses (detected) Testing for the readline library: no (detected) Reading /usr/include/errno.h: updated DErrNo.hs Testing for FunnelWeb: no (detected) Default heap for compiled programs is: 100000 words (cached) Adding Makefile config script to /home/tester/nhc98/nhc98-1.22/lib/ix86-Linux... cat: targets/ix86-Linux/ghcsym: No such file or directory Adding build scripts to /home/tester/nhc98/nhc98-1.22/script... nhc98 hmake hmake-config hi greencard nhc98-pkg hsc2hs cpphs Creating src/runtime/nhc98heap.c ... Configuring src/compiler98/Building.hs ... Updating targets/ix86-Linux/hmake3.config... Saving current configuration in targets/ix86-Linux/config.cache Done. [1] http://www.haskell.org/nhc98/nhc98src-1.22.tar.gz [2] http://www.haskell.org/pipermail/nhc-bugs/2013-October/000554.html
participants (1)
-
Nikita Karetnikov