On 11 November 2010 11:23, Nils Schweinsberg <m...@n-sch.de> wrote:
>    Configuring pcre-light-0.4...
>    cabal: Missing dependency on a foreign library:
>    * Missing C library: pcre

On 11 November 2010 12:41, Stephen Tetley <stephen.tet...@gmail.com> wrote:
> Do you have the headers installed as well as the dlls?

With this error message, it really is the C libs. If cabal cannot find
the headers then it says so explicitly.

Cabal does the check by making a trivial .c program and linking it
with (approximately):

gcc main.o -lpcre

If that fails then cabal declares that it cannot find the C lib. It's
possible that the lib is present but that there is some other linking
error, it's a bit tricky to distinguish without looking at the error
messages from ld.exe.

So the first thing to try is the above test, or run cabal configure
-v3 and see what error message ld reports.

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

Reply via email to