
I am using a recent install of Haskell platform (GHC/GHCi version 7.8.3) in
OS X 10.9.5, and have been working through Real World Haskell and last
year's CIS194 lectures and exercises.
I attempted to follow the instructions for installing lambdabot (as given
by https://wiki.haskell.org/Lambdabot ) via cabal install lambdabot.
After 24 1/2 minutes, the process ended with a little over a dozen error
messages apparently tracing to two occurrences of ExitFailure 1:
MonadRandom-0.3.0.1 failed during the building phase. The exception was:
ExitFailure 1
regex-pcre-0.94.4 failed during the building phase. The exception was:
ExitFailure 1
The remaining messages were from components dependent on one or the other
of those two.
The logged failure for regex-pcre-0.94.4 included the following:
Preprocessing library regex-pcre-0.94.4...
Wrap.hsc:148:10: fatal error: 'pcre.h' file not found
#include

On Fri, Mar 13, 2015 at 7:53 AM, Joel Neely
The logged failure for regex-pcre-0.94.4 included the following:
Preprocessing library regex-pcre-0.94.4... Wrap.hsc:148:10: fatal error: 'pcre.h' file not found #include
^ 1 error generated. compiling dist/build/Text/Regex/PCRE/Wrap_hsc_make.c failed (exit code 1)
Both of these are the same problem: cabal cannot operate your system package manager to install the developer headers / libraries for the system's pcre package (if it even has one; on a Mac you may need to get a pcre package from somewhere else). The other one looks like an internal problem with either ghc or cabal; I can't help offhand. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (2)
-
Brandon Allbery
-
Joel Neely