[Haskell-beginners] Installing regex-pcre

David McBride toad3k at gmail.com
Fri Dec 9 00:25:58 CET 2011


That package requires the C library 'libpcre'.  It is extremely common
on unix systems, but I don't know if it exists in windows.  You'll
have to do some research on that.

On Thu, Dec 8, 2011 at 6:09 PM, MJ Williams
<matthewjwilliams101 at gmail.com> wrote:
> Dear all,
> I'm trying to install regex-pcre on my XP Pro machine.  I have the latest
> version of GHC.  Do any of you recognise and understand the following error
> message?
>
> install regex-pcre
> Resolving dependencies...
> Configuring regex-pcre-0.94.2...
> cabal: Missing dependency on a foreign library:
> * Missing C library: pcre
> This problem can usually be solved by installing the system package that
> provides this library (you may need the "-dev" version). If the library is
> already installed but in a non-standard location then you can use the flags
> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
> cabal: Error: some packages failed to install:
> regex-pcre-0.94.2 failed during the configure step. The exception was:
> ExitFailure 1
>
>
> Apologies if the query is a little offtopic.
> Regards
> Matthew
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners



More information about the Beginners mailing list