Problem compiling GHC

Andre-John Mas ajmas at sympatico.ca
Sat May 26 08:18:53 PDT 2007


On 25-May-07, at 17:51 , Ryan Schmidt wrote:

> Interesting.
>
> You're on an Intel Mac with Mac OS X 10.4.9, it looks like. And you  
> have Xcode 2.4.1 installed? What version of gcc is selected? It  
> should be 4.0.1. On my system:
>
> $ gcc_select
> Current default compiler:
> gcc version 4.0.1 (Apple Computer, Inc. build 5367)

$ gcc_select
Current default compiler:
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

> Do you have the latest MacPorts? "sudo port selfupdate" to make sure.
>
> What does the config.log say? It'll be in the work directory. "cd  
> `port dir ghc`/work/ghc-*"

configure:3037: gcc -V </dev/null >&5
dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
   Referenced from: /usr/bin/gcc
   Reason: image not found
./configure: line 1: 23232 Trace/BPT trap          $CC -V
configure:3040: $? = 133
configure:3063: checking for C compiler default output file name
configure:3066: gcc -I/opt/local/include -O2 -I/opt/local/include -I/ 
opt/local/include -L/opt/local/lib -L/usr/lib -L/opt/local/lib conft
est.c  >&5
dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
   Referenced from: /usr/bin/gcc
   Reason: image not found
./configure: line 1: 23243 Trace/BPT trap          $CC $CFLAGS  
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
configure:3069: $? = 133


I'll see if I can get a more update version of xcode and see if that  
changes anything.

AJ





More information about the macports-users mailing list