I'm trying to help develop some code that a group is currently working on using sage 5.11, and so I need to get a copy of that version of sage on my laptop. There is no longer a binary file posted and so I need to install through the source code. I know little about how these things work, and when I followed the simple instructions and typed make, it failed with an error (Error installing package mpir-2.6.0.p2). Below is the log file that was produced.
I'm working on with OS X 10.9.4. I have Xcode 5.1.1 installed. Any suggestions would be appreciated. Rob ------ Roberts-MacBook-Air:sage-5.11 rpollack$ more /Users/rpollack/sage-5.11/logs/pkgs/mpir-2.6.0.p2.log Found package mpir-2.6.0.p2 in spkg/standard/mpir-2.6.0.p2.spkg mpir-2.6.0.p2 ==================================================== Extracting package /Users/rpollack/sage-5.11/spkg/standard/mpir-2.6.0.p2.spkg -rw-r--r--@ 1 rpollack staff 3854224 Apr 6 2013 /Users/rpollack/sage-5.11/spkg/standard/mpir-2.6.0.p2.spkg Finished extraction **************************************************** Host system: Darwin Roberts-MacBook-Air.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: /usr/bin/clang C compiler version: Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.3.0 Thread model: posix **************************************************** Renaming *,asm files to *.asm... Applying patches to upstream sources... patching file configure patching file configure.in patching file acinclude.m4 patching file configure.in patching file yasm/Makefile.in patching file configure patching file acinclude.m4 patching file configure.in patching file configure patching file gmp-h.in patching file tests/mpz/t-scan.c patching file mpn/alpha/addlsh1_n.asm patching file mpn/alpha/sublsh1_n.asm patching file mpn/ia64/add_n.asm patching file mpn/ia64/addlsh1_n.asm patching file mpn/ia64/and_n.asm patching file mpn/ia64/andn_n.asm patching file mpn/ia64/ior_n.asm patching file mpn/ia64/iorn_n.asm patching file mpn/ia64/lshift.asm patching file mpn/ia64/nand_n.asm patching file mpn/ia64/nior_n.asm patching file mpn/ia64/rsh1add_n.asm patching file mpn/ia64/rsh1sub_n.asm patching file mpn/ia64/rshift.asm patching file mpn/ia64/sub_n.asm patching file mpn/ia64/sublsh1_n.asm patching file mpn/ia64/xnor_n.asm patching file mpn/ia64/xor_n.asm patching file mpn/powerpc32/vmx/and_n.asm patching file mpn/powerpc32/vmx/andn_n.asm patching file mpn/powerpc32/vmx/ior_n.asm patching file mpn/powerpc32/vmx/iorn_n.asm patching file mpn/powerpc32/vmx/nand_n.asm patching file mpn/powerpc32/vmx/nior_n.asm patching file mpn/powerpc32/vmx/xnor_n.asm patching file mpn/powerpc32/vmx/xor_n.asm patching file mpn/x86/add_n.asm patching file mpn/x86/addmul_1.asm patching file mpn/x86/applenopic/addmul_1.asm patching file mpn/x86/applenopic/submul_1.asm patching file mpn/x86/core2/add_n.asm patching file mpn/x86/core2/sub_n.asm patching file mpn/x86/k6/add_n.asm patching file mpn/x86/k6/addmul_1.asm patching file mpn/x86/k6/mmx/and_n.asm patching file mpn/x86/k6/mmx/andn_n.asm patching file mpn/x86/k6/mmx/hamdist.asm patching file mpn/x86/k6/mmx/ior_n.asm patching file mpn/x86/k6/mmx/iorn_n.asm patching file mpn/x86/k6/mmx/nand_n.asm patching file mpn/x86/k6/mmx/nior_n.asm patching file mpn/x86/k6/mmx/popcount.asm patching file mpn/x86/k6/mmx/xnor_n.asm patching file mpn/x86/k6/mmx/xor_n.asm patching file mpn/x86/k6/sub_n.asm patching file mpn/x86/k6/submul_1.asm patching file mpn/x86/k7/add_n.asm patching file mpn/x86/k7/addmul_1.asm patching file mpn/x86/k7/mmx/hamdist.asm patching file mpn/x86/k7/mmx/popcount.asm patching file mpn/x86/k7/sub_n.asm patching file mpn/x86/k7/submul_1.asm patching file mpn/x86/nehalem/hamdist.asm patching file mpn/x86/nehalem/popcount.asm patching file mpn/x86/p6/addmul_1.asm patching file mpn/x86/p6/submul_1.asm patching file mpn/x86/pentium/add_n.asm patching file mpn/x86/pentium/addmul_1.asm patching file mpn/x86/pentium/and_n.asm patching file mpn/x86/pentium/andn_n.asm patching file mpn/x86/pentium/ior_n.asm patching file mpn/x86/pentium/iorn_n.asm patching file mpn/x86/pentium/nand_n.asm patching file mpn/x86/pentium/nior_n.asm patching file mpn/x86/pentium/sub_n.asm patching file mpn/x86/pentium/submul_1.asm patching file mpn/x86/pentium/xnor_n.asm patching file mpn/x86/pentium/xor_n.asm patching file mpn/x86/pentium4/mmx/hamdist.asm patching file mpn/x86/pentium4/mmx/popcount.asm patching file mpn/x86/sub_n.asm patching file mpn/x86/submul_1.asm Building a 64-bit version of MPIR, which is the default. Building a reduced version of MPIR to bootstrap GCC. MPIR will later get rebuilt (with the C++ interface and static libraries enabled) using the new compiler. Checking what CFLAGS MPIR would use if they were empty... checking build system type... x86_64-apple-darwin13.3.0 checking host system type... x86_64-apple-darwin13.3.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d 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 checking ABI=64 checking compiler /usr/bin/gcc -m64 ... no, gcc-4.3.2 on 64bit is bad , try -O1 or -fno-strict-aliasing for the flags checking ABI=32 checking compiler /usr/bin/gcc -m32 -O2 -fomit-frame-pointer ... no, gcc-4.3.2 on 64bit is bad , try -O1 or -fno-strict-aliasing for the flags checking compiler /usr/bin/gcc -O2 -fomit-frame-pointer ... no, gcc-4.3.2 on 64bit is bad , try -O1 or -fno-strict-aliasing for the flags configure: error: could not find a working compiler, see config.log for details Error configuring MPIR (with CFLAGS unset). Consult /Users/rpollack/sage-5.11/spkg/build/mpir-2.6.0.p2/src/config.log for for details. real 0m2.543s user 0m0.662s sys 0m0.643s ************************************************************************ Error installing package mpir-2.6.0.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /Users/rpollack/sage-5.11/logs/pkgs/mpir-2.6.0.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/rpollack/sage-5.11/spkg/build/mpir-2.6.0.p2 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/rpollack/sage-5.11/spkg/build/mpir-2.6.0.p2' && '/Users/rpollack/sage-5.11/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.