compilation problems winXP

Hello, I'm trying to compile the c2hs-0.13.4 whitch ghc 6.4. OS: win-xp using cygwin. Here is what I've done:
./configure --enable-add-package make make says: ... ghc.exe: can't find file `sysdep/SysDep.hs' make[1]: *** [gendepend] Error 1 make[1]: Leaving directory `/home/sl/c2hs-0.13.4/base' .. 2HSConfig.hs toplevel/Main.hs toplevel/Version.hs ghc.exe: unknown package: ctk make[1]: *** [gendepend] Error 1 make[1]: Leaving directory `/home/sl/c2hs-0.13.4/c2hs' make: *** [depend] Error 2
Below is the generated output. Thanks for any help Stefan Lack ------------------------------------------------- ./configure --enable-add-package checking for hstags... no-hstags-available checking for ln... /usr/bin/ln checking for lndir... /usr/X11R6/bin/lndir checking for mv... /usr/bin/mv checking for sed... /usr/bin/sed checking for sh... /bin/bash checking for tar... /usr/bin/tar checking for touch... /usr/bin/touch checking for uname... /usr/bin/uname checking for ghc... /cygdrive/c/ghc/ghc-6.4/bin/ghc c$ ./configure --enable-add-package checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for ar... /usr/bin/ar checking for basename... /usr/bin/basename checking for cp... /usr/bin/cp checking for dirname... /usr/bin/dirname checking for find... /usr/bin/find checking for egrep... /usr/bin/egrep checking for head... /usr/bin/head checking for happy... no hecking version of ghc... 6.4 checking syslib for List... haskell98 checking syslib for Posix... not-found checking syslib for IOExts... lang selecting mkdependHS... /cygdrive/c/ghc/ghc-6.4/bin/ghc -M configure: creating ./config.status config.status: creating mk/config.mk config.status: creating base/base.build.conf configure: configuring in c2hs configure: running /bin/bash './configure' --prefix=/usr/local '--enable-add-pa ckage' --cache-file=/dev/null --srcdir=. checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for basename... /usr/bin/basename checking for expr... /usr/bin/expr checking for egrep... /usr/bin/egrep checking for head... /usr/bin/head checking for sed... /usr/bin/sed checking for mkdir... /usr/bin/mkdir checking for mv... /usr/bin/mv checking for ghc... /cygdrive/c/ghc/ghc-6.4/bin/ghc checking version of ghc... 6.4 configure: creating ./config.status config.status: creating toplevel/C2HSConfig.hs config.status: creating mk/config.mk config.status: creating c2hs-config config.status: creating c2hs.conf config.status: creating c2hs.spec config.status: executing default commands ******************************************** Configuration completed successfully. Now do "make" and get a cup of green tea ;-) ******************************************** --------------------------------------- $ make *** Selecting system-dependent code... make -C base/sysdep - --unix config make[1]: Entering directory `/home/sl/c2hs-0.13.4/base/sysdep' rm -f SysDep.hs /usr/bin/ln -s SysDepGHC6.hs SysDep.hs *** Configured for compilation system ghc6. make -C ../syntax - --unix -w config make[2]: Entering directory `/home/sl/c2hs-0.13.4/base/syntax' *** ghc6 supports rank-2 type variables; will be building `Parsers'. make[2]: Leaving directory `/home/sl/c2hs-0.13.4/base/syntax' rm -f SysDepPosix.hs /usr/bin/ln -s SysDepPosixUNAVAIL.hs SysDepPosix.hs make[1]: Leaving directory `/home/sl/c2hs-0.13.4/base/sysdep' *** Configuration successfully finished. *** Checking for the need to run a parser generator... make[1]: Entering directory `/home/sl/c2hs-0.13.4/c2hs' Makefile:67: warning: overriding commands for target `c2hs' ../c2hs/mk/c2hs.pck.mk:82: warning: ignoring old commands for target `c2hs' make[1]: Nothing to be done for `parsers'. make[1]: Leaving directory `/home/sl/c2hs-0.13.4/c2hs' *** Building dependency databases... make[1]: Entering directory `/home/sl/c2hs-0.13.4/base' rm -f .depend *** Generating dependencies for base... /cygdrive/c/ghc/ghc-6.4/bin/ghc -M -optdep-f -optdep.depend\ -package haskell98 -package lang -O -recomp -fno-warn-incomplete-patte rns -package-name ctk -iadmin -ierrors -igeneral -igraphs -istate -isyms -isynt ax -isysdep \ admin/BaseVersion.hs admin/Common.hs admin/Config.hs errors/Errors.hs general/ DLists.hs general/FNameOps.hs general/FileOps.hs general/FiniteMaps.hs general/G etOpt.hs general/Sets.hs general/UNames.hs general/Utils.hs graphs/Marks.hs stat e/CIO.hs state/DynArrays.hs state/State.hs state/StateBase.hs state/StateTrans.h s syms/Attributes.hs syms/Idents.hs syms/NameSpaces.hs syntax/Lexers.hs syntax/P arserMonad.hs syntax/Parsers.hs syntax/Pretty.hs sysdep/SysDep.hs sysdep/SysDepP osix.hs ghc.exe: can't find file `sysdep/SysDep.hs' make[1]: *** [gendepend] Error 1 make[1]: Leaving directory `/home/sl/c2hs-0.13.4/base' make[1]: Entering directory `/home/sl/c2hs-0.13.4/c2hs' Makefile:67: warning: overriding commands for target `c2hs' ../c2hs/mk/c2hs.pck.mk:82: warning: ignoring old commands for target `c2hs' rm -f .depend *** Generating dependencies for c2hs... /cygdrive/c/ghc/ghc-6.4/bin/ghc -M -optdep-f -optdep.depend\ -package haskell98 -package lang -O -recomp -fno-warn-incomplete-patte rns -package-conf ../base/base.build.conf -package ctk -package-name c2hs -ic - ichs -igen -istate -itoplevel \ c/C.hs c/CAST.hs c/CAttrs.hs c/CBuiltin.hs c/CLexer.hs c/CNames.hs c/CParser.h s c/CPretty.hs c/CTrav.hs chs/CHS.hs chs/CHSLexer.hs gen/CInfo.hs gen/GBMonad.hs gen/GenBind.hs gen/GenHeader.hs state/C2HSState.hs state/Switches.hs toplevel/C 2HSConfig.hs toplevel/Main.hs toplevel/Version.hs ghc.exe: unknown package: ctk make[1]: *** [gendepend] Error 1 make[1]: Leaving directory `/home/sl/c2hs-0.13.4/c2hs' make: *** [depend] Error 2 -- +++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++ GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
participants (1)
-
Stefan