I had the same problem, which was solved by running xcode-select --install as Volker (and John Palmieri) suggested. David
On Thu, Feb 6, 2014 at 9:09 AM, Volker Braun <[email protected]> wrote: > Do you have the xcode command line tools installed? Also, look into > config.log as explained in the error message for details. > > > > > On Thursday, February 6, 2014 3:24:21 PM UTC, Ben Salisbury wrote: >> >> Hi! >> >> I am also having an issue building the latest version of Sage. An oddity >> is that while is does not build on my laptop, is does build on my desktop >> (both of which are running OS X 10.9.1). Here is my output: >> >> Bens-MacBook-Pro-3:sage-git Ben$ git checkout develop >> >> >> >> Switched to branch 'develop' >> >> Bens-MacBook-Pro-3:sage-git Ben$ git status >> >> # On branch develop >> >> nothing to commit, working directory clean >> >> Bens-MacBook-Pro-3:sage-git Ben$ make >> >> cd build && \ >> >> "../build/pipestatus" \ >> >> "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \ >> >> "tee -a ../logs/install.log" >> >> *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** >> >> Apple_PubSub_Socket_Render=/tmp/launch-fMNQqU/Render >> >> HOME=/Users/Ben >> >> LANG=en_US.UTF-8 >> >> LOGNAME=Ben >> >> MAKE=make >> >> MAKEFLAGS= >> >> MAKELEVEL=1 >> >> MFLAGS= >> >> PATH=/Users/Ben/sage-git/src/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local >> /bin:/usr/local/git/bin:/usr/texbin >> >> PWD=/Users/Ben/sage-git/build >> >> PYTHONPATH=/Users/Ben/sage-git/local >> >> SAGE_EXTCODE=/Users/Ben/sage-git/local/share/sage/ext >> >> SAGE_LOCAL=/Users/Ben/sage-git/local >> >> SAGE_LOGS=/Users/Ben/sage-git/logs/pkgs >> >> SAGE_PARALLEL_SPKG_BUILD= >> >> SAGE_ROOT=/Users/Ben/sage-git >> >> SAGE_SPKG_INST=/Users/Ben/sage-git/local/var/lib/sage/installed >> >> SAGE_SRC=/Users/Ben/sage-git/src >> >> SAGE_VERSION=6.1.beta5 >> >> SHELL=/bin/bash >> >> SHLVL=4 >> >> SSH_AUTH_SOCK=/tmp/launch-0j6hfa/Listeners >> >> TERM=xterm-256color >> >> TERM_PROGRAM=Apple_Terminal >> >> TERM_PROGRAM_VERSION=326 >> >> TERM_SESSION_ID=130A95A7-3DA8-4374-BE56-01EE2E282B5A >> >> TMPDIR=/var/folders/lc/fdbtv85n00v1z4npg92j_v800000gn/T/ >> >> USER=Ben >> >> _=/usr/bin/env >> >> __CF_USER_TEXT_ENCODING=0x1F5:0:0 >> >> __CHECKFIX1436934=1 >> >> *********************************************** >> >> make base >> >> /Users/Ben/sage-git/build/pipestatus "./prereq.sh 2>&1" "tee -a >> /Users/Ben/sage-git/logs/pkgs/prereq.log" >> >> Starting prerequisite check. >> >> Machine: Darwin Bens-MacBook-Pro-3.local 13.0.0 Darwin Kernel Version >> 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 >> x86_64 >> >> >> >> >> make configure || \ >> >> bash -c 'source src/bin/sage-env; sage-download-file >> $SAGE_UPSTREAM/configure/configure-`cat >> build/pkgs/configure/package-version.txt`.tar.gz >> | tar zxmf -' >> >> make[4]: `configure' is up to date. >> >> checking for a BSD-compatible install... /usr/bin/install -c >> >> checking whether build environment is sane... yes >> >> checking for a thread-safe mkdir -p... config/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 make supports nested variables... yes >> >> checking whether to enable maintainer-specific portions of Makefiles... >> no >> >> checking build system type... x86_64-apple-darwin13.0.0 >> >> checking host system type... x86_64-apple-darwin13.0.0 >> >> checking for ar... yes >> >> checking for m4... yes >> >> checking for ranlib... yes >> >> checking for strip... yes >> >> checking for latex... yes >> >> checking for perl... /usr/bin/perl >> >> checking for Perl version 5.8.0 or later... yes >> >> checking for dpkg... no >> >> checking for dpkg-architecture... no >> >> checking for gcc... gcc >> >> checking whether the C compiler works... no >> >> configure: error: in `/Users/Ben/sage-git': >> >> configure: error: C compiler cannot create executables >> >> See `config.log' for more details >> >> You do not have all of the prerequisites needed to build Sage >> >> from source. See the errors above. >> >> If you would like to try the build anyway (to help porting) >> >> export the variable 'SAGE_PORT' to something non-empty. >> >> make[2]: *** [/Users/Ben/sage-git/local/var/lib/sage/installed/prereq] >> Error 1 >> >> make[1]: *** [all] Error 2 >> >> >> >> >> real 0m1.240s >> >> user 0m0.295s >> >> sys 0m0.420s >> >> *************************************************************** >> >> Error building Sage. >> >> >> >> >> The following package(s) may have failed to build: >> >> >> >> >> The build directory may contain configuration files and other >> potentially >> >> helpful information. WARNING: if you now run 'make' again, the build >> >> directory will, by default, be deleted. Set the environment variable >> >> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. >> >> >> >> make: *** [build] Error 1 >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
