Can't install mkcabal because of pcre-lite

cabal: Error: some packages failed to install: mkcabal-0.4.2 depends on pcre-light-0.3.1 which failed to install. pcre-light-0.3.1 failed during the configure step. The exception was: exit: ExitFailure 1 Downloading pcre-light-0.3.1... Configuring pcre-light-0.3.1... 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. I'm on fedora 10. I have package pcre installed. But yum install pcre-dev so no such package. Anyone know the anser? -- Colin Adams Preston Lancashire

"Colin" == Colin Paul Adams
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 (?). -- Colin Adams Preston Lancashire

On Sun, 2009-03-01 at 09:08 +0000, Colin Paul Adams wrote:
"Colin" == Colin Paul Adams
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. Duncan
participants (2)
-
Colin Paul Adams
-
Duncan Coutts