Re: [Haskell-cafe] regex-compat on latest Haskell Platform

2010-08-17 Thread Don Stewart
kevinjardine:
> I'm running Haskel Platform 2010.2.0.0 and attempting to compile with
> regex-compat under Windows XP.
> 
> The link stage fails with a number of lines of the form:
> 
> D:\Program Files\Haskell Platform\2010.2.0.0\lib\extralibs\regex-
> posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text
> +0x493): undefined reference to `regerror'
> 
> I have googled for a solution but cannot see a fix anywhere.

Looks like possibly missing regex.h header files (from the regex C library)
On Windows?

-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] regex-compat on latest Haskell Platform

2010-08-17 Thread Stephen Tetley
Hi Kevin

Are you trying to compile a program using regex-posix or compiling and
installing an update of regex-posix (which is already in the
Platform)?

If you are compiling a program that uses regex-posix, you shouldn't
need to install other DLLs as the relevant libraries (.a and .o files)
are distributed with the Platform.

For what its worth, Regex-posix worked fine with Platform 2009.2.0.2.
I follow GHC releases rather than Platform ones, so I don't know about
later versions.

Best wishes

Stephen
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] regex-compat on latest Haskell Platform

2010-08-17 Thread Kevin Jardine
I'm running Haskel Platform 2010.2.0.0 and attempting to compile with
regex-compat under Windows XP.

The link stage fails with a number of lines of the form:

D:\Program Files\Haskell Platform\2010.2.0.0\lib\extralibs\regex-
posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text
+0x493): undefined reference to `regerror'

I have googled for a solution but cannot see a fix anywhere.

Any suggestions?

Kevin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe