Failed to build Hugs 2008-09-28 snapshot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Failed to build Hugs 2008-09-28 snapshot

leledumbo
I'm trying to build Hugs 2008-09-28 snapshot using MinGW 4.2.1-dw2, however it fails with messages below. I don't think the problem is in the C compiler, since it occurs when runhugs preprocesses Hugs libraries. Here's a few last lines from the output:

Preprocessing System/Cmd
Preprocessing System/Process
Preprocessing System/Process/Internals
Preprocessing System/Random
runhugs: Error occurred
ERROR "hugsdir/packages\directory\System\Directory.hs":366 - Undefined data constructor "UnsupportedOperation"


runhugs: Error occurred
ERROR "hugsdir/packages\base\Text\ParserCombinators\ReadP.hs":133 - Syntax error in type expression (unexpected `.')


runhugs: Error occurred
ERROR "hugsdir/packages\directory\System\Directory.hs":366 - Undefined data constructor "UnsupportedOperation"


echo timestamp for boot libraries >../hugsdir/.bootstamp
cd ../cpphs; HUGSFLAGS=-P{Hugs}/packages/\* HUGSDIR=../hugsdir ../src/runhugs -98 Setup.hs configure --verbose --hugs --prefix='/usr/local' --scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs --with-hugs=../src/hugs
runhugs: Error occurred
ERROR "../hugsdir/packages\base\System\Posix\Internals.hs" - Error while importing DLL "../hugsdir/packages\base\System\Posix\Internals.dll"


make[1]: *** [../hugsdir/programs/cpphs/Main.hs] Error 1
make[1]: Leaving directory `/d/Sources/hugs-2008-09-28/libraries'
make: *** [all] Error 2

P.S.: To build, I only call make which will call configure without any argument