On 2013-03-22, KrisP <chrizpal...@gmail.com> wrote: > ------=_Part_587_10508096.1363949706089 > Content-Type: text/plain; charset=ISO-8859-1 > > I am running Sage 5.8 64 bit on a macbook pro with OS X 10.8.3. > > Whenever I install the experimental package chomp, I always get an > installation error. The log is below.
You appear to be using a binary installation of Sage, right? And you don't have any developent tools (XCode) installed on your machine, correct? Some rather basic C/C++ headers, such as time.h are missing in Sage binary install, preventing one from compiling code which includes it. The easiest remedy would be to install XCode or its part (Command line tools), containing these headers. (If it still doesn't work, try building Sage from source) > > Found package chomp-20100213.p2 in spkg/optional/chomp-20100213.p2.spkg > chomp-20100213.p2 >==================================================== > Extracting package > /Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/optional/chomp-20100213.p2.spkg > -rw-r--r-- 1 krisp admin 803975 Mar 22 10:28 > /Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/optional/chomp-20100213.p2.spkg > Finished extraction > **************************************************** > Host system: > Darwin 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; > root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64 > **************************************************** > C compiler: gcc > C compiler version: > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/Applications/Sage-5.8-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.8/local > > --with-local-prefix=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.8/local > > --with-gmp=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.8/local > > --with-mpfr=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.8/local > > --with-mpc=/Users/dehayebuildbot/build/sage/dehaye/dehaye_binary/build/sage-5.8/local > > --with-system-zlib --disable-multilib > Thread model: posix > gcc version 4.6.3 (GCC) > **************************************************** > make -C make target=mac > make -f makemain target=mac module=bitmaps > g++ -O2 -ansi -pedantic -Wall -I../include -o ../obj/bitmaps/bitmaps.o -c > \ > ../src/bitmaps/bitmaps.cpp > In file included from ../include/chomp/system/textfile.h:42:0, > from ../src/bitmaps/bitmaps.cpp:33: > /Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/local/bin/../lib/gcc/x86_64-apple-darwin12.2.0/4.6.3/../../../../include/c++/4.6.3/ctime:44:18: > > fatal error: time.h: No such file or directory > compilation terminated. > make[2]: *** [../obj/bitmaps/bitmaps.o] Error 1 > make[1]: *** [bitmaps] Error 2 > make: *** [CHomP] Error 2 > Error building CHomP > > real 0m0.057s > user 0m0.029s > sys 0m0.023s > ************************************************************************ > Error installing package chomp-20100213.p2 > ************************************************************************ > 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.8-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/logs/chomp-20100213.p2.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.8-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/build/chomp-20100213.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 > '/Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/spkg/build/chomp-20100213.p2' > > && '/Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.