
Ross, Thanks. But, now I get an error "No rule to make target '../hsc2hs/Main.hs'... It only happens with a fresh tree. If you already have build hugs once successfully, then the error doesn't occur. See this log: Configuring cpphs-1.2... configure: looking for package tool: hugs near compiler in ..\src\ffihugs configure: found package tool in ..\src\hugs.exe configure: Using install prefix: C:\haskell-toolchain-a\msys-mingw\local configure: Binaries installed in: C:\haskell-toolchain-a\msys-mingw\local\Haskel l\bin configure: Libraries installed in: C:\haskell-toolchain-a\msys-mingw\local\Haske ll\hugs\packages\cpphs configure: Private binaries installed in: C:\haskell-toolchain-a\msys-mingw\loca l\cpphs-1.2 configure: Data files installed in: C:\Program Files\Common Files\cpphs-1.2 configure: Using compiler: ..\src\ffihugs configure: Compiler flavor: Hugs configure: Compiler version: configure: Using package tool: ..\src\hugs.exe configure: Using ar found on system at: C:\haskell-toolchain-a\msys-mingw\mingw\ bin\ar.exe configure: Using haddock found on system at: c:\haskell-toolchain-A\haddock- 0.7\ haddock.exe configure: No pfesetup found configure: Using ranlib found on system at: C:\haskell-toolchain-a\msys-mingw\mi ngw\bin\ranlib.exe configure: Using runghc found on system at: c:\haskell-toolchain-A\ghc- 6.4.2\bin \runghc.exe configure: Using runhugs found on system at: c:\projects\hugs98\src\runhugs.exe configure: Using happy: c:\haskell-toolchain-A\happy-1.15\happy.exe configure: Using alex: c:\haskell-toolchain-A\alex-2.0.1\alex.exe configure: Using hsc2hs: c:\haskell-toolchain-A\ghc-6.4.2\bin\hsc2hs.exe configure: No c2hs found configure: No cpphs found configure: No greencard found cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs build --verbose Preprocessing library cpphs-1.2... Preprocessing executables for cpphs-1.2... Building cpphs-1.2... /bin/rm -f -r ../hugsdir/packages/cpphs/autogen mkdir -p ../hugsdir/programs mv ../hugsdir/packages/cpphs/programs/cpphs ../hugsdir/programs rmdir ../hugsdir/packages/cpphs/programs (echo '@echo off'; \ echo "set rootdir=`cd ..; src/runhugs -Plibraries/bootlib libraries/pwd.hs`"; \ echo '%rootdir%/src/runhugs -P%rootdir%/libraries/bootlib %rootdir%/hugsdir/pro grams/cpphs/Main.hs %*') >tools/cpphs.bat make[1]: *** No rule to make target `../hsc2hs/Main.hs', needed by `../hugsdir/p rograms/hsc2hs/Main.hs'. Stop. make[1]: Leaving directory `/c/projects/hugs98/libraries' make: *** [all] Error 2