I am trying to build Sage-4.8.alpha5 on my OS X Lion and get an error after 43 minutes process. I just downloaded and unpacked the tar-archive in my "user" directory and type "make". The process stops on Mercurial, here is the log:
mercurial-1.8.4 Machine: Darwin MacBook-Pro-Alexander-Vasilyev.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64 Deleting directories from past builds of previous/current versions of mercurial-1.8.4 Extracting package /Users/Hamster3d/sage-4.8.alpha5/spkg/standard/mercurial-1.8.4.spkg ... -rw-r--r--@ 1 Hamster3d staff 1949909 15 июн 2011 /Users/Hamster3d/sage-4.8.alpha5/spkg/standard/mercurial-1.8.4.spkg Finished extraction **************************************************** Host system uname -a: Darwin MacBook-Pro-Alexander-Vasilyev.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6) **************************************************** Traceback (most recent call last): File "setup.py", line 384, in <module> version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines()[0] IndexError: list index out of range Error building and installing Mercurial real 0m0.553s user 0m0.075s sys 0m0.054s ************************************************************************ Error installing package mercurial-1.8.4 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /Users/Hamster3d/sage-4.8.alpha5/spkg/logs/mercurial-1.8.4.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/Hamster3d/sage-4.8.alpha5/spkg/build/mercurial-1.8.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 '/Users/Hamster3d/sage-4.8.alpha5/spkg/build/mercurial-1.8.4' && '/Users/Hamster3d/sage-4.8.alpha5/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org