On 30/03/2009, at 18:17, Kevin Horton wrote:
> ghc-6.8.2-1 failed to compile for me, failing with:
>
> ../utils/mkdependC/mkdependC -f .depend-BASE -D__GLASGOW_HASKELL__=608
> -I../includes -Iutils -IbasicTypes -Itypes -IhsSyn -Iprelude - 
> Irename -
> Itypecheck -IdeSugar -IcoreSyn -Ivectorise -Ispecialise -IsimplCore -
> Istranal -IstgSyn -IsimplStg -IcodeGen -Imain -Iprofiling -Iparser -
> IcprAnalysis -IndpFlatten -Iiface -Icmm -InativeGen -Ighci -I../
> includes    -- -O -I/sw/include -Iparser -I. -O    -- parser/cutils.c
> parser/hschooks.c
> /usr/bin/perl -pe 'binmode(stdin); binmode(stdout);
> s@(\S*[._]o)@stage2/$...@g; s@(\S*[._]hi)@stage2/$...@g; s...@^.*/compat.*
> $@@g;' <.depend-BASE >.depend-2
> make -C compiler stage=2
> /sw/bin/sed -e "s...@ghc_path@/sw/src/fink.build/ghc-6.8.2-1/ghc-6.8.2/
> compiler/stage2/ghc-6....@g" -e "s...@top_abs@/sw/src/fink.build/
> ghc-6.8.2-1/ghc-6....@g" < ghc-inplace.c > stage2/ghc-inplace.c
> ../compiler/stage1/ghc-inplace -cpp  stage2/ghc-inplace.c -o stage2/
> ghc-inplace
> ld: library not found for -lgmp
> collect2: ld returned 1 exit status
> make[2]: *** [stage2/ghc-inplace] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2
> ### execution of make failed, exit code 2
>
> ========================
> % fink list gmp
> Scanning package description files..........
> Information about 8445 packages read in 24 seconds.
>  i   gmp                        4.2.3-1000          GNU multiple
> precision arithmetic library
>      gmp-64bit                  4.2.3-1000          GNU multiple
> precision arithmetic library
>      gmp-64bit-shlibs           4.2.3-1000          Shared library
> for gmp package
>  i   gmp-shlibs                 4.2.3-1000          Shared library
> for gmp package
>      gmpc                       0.18.0-2            Gnome Music
> Player Client (graphical interface to MPD)
>      gmpc-plugins               0.18.0-2            Plugins for the
> Gnome Music Player Client
>      libgmpxx-64bit-shlibs      4.2.3-1000          Shared C++
> library for gmp package
>  i   libgmpxx-shlibs            4.2.3-1000          Shared C++
> library for gmp package
>      libgmpxx4-64bit-shlibs     4.2.1-1009          Shared C++
> library for gmp package (obsolete version)
>      libgmpxx4-shlibs           4.2.1-1009          Shared C++
> library for gmp package (obsolete version)
>      php5-apache2-ssl-gmp       5.2.6-5             Server-side, HTML-
> embedded scripting language
>      php5-gmp                   5.2.6-5             GMP module for  
> php5
>
> ========================
> a few details of my fink installation:
> % fink -V | head -n 2:
> Package manager version: 0.28.7
> Distribution version: selfupdate-rsync Sat Mar 28 11:26:01 2009, 10.5,
> powerpc
> % sw_vers:
> ProductName:  Mac OS X
> ProductVersion:       10.5.6
> BuildVersion: 9G55
> % gcc --version | head -n 1:
> powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
> % arch:
> ppc
> ========================
> Any advice would be appreciated.


Just for the record, ghc-6.8.3-2 compiles fine on a 10.5.6 Intel box.

Brendan: I noticed that the package description of ghc-6.8.3 for  
PowerPC (ghc-powerpc.info) doesn’t include

ln -s %p/lib/libgmp.dylib gmp

as in ghc-i386.info. Could this be the problem?


--
monipol
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to