GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails

Carsten Keßler carsten.kessler at uni-muenster.de
Wed Dec 12 09:10:19 EST 2007


That was THE tip, thanks a lot! I've been using a tool called 'the 
unarchiver' to extract the tarball, apparently is does not do it's job 
very well...

Manuel M T Chakravarty schrieb:
> Carsten Keßler:
>> OK, now I get no GMP error any longer, instead, I got my good old 
>> OpenGL-error back...
>>
>> Installing: /Library/GHC/lib/ghc-6.8.1/lib/OpenGL-2.2.1.1
>> installPackage: Error: Could not find module: 
>> Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelStorage with any 
>> suffix: ["p_hi"]
>> make[1]: *** [install.library.OpenGL] Error 1
>> make: *** [install] Error 2
>>
>> Did I miss more Libs that I need to install before running make install?
> 
> IIRC I have seen this error before.  The reason was that the zip archive 
> un-compressor that was used to unpack the tar.bz2 ball was not working 
> correctly.  Please us the "tar xjf <name of tarball>" to unpack the 
> archive.
> 
> Manuel
> 
>>
>>
>>> Right, you need to install gmp from MacPorts, too, because chakravarty's
>>> binary still depends on it. (although gmp was integrated?)
>>> Christian
>>> otool -L utils/ghc-pkg/ghc-pkg.bin
>>> utils/ghc-pkg/ghc-pkg.bin:
>>>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>>> version 111.0.0)
>>>        /opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0,
>>> current version 8.1.0)
>>>        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
>>> version 1.0.0)
>>> otool -L compiler/stage2/ghc-6.8.1
>>> compiler/stage2/ghc-6.8.1:
>>>        /opt/local/lib/libreadline.5.2.dylib (compatibility version
>>> 5.0.0, current version 5.2.0)
>>>        /opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0,
>>> current version 5.0.0)
>>>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>>> version 111.0.0)
>>>        /opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0,
>>> current version 8.1.0)
>>>        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
>>> version 1.0.0)
>>
>> -- 
>> Carsten Keßler
>> Institute for Geoinformatics, University of Münster
>> http://www.carstenkessler.de
>>
> 

-- 
Carsten Keßler
Institute for Geoinformatics, University of Münster
http://www.carstenkessler.de




More information about the Glasgow-haskell-users mailing list