[GHC] #5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform
GHC
cvs-ghc at haskell.org
Sat Jan 7 16:53:55 CET 2012
#5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform
---------------------+------------------------------------------------------
Reporter: George | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries (other)
Version: 7.0.4 | Keywords: gcc preprocess
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: Other | Testcase:
Blockedby: | Blocking:
Related: |
---------------------+------------------------------------------------------
Not sure if this is the right place to enter a bug about a GHC package but
it was the only place I could find
cabal install ghc-core
Resolving dependencies...
Configuring pcre-light-0.4...
Preprocessing library pcre-light-0.4...
Base.hsc: In function 'main':
Base.hsc:417: error: 'PCRE_DUPNAMES' undeclared (first use in this
function)
Base.hsc:417: error: (Each undeclared identifier is reported only once
Base.hsc:417: error: for each function it appears in.)
Base.hsc:432: error: 'PCRE_NEWLINE_CR' undeclared (first use in this
function)
Base.hsc:435: error: 'PCRE_NEWLINE_CRLF' undeclared (first use in this
function)
Base.hsc:438: error: 'PCRE_NEWLINE_LF' undeclared (first use in this
function)
compiling dist/build/Text/Regex/PCRE/Light/Base_hsc_make.c failed (exit
code 1)
command was: /usr/bin/gcc -c
dist/build/Text/Regex/PCRE/Light/Base_hsc_make.c -o
dist/build/Text/Regex/PCRE/Light/Base_hsc_make.o -m64 -fno-stack-protector
-m64 -fno-stack-protector -m64 -D__GLASGOW_HASKELL__=700 -Ddarwin_BUILD_OS
-Ddarwin_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH
-I/Users/gcolpitts/Library/Haskell/ghc-7.0.4/lib/bytestring-0.9.2.0/lib//include
-I/Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/lib/ghc-7.0.4/base-4.3.1.0/include
-I/Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/lib/ghc-7.0.4/include
-I/Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/lib/ghc-7.0.4/include
-I/Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/lib/ghc-7.0.4/include/
cabal: Error: some packages failed to install:
ghc-core-0.5.4 depends on pcre-light-0.4 which failed to install.
pcre-light-0.4 failed during the building phase. The exception was:
ExitFailure 1
which gcc
/usr/bin/gcc
bash-3.2$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-
checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-
prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-
slibdir=/usr/lib --build=i686-apple-darwin11 --enable-
llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-
llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11-
--host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-
include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
uname -a
$ uname -a
Darwin new-host-4.home 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5755>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list