|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Compiling regex-posix on Windows - msg#00238List: libraries@haskell.org
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
Hi all,
The only problem stalling the release of the Windows installer for the new Haskell Platform is the bug in regex-posix. It compiles fine (using the libregex.a library from MinGW), but fails at runtime with the following error: Prelude> import Text.Regex.Posix Prelude Text.Regex.Posix> "bar" =~ "(foo|bar)" ::Bool Loading package array-0.3.0.0 ... linking ... done. Loading package bytestring-0.9.1.5 ... linking ... done. Loading package containers-0.3.0.0 ... linking ... done. Loading package mtl-1.1.0.2 ... linking ... done. Loading package regex-base-0.93.1 ... linking ... done. Loading package regex-posix-0.94.1 ... linking ... <interactive>: E:\Program Fil es (x86)\Haskell\regex-posix-0.94.1\ghc-6.12.1\HSregex-posix-0.94.1.o: unknown s ymbol `_regerror' : unable to load package `regex-posix-0.94.1' Prelude Text.Regex.Posix> Unfortunately, Chris, the maintainer, doesn't have access to a Windows machine with GHC currently, and therefore can't help me. I'd appreciate any pointers on how to fix this. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments _______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries
Thread at a glance:
Previous Message by Date:Re: (no subject)+1 On Mar 25, 2010 11:35 AM, "Johan Tibell" <johan.tibell@xxxxxxxxx> wrote: _______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries _______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries Next Message by Date:Re: (no subject)That's what I get for checking email on my Android while on vacation. On Mar 25, 2010 11:48 PM, "Jeremy Shaw" <jeremy@xxxxxxxxxxxxx> wrote:+1>> On Mar 25, 2010 11:35 AM, "Johan Tibell" <johan.tibell@xxxxxxxxx> wrote: >>> ________________... _______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries Previous Message by Thread:(no subject)_______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries Next Message by Thread:Re: Compiling regex-posix on WindowsOn 25/03/10 18:02, Mikhail Glushenkov wrote: Hi all, The only problem stalling the release of the Windows installer for the new Haskell Platform is the bug in regex-posix. It compiles fine (using the libregex.a library from MinGW), but fails at runtime with the following error: Prelude> import Text.Regex.Posix Prelude Text.Regex.Posix> "bar" =~ "(foo|bar)" ::Bool Loading package array-0.3.0.0 ... linking ... done. Loading package bytestring-0.9.1.5 ... linking ... done. Loading package containers-0.3.0.0 ... linking ... done. Loading package mtl-1.1.0.2 ... linking ... done. Loading package regex-base-0.93.1 ... linking ... done. Loading package regex-posix-0.94.1 ... linking ...<interactive>: E:\Program Fil es (x86)\Haskell\regex-posix-0.94.1\ghc-6.12.1\HSregex-posix-0.94.1.o: unknown s ymbol `_regerror' : unable to load package `regex-posix-0.94.1' Prelude Text.Regex.Posix> You can't load a .a library into GHCi, so you need to get the regex implementation from somewhere. Is there a DLL? If not, you'll have to arrange to put the code into a .o that GHCi can load. Cheers, Simon _______________________________________________ Libraries mailing list Libraries@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/libraries
blog comments powered by Disqus
|
|