Re: [GHC] #5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform

2012-01-15 Thread GHC
#5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform
+---
  Reporter:  George |  Owner:
  Type:  bug| Status:  closed
  Priority:  normal |  Milestone:
 Component:  libraries (other)  |Version:  7.0.4 
Resolution:  invalid|   Keywords:  gcc preprocess
Os:  MacOS X|   Architecture:  x86_64 (amd64)
   Failure:  Other  | Difficulty:  Unknown   
  Testcase: |  Blockedby:
  Blocking: |Related:
+---
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 I'm afraid you'll need to mail the maintainer of the package, unless you
 think the bug is actually in GHC. Note that it looks like it is actually
 `pcre-light` that is failing to install.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform

2012-01-15 Thread GHC
#5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform
--+-
Reporter:  George |   Owner: 
Type:  bug|  Status:  new
Priority:  normal |   Milestone: 
   Component:  libraries (other)  | Version:  7.0.4  
Keywords:  gcc preprocess |  Os:  MacOS X
Architecture:  x86_64 (amd64) | Failure:  Other  
  Difficulty:  Unknown|Testcase: 
   Blockedby: |Blocking: 
 Related: |  
--+-
Changes (by igloo):

  * difficulty:  => Unknown


Old description:

> 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

New description:

 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

[GHC] #5755: cabal install ghc-core fails on Mac Lion on latest Haskell Platform

2012-01-07 Thread GHC
#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: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs