Ask Your Question

cherkis's profile - activity

2013-01-04 15:04:24 +0200 answered a question How do I install a package 'TOPCOM'

Volker, thank you for your answer. Alas, following your instructions produces exactly the same error message on my MacBookPro with OSX 10.8.2 as using the Sage session:

Weasel:sage user$ ./sage -f http://www.stp.dias.ie/~vbraun/Sage/spkg/TOPCOM-0.17.4.spkg
Attempting to download package TOPCOM-0.17.4
>>> Downloading TOPCOM-0.17.4.spkg.
[............................................................]
TOPCOM-0.17.4
====================================================
Extracting package /Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/optional/TOPCOM-0.17.4.spkg
-rw-r--r--  1 user  admin  901874 Jan  4 11:57 /Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/optional/TOPCOM-0.17.4.spkg
Finished extraction
****************************************************
Host system:
Darwin Weasel.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/local/bin/../libexec/gcc/x86_64-apple-darwin12.2.0/4.6.3/lto-wrapper
Target: x86_64-apple-darwin12.2.0
Configured with: ../src/configure --prefix=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.5/local --with-local-prefix=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.5/local --with-gmp=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.5/local --with-mpfr=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.5/local --with-mpc=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.5/local --with-system-zlib --disable-multilib  
Thread model: posix
gcc version 4.6.3 (GCC) 
****************************************************
WARNING: spkg-install is not executable, making it executable
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)... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/build/TOPCOM-0.17.4/src':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error configuring TOPCOM.

real    0m1.300s
user    0m0.149s
sys 0m0.138s
************************************************************************
Error installing package TOPCOM-0.17.4
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/logs/TOPCOM-0.17.4.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/build/TOPCOM-0.17.4 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 '/Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/build/TOPCOM-0.17.4' && '/Applications/Sage-5.5-OSX-64bit-10.8.app/Contents/Resources/sage/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.