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

Kevin Jardine kevinjardine at gmail.com
Tue Aug 17 08:01:05 EDT 2010

I'm running

cabal install

for the program that uses regex-compat. runhaskell doesn't work
because compiling the code requires library information in the cabal

I've also tried to run something similar using ghci on the same
machine and it also fails with a similar error.


On Aug 17, 1:54 pm, Stephen Tetley <stephen.tet... at gmail.com> wrote:
> On 17 August 2010 12:45, Kevin Jardine <kevinjard... at gmail.com> wrote:
> > I was assuming that regex would work properly with the latest Haskell
> > Platform so I haven't attempted to re-install it.
> Yes - its wise not to upgrade platform components, especially on Windows.
> > However as I mentioned above, attempting to compile a program that
> > uses regex fails with linker errors on my Windows XP machine.
> > Any ideas on how I can fix this problem?
> What command are you using for ghc?
> With Platform 2009.2.0.2, I've tested a simple regex example with just
> / ghc --make ModuleName / - it compiled and ran under both MinGW and
> the Windows prompt.
> Also does can you launch with runhaskell on the Main module?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list