leledumbo | 6 Feb 2009 05:33
Picon
Favicon
Gravatar

Failed to build Hugs 2008-09-28 snapshot


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"
(Continue reading)


Gmane