WinHugs May 2006, missing Regex.Posix.dll

Neil Mitchell ndmitchell at gmail.com
Wed May 31 12:47:05 EDT 2006


Hi,

I just got the bug report at the bottom of this email message

Basically, Text.Regex.Posix.dll is not build by the makefile, here is
the appropriate bit of the makefile log, which doesn't have that file
being built.

Preprocessing library base-1.0...
..\..\libraries\tools\hsc2hs.bat -D__HUGS__ -Iinclude
-I..\..\ghc\includes -o System\CPUTime.hs System\CPUTime.hsc
..\..\libraries\tools\hsc2hs.bat -D__HUGS__ -Iinclude
-I..\..\ghc\includes -o System\Time.hs System\Time.hsc
..\..\libraries\tools\hsc2hs.bat -D__HUGS__ -Iinclude
-I..\..\ghc\includes -o Text\Regex\Posix.hs Text\Regex\Posix.hsc
Building base-1.0...
..\..\libraries\tools\cpphs.bat
-O..\..\hugsdir\packages\base\Control\Applicative.hs
Control\Applicative.hs --noline --strip -Dmingw32_BUILD_OS
-Dmingw32_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__HUGS__
-Iinclude -I..\..\ghc\includes
[cut, just lots of successful builds]
..\..\libraries\tools\cpphs.bat
-O..\..\hugsdir\packages\base\Text\Show\Functions.hs
Text\Show\Functions.hs --noline --strip -Dmingw32_BUILD_OS
-Dmingw32_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__HUGS__
-Iinclude -I..\..\ghc\includes
Compiling FFI stubs
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Data\ByteString.hs -Iinclude
-I..\..\ghc\includes cbits\fpstring.c
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Data\ByteString\Char8.hs -Iinclude
-I..\..\ghc\includes
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Foreign\C\Error.hs -Iinclude
-I..\..\ghc\includes cbits\PrelIOUtils.c
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Foreign\Marshal\Alloc.hs -Iinclude
-I..\..\ghc\includes
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Foreign\Marshal\Utils.hs -Iinclude
-I..\..\ghc\includes
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\Foreign\Ptr.hs -Iinclude
-I..\..\ghc\includes cbits\PrelIOUtils.c
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\System\Directory.hs -Iinclude
-I..\..\ghc\includes
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\System\Posix\Internals.hs -Iinclude
-I..\..\ghc\includes cbits\PrelIOUtils.c cbits\dirUtils.c
cbits\consUtils.c
..\..\src\ffihugs -98 -P..\..\hugsdir\packages\base; -i"HsBase.h"
..\..\hugsdir\packages\base\System\Process\Internals.hs -Iinclude
-I..\..\ghc\includes cbits\execvpe.c
Skipping base package
Configuring haskell98-1.0...

The skipping base package is kind of worrying, and it never seems to
call ffihugs with the Posix.dll

Thanks

Neil

--- user submitted bug ----
when I run this simple script:

module Nils where
import Text.Regex

main = do print "hello"

I get the following error in winhugs:

ERROR file:{Hugs}\packages\base\Text\Regex\Posix.hs -
Error while importing DLL "C:\Program
Files\WinHugs\packages\base\Text\Regex\Posix.dll"

This used to work fine in the january release. Do you
know if anything is missing?

Regards
Antoine


More information about the Hugs-Bugs mailing list