-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/12/11 6:01 PM, Matthew Barry wrote:
> Having trouble installing GHC
> 
>>>> fink install ghc
> ... checking version of gcc... configure: error: Need at least gcc
> version 3.0 (3.4+ recommended) ### execution of ./configure failed,
> exit code 1 Removing runtime build-lock... Removing build-lock
> package... /sw/bin/dpkg-lockwait -r fink-buildlock-ghc-7.2.2-1 
> (Reading database ... 126092 files and directories currently
> installed.) Removing fink-buildlock-ghc-7.2.2-1 ... Failed: phase
> compiling: ghc-7.2.2-1 failed ... Package manager version: 0.31.5 
> Distribution version: selfupdate-rsync Sat Dec  3 16:41:47 2011,
> 10.7, x86_64 Trees: local/main stable/main Xcode: 4.1
> 
> But I have the GCC installed from Apple's development tools and
> many other installs have succeeded:
> 
>>>> gcc -version
> i686-apple-darwin11-llvm-gcc-4.2: no input files
>>>> which gcc
> /usr/bin/gcc
> 
> Thanks for any suggestions. MRB
> 
> 
> 
> 
> 

Fink doesn't normally use "gcc" (llvm-gcc) on 10.7, however.  It
normally uses clang.

Since I don't reproduce your error (albeit with Xcode 4.2), let's look
at /sw/src/fink.build/ghc-7.2.2-1/ghc-7.2.2/config.log .  I get:

configure:2484: checking for gcc
configure:2502: found /sw/var/lib/fink/path-prefix-clang/gcc
configure:2514: result: /sw/var/lib/fink/path-prefix-clang/gcc
configure:2588: checking for gcc
configure:2615: result: /sw/var/lib/fink/path-prefix-clang/gcc
configure:2853: checking for C compiler version
configure:2860: /sw/var/lib/fink/path-prefix-clang/gcc --version >&5
Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7mroEACgkQB8UpO3rKjQ9V2gCeKL8kk/rD60pYol1Y3LrCVH/x
ErIAni2H2yaoksZPVJ1CZBDcHjMOoUOI
=3rhU
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to