Hi all: I tried installing the Qhull package which is an optional package on the list at http://www.sagemath.org/packages/optional/, but i got the error below. It appears that /usr/include/float.h can't be found, but i *do* have that file. Any suggestions for how to install Qhull successfully?
Thanks. Alex raichev@wujarch-l~> sage -i qhull Detected SAGE64 flag Building Sage on OS X in 64-bit mode Installing qhull Calling sage-spkg on qhull Warning: Attempted to overwrite SAGE_ROOT environment variable Building Sage on OS X in 64-bit mode Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist Detected SAGE64 flag Building Sage on OS X in 64-bit mode qhull Machine: Darwin wujarch-l.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 Deleting directories from past builds of previous/current versions of qhull /Applications/sage/local/bin/sage-spkg: file qhull does not exist Attempting to download it. Searching for latest version of qhull Found package qhull-2010.1 http://www.sagemath.org//packages/optional/qhull-2010.1.spkg --> qhull-2010.1.spkg [..................................................] Extracting package /Applications/sage/spkg/optional/ qhull-2010.1.spkg ... -rw-r--r-- 1 raichev admin 532508 6 Apr 10:12 /Applications/sage/ spkg/optional/qhull-2010.1.spkg Finished extraction **************************************************** Host system uname -a: Darwin wujarch-l.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple- darwin10.4.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.4.0 Configured with: ../gcc-4.6-20101106/configure --enable-languages=c+ +,fortran Thread model: posix gcc version 4.6.0 20101106 (experimental) (GCC) **************************************************** gcc -c -O2 -ansi -fno-strict-aliasing rbox.c In file included from libqhull.h:37:0, from random.h:17, from rbox.c:12: /usr/include/float.h:8:24: fatal error: float.h: No such file or directory compilation terminated. make: *** [rbox.o] Error 1 Error building lrs real 0m0.041s user 0m0.015s sys 0m0.020s sage: An error occurred while installing qhull-2010.1 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /Applications/sage/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/sage/spkg/build/qhull-2010.1 and type 'make check' 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/spkg/build/qhull-2010.1' && '/Applications/ sage/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. raichev@wujarch-l~> -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org