Hi Kay,
        Do you have gcc-4.2 (from Xcode) installed?
Can you confirm:
$ which gcc-4.2
$ gcc-4.2 -v


Fang

> I get the following error message when running update-all (after
> selfupdate):
>
> Failed: phase compiling: gmp-4.3.2-5 failed
>
> Is this a known problem? Below is a more complete log.
>
> Thanks
> Kay
>
>
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/crypto/binary-darwin-
> i386/db44-aes_4.4.20-1007_darwin-i386.deb
> Selecting previously deselected package db44-aes.
> dpkg: considering removing db48-aes in favour of db44-aes ...
> dpkg: yes, will remove db48-aes in favour of db44-aes.
> (Reading database ... 113737 files and directories currently installed.)
> Unpacking db44-aes (from .../db44-aes_4.4.20-1007_darwin-i386.deb) ...
> Setting up db44-aes (4.4.20-1007) ...
>
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gmp-4.3.2-5 /sw/src/
> fink.build
> dpkg-deb: building package `fink-buildlock-gmp-4.3.2-5' in `/sw/src/
> fink.build/fink-buildlock-gmp-4.3.2-5_2010.05.20-14.58.14_darwin-
> i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
> gmp-4.3.2-5_2010.05.20-14.58.14_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-gmp-4.3.2-5.
> (Reading database ... 113726 files and directories currently installed.)
> Unpacking fink-buildlock-gmp-4.3.2-5 (from .../fink-buildlock-
> gmp-4.3.2-5_2010.05.20-14.58.14_darwin-i386.deb) ...
> Setting up fink-buildlock-gmp-4.3.2-5 (2010.05.20-14.58.14) ...
>
> gzip -dc /sw/src/gmp-4.3.2.20100509.tar.gz | /sw/bin/tar -xf -  --no-
> same-owner --no-same-permissions
> /var/tmp/tmp.1.IPkRDq
> #! /bin/sh -ev
>  # extra checks for compiler version
>  # darwin8's default compiler is good
>  # darwin9 needs newer compiler
>  # darwin10's default compiler is good
>  darwin_vers=`uname -r | cut -d. -f1`
> uname -r | cut -d. -f1
>  if test "$darwin_vers" = 9 ; then
>    export CC=gcc-4.2
>    export CXX=g++-4.2
>    test -x `which gcc-4.2` || { echo "gcc-4.2 required, but
> missing!"; exit 1; }
>  fi
> which gcc-4.2
>  if [ "." == "." ] ; then
>   case "i386" in
>     i386 | powerpc) ABI=32 ./configure --prefix=/sw   --infodir='$
> {prefix}/share/info' \
>   --enable-cxx  --libdir='${prefix}/lib';;
>     x86_64) ABI=64 ./configure --prefix=/sw   --infodir='${prefix}/
> share/info' \
>   --enable-cxx --libdir='${prefix}/lib';;
>   esac
>  else
>   case "i386" in
>     i386) ABI=64 ./configure --prefix=/sw   --infodir='${prefix}/
> share/info' \
>   --enable-cxx --libdir='${prefix}/lib';;
>     powerpc) ABI=mode64  ./configure --prefix=/sw   --infodir='$
> {prefix}/share/info' \
>   --enable-cxx --libdir='${prefix}/lib';;
>   esac
> fi
> checking build system type... i386-apple-darwin9.8.0
> checking host system type... i386-apple-darwin9.8.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> checking ABI=32
> checking compiler gcc-4.2  -fexceptions -I/sw/include... no
> configure: error: could not find a working compiler, see config.log
> for details
> ### execution of /var/tmp/tmp.1.IPkRDq failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gmp-4.3.2-5
> (Reading database ... 113727 files and directories currently installed.)
> Removing fink-buildlock-gmp-4.3.2-5 ...
> Failed: phase compiling: gmp-4.3.2-5 failed
>
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
>
>       David Fang <fang...@users.sourceforge.net>
>
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Fink-users mailing list
> Fink-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fink-users
>

David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/


------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to