GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails
Carsten Keßler
carsten.kessler at uni-muenster.de
Tue Dec 11 03:23:17 EST 2007
Hi,
so does the GMP.framework installed via MacPorts do it, or not?!
Apparently, it doesn't:
-snip
Macintosh-4:~ Carsten$ port installed
The following ports are currently installed:
...
gmp @4.2.2_0 (active)
readline @5.2.007_0+darwin_9 (active)
...
Macintosh-4:ghc-6.8.1 Carsten$ ./configure
checking build system type... i386-apple-darwin9.1.0
checking host system type... i386-apple-darwin9.1.0
checking target system type... i386-apple-darwin9.1.0
Which we'll further canonicalise into: i386-apple-darwin
checking for path to top of build tree... dyld: Library not loaded:
GMP.framework/Versions/A/GMP
Referenced from: /Users/Carsten/Desktop/ghc-6.8.1/utils/pwd/pwd
Reason: image not found
configure: error: cannot determine current directory
-snap
Is there another way to download / install GMP other than through MacPorts?
Thanks,
Carsten
Manuel M T Chakravarty schrieb:
> Carsten Keßler:
>> Basically, I just wanted to get this thing running without too much
>> hassle... Does anyone have an idea why the GHC distribution available
>> via MacPorts does not work at the moment?
>
> Install "gmp" from MacPorts. That will make the configure error go
> away. (The installed compiler will not use the MacPorts gmp; it is just
> needed during the installation.)
>
> I have no idea who maintains ghc in MacPorts, if anybody.
>
> Manuel
>
>>
>>
>>
>> Philip Weaver schrieb:
>>> "configure: error: cannot determine current directory"
>>> I had this error message, too. I looked in the configure script, and
>>> couldn't figure out what craziness it was doing to get the current
>>> directory. I changed it to just do 'pwd', but I didn't get much
>>> farther. I gave up and built from source :)
>>> On Dec 10, 2007 11:23 AM, Carsten Keßler
>>> <carsten.kessler at uni-muenster.de <mailto:carsten.kessler at uni-muenster.de>>
>>> wrote:
>>> I have re-installed GMP (again via MacPorts) - still the same error
>>> message. Maybe MacPorts puts in the wrong place on my system?
>>> Joel Reymont schrieb:
>>> > You may want to install GMP.framework back then.
>>> >
>>> > The error is saying that pwd is trying to load the framework and
>>> is not
>>> > finding it.
>>> >
>>> > On Dec 10, 2007, at 4:22 PM, Carsten Keßler wrote:
>>> >
>>> >> No, I'm using the binaries from
>>> >>
>>>
>>> http://www.haskell.org/ghc/dist/6.8.1/chakravarty/ghc-6.8.1-i386-apple-darwin.tar.bz2
>>>
>>> >>
>>> >>
>>> >> I have already removed GMP. I have uninstalled it via
>>> Macports, or
>>> >> might there be another version of it somewhere in my system?
>>> >
>>> > --
>>> > http://wagerlabs.com
>>> _______________________________________________
>>> Glasgow-haskell-users mailing list
>>> Glasgow-haskell-users at haskell.org
>>> <mailto:Glasgow-haskell-users at haskell.org>
>>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>>
>> --
>> Carsten Keßler
>> Institute for Geoinformatics, University of Münster
>> http://www.carstenkessler.de
>>
>>
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
--
Carsten Keßler
Institute for Geoinformatics, University of Münster
http://www.carstenkessler.de
More information about the Glasgow-haskell-users
mailing list