Hello, Getting an error when installing gmp and gmp5 on a 2011 MacBook Pro (Sandy Bridge) - complaining that 64-bit is not an option. I think I've tracked the problem down to a failure to recognize the system as core i7, but I'm at a loss as to how to fix it. (I could also be entirely off base).
Here's a reference to a change to gmp in MacPorts that (I think) addresses the same problem: https://trac.macports.org/changeset/76535 Any help would be greatly appreciated, ---Stephen uname -a returns: Darwin new-host.home 10.7.1 Darwin Kernel Version 10.7.1: Mon Jan 31 14:55:53 PST 2011; root:xnu-1504.10.48~4/RELEASE_X86_64 x86_64 sw_vers returns: ProductName: Mac OS X ProductVersion: 10.6.6 BuildVersion: 10J3210 gcc -v returns: Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5664) Error message: The following package will be installed or updated: gmp The following 2 additional packages will be installed: gmp-shlibs libgmpxx-shlibs Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gmp-4.3.2-6 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-gmp-4.3.2-6' in `/sw/src/fink.build/fink-buildlock-gmp-4.3.2-6_2011.03.11-20.46.09_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-gmp-4.3.2-6_2011.03.11-20.46.09_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-gmp-4.3.2-6. (Reading database ... 17430 files and directories currently installed.) Unpacking fink-buildlock-gmp-4.3.2-6 (from .../fink-buildlock-gmp-4.3.2-6_2011.03.11-20.46.09_darwin-x86_64.deb) ... Setting up fink-buildlock-gmp-4.3.2-6 (2011.03.11-20.46.09) ... 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.LrgasI #! /bin/sh -ev mkdir build cd build # 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 # force i386 to bump to i686 to avoid symbol dep on __sync_fetch_and_add_4 hb=`../config.guess` ../config.guess case $hb in i386-*-*) hb=`echo $hb | sed 's|i386|i686|'` host_build_override="--host=$hb --build=$hb" ;; esac echo $hb | sed 's|i386|i686|' if [ "." == "." ] ; then case "x86_64" in i386 | powerpc) ABI=32 ;; x86_64) ABI=64 ;; esac else case "x86_64" in i386) ABI=64 ;; powerpc) ABI=mode64 ;; esac fi prefix=/sw echo "configuring with: --prefix=/sw ABI=$ABI \ $host_build_override \ --libdir='${prefix}/lib' \ --infodir='${prefix}/share/info' \ --enable-cxx" configuring with: --prefix=/sw ABI=64 --host=i686-apple-darwin10.7.1 --build=i686-apple-darwin10.7.1 --libdir='/lib' --infodir='/share/info' --enable-cxx ../configure --prefix=/sw ABI=$ABI \ $host_build_override \ --libdir='${prefix}/lib' \ --infodir='${prefix}/share/info' \ --enable-cxx checking build system type... i686-apple-darwin10.7.1 checking host system type... i686-apple-darwin10.7.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: error: ABI=64 is not among the following valid choices: 32 ### execution of /var/tmp/tmp.1.LrgasI failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gmp-4.3.2-6 (Reading database ... 17431 files and directories currently installed.) Removing fink-buildlock-gmp-4.3.2-6 ... Failed: phase compiling: gmp-4.3.2-6 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. _______________________________ Stephen T. Miller Associate Professor Department of Chemistry and Biochemistry Swarthmore College 500 College Avenue Swarthmore, PA 19081 (610) 957-6063 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users