[Haskell-cafe] Can't install mkcabal because of pcre-lite

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Mar 1 06:42:58 EST 2009

On Sun, 2009-03-01 at 09:08 +0000, Colin Paul Adams wrote:
> >>>>> "Colin" == Colin Paul Adams <colin at colina.demon.co.uk> writes:
>     Colin> library: * Missing C library: pcre This problem can usually
>     Colin> be solved by installing the system package that provides
>     Colin> this library (you may need the "-dev" version). If the
>     Colin> library is already installed but in a non-standard location
>     Colin> then you can use the flags --extra-include-dirs= and
>     Colin> --extra-lib-dirs= to specify where it is.
> Actually, /lib64/libcpre.so.0 /.0.0.1 exists. This is a standard
> location though, so it must be looking for some other library (?).

It's making a little .c file, and using gcc to compile it with -lpcre. I
would expect that /lib64/libpcre.so.0 would be on your standard linker
path. You can run configure with -v to see how it is calling gcc to
compile this test c file. Perhaps try and reproduce it manually, see
what gcc says.


More information about the Haskell-Cafe mailing list