On Tuesday, October 21, 2014 9:26:42 AM UTC-7, Volker Braun wrote:
>
> You can't build Sage with clang. Build Sage from scratch, this should have 
> installed GCC as part of the installation process. Make sure you have the 
> Xcode command line tools.
>

Well, Xcode and the command line tools are installed and now the following 
error occurs:

....
make[5]: Nothing to be done for `install'.
cats=""; for cat in $cats; do \
      lang=`basename $cat | sed 's/\.gmo$//'`; \
      if [ -f $cat ]; then :; \
      elif [ -f ../../src/libcpp/$cat ]; then cat=../../src/libcpp/$cat; \
      else continue; \
      fi; \
      dir=/Applications/sage/local/share/locale/$lang/LC_MESSAGES; \
      echo /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
      /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
    done
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `install'.
/bin/sh ../../src/libiberty/../mkinstalldirs 
/Applications/sage/local/lib/`/usr/bin/clang -g -O2 
-print-multi-os-directory`
/usr/bin/install -c -m 644 ./libiberty.a 
/Applications/sage/local/lib/`/usr/bin/clang -g -O2 
-print-multi-os-directory`/./libiberty.an
install: /Applications/sage/local/lib/x86_64/./libiberty.an: Permission 
denied
make[5]: *** [install_to_libdir] Error 71
make[4]: *** [install-libiberty] Error 2
make[3]: *** [install] Error 2

real    17m29.186s
user    47m51.011s
sys    4m36.591s
************************************************************************
Error installing package gcc-4.7.3.p1
************************************************************************
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/logs/pkgs/gcc-4.7.3.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/sage/local/var/tmp/sage/build/gcc-4.7.3.p1 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/local/var/tmp/sage/build/gcc-4.7.3.p1' && 
'/Applications/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/Applications/sage/local/var/lib/sage/installed/gcc-4.7.3.p1] 
Error 1
make[1]: *** [all] Error 2

real    19m25.389s
user    49m43.368s
sys    5m40.166s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: gcc-4.7.3.p1
log file: /Applications/sage/logs/pkgs/gcc-4.7.3.p1.log
build directory: /Applications/sage/local/var/tmp/sage/build/gcc-4.7.3.p1

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 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to