
it is however. the same happened to me.you just need to run
cabal install pcre-light --extra-include-dirs=/opt/local/include
--extra-lib-dirs=/opt/local/lib
My location is /opt/local, since I installed pcre via macports
sudo port install pcre
Bue I think pcre is installed by default in
/Developer/SDKs/MacOSX10.5.sdk/usr/
Just check it out and report back.
Good luck,
hugo
On Mon, Nov 10, 2008 at 10:12 PM, Don Stewart
pieter:
Hello,
I've got a problem when I want to install pcre-light on OS X, with the latest version of GHC (binary package from haskell.org).
It is not clear to me which flags to pass to ghc, to tell it to look at /opt/local/include for the pcre-light.h header.
Looks like pcre.h (the libpcre C library ) isn't installed. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco