[Haskell-cafe] Re: GHC 6.10 / Mac OS X / Library problem

Christian Maeder Christian.Maeder at dfki.de
Tue Nov 11 07:51:03 EST 2008


Hugo Pacheco wrote:
> 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

Alternatively:
    export CPATH=/opt/local/include
    export LIBRARY_PATH=/opt/local/lib
    export LD_LIBRARY_PATH=/opt/local/lib
    export DYLD_LIBRARY_PATH=/opt/local/lib
should work, too

C.


More information about the Haskell-Cafe mailing list