[Haskell-cafe] libgmp for GHC 6.10.1 on Mac OS X 10.5

Dean Herington heringtonlacey at mindspring.com
Sun Mar 15 23:54:20 EDT 2009

I'm trying to install GHC 6.10.1 on Mac OS X 10.5 (PowerPC).  I 
installed Xcode 3.1.2.  I built libgmp 4.2.4 and installed it in 
/usr/local/lib.  When I do "./configure" in GHC's dist directory, 
however, I get:

bash-3.2$ ./configure
checking build system type... powerpc-apple-darwin9.6.0
checking host system type... powerpc-apple-darwin9.6.0
checking target system type... powerpc-apple-darwin9.6.0
Which we'll further canonicalise into: powerpc-apple-darwin
checking for path to top of build tree... dyld: Library not loaded: 
   Referenced from: 
   Reason: no suitable image found.  Did find:
	/usr/local/lib/libgmp.3.dylib: mach-o, but wrong architecture
	/usr/local/lib/libgmp.3.dylib: mach-o, but wrong architecture
configure: error: cannot determine current directory

Any ideas what I'm doing wrong?


More information about the Haskell-Cafe mailing list