make distclean
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/src/sage/local/lib/ -o graphics.so init.o base.o graphics.o par.o plot.o plot3d.o stem.o -L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/libRblas.dylib -Wl,-framework -Wl,CoreFoundation
make[9]: `Makedeps' is up to date.
mkdir ../../../../library/graphics/libs
byte-compiling package 'graphics'
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.p1/src/library/grDevices/libs/grDevices.so':
dlopen(/usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.p1/src/library/grDevices/libs/grDevices.so, 6): Symbol not found: _sqlite3_intarray_bind
Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
Expected in: /usr/local/src/sage/local/lib/libsqlite3.dylib
in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
make[7]: *** [../../../library/graphics/R/graphics.rdb] Error 1
make[6]: *** [all] Error 2
make[5]: *** [R] Error 1
make[4]: *** [R] Error 1
make[3]: *** [R] Error 1
Error building R.
real 224.327 user 159.984 sys 29.426 pcpu 84.43
************************************************************************
Error installing package r-3.0.2.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/usr/local/src/sage/logs/pkgs/r-3.0.2.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.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 '/usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.p1' && '/usr/local/src/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/usr/local/src/sage/local/var/lib/sage/installed/r-3.0.2.p1] Error 1
make[1]: *** [all] Error 2
real 232.272 user 164.476 sys 30.688 pcpu 84.02
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: finite_word.py
log file: /usr/local/src/sage/logs/pkgs/finite_word.py.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/finite_word.py
package: mpir-2.6.0.p3
log file: /usr/local/src/sage/logs/pkgs/mpir-2.6.0.p3.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/mpir-2.6.0.p3
package: r-3.0.2.p1
log file: /usr/local/src/sage/logs/pkgs/r-3.0.2.p1.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.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
6.2.rc0-develop-sage: ./sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.2.rc0, Release Date: 2014-04-22 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
-------------------------------------------------------------------------------
Resolving lazy import FacadeSets during startup
Calling stack:
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/application.py", line 207, in excepthook
return self.crash_handler(etype, evalue, tb)
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/crashhandler.py", line 159, in __call__
traceback = TBhandler.text(etype,evalue,etb,context=31)
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py", line 407, in text
tb_offset, context)
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py", line 815, in structured_traceback
locals,formatvalue=var_repr))
File "/usr/local/src/sage/local/lib/python/inspect.py", line 887, in formatargvalues
specs.append(strseq(args[i], convert, join))
File "/usr/local/src/sage/local/lib/python/inspect.py", line 842, in strseq
return convert(object)
File "/usr/local/src/sage/local/lib/python/inspect.py", line 884, in convert
return formatarg(name) + formatvalue(locals[name])
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py", line 724, in eqrepr
def eqrepr(value, repr=text_repr): return '=%s' % repr(value)
File "/usr/local/src/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py", line 701, in text_repr
return pydoc.text.repr(value)
File "/usr/local/src/sage/local/lib/python/repr.py", line 24, in repr
return self.repr1(x, self.maxlevel)
File "/usr/local/src/sage/local/lib/python/pydoc.py", line 970, in repr1
return cram(stripid(repr(x)), self.maxother)
File "/usr/local/src/sage/local/lib/python2.7/site-packages/sage/categories/category.py", line 2293, in _repr_
if len(categories) == 2 and Sets().Facades() in categories:
-------------------------------------------------------------------------------
**********************************************************************
Oops, Sage crashed. We do our best to make it stable, but...
A crash report was automatically generated with the following information:
- A verbatim copy of the crash traceback.
- A copy of your input history during this session.
- Data on your current Sage configuration.
It was left in the file named:
'/Users/andrew/.sage/ipython-1.2.1/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.
You can mail it to: sage-support at sage-support@googlegroups.com
with the subject 'Sage Crash Report'.
If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-support@googlegroups.com < /Users/andrew/.sage/ipython-1.2.1/Sage_crash_report.txt
To ensure accurate tracking of this issue, please file a report about it at:
http://trac.sagemath.org
Hit <Enter> to quit (your terminal may close):
...
sh: line 1: 45940 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find strip 2> /dev/null
xcrun: error: unable to find utility "strip", not a developer tool or in PATH
install: child process failed: xcrun strip - /usr/local/src/sage/local/bin/solve_IP
make[4]: *** [install] Error 70
make[3]: *** [install-nolns] Error 1
Unable to build and install Singular
Error building Singular (error in build_singular).
real 436.530 user 370.404 sys 40.987 pcpu 94.24
************************************************************************
Error installing package singular-3.1.5.p9
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and
including the relevant part of the log file
/usr/local/src/sage/logs/pkgs/singular-3.1.5.p9.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don
't* just cd to
/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9 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 '/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9' && '/usr/local/src/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/usr/local/src/sage/local/var/lib/sage/installed/singular-3.1.5.p9] Error 1
make[1]: *** [all] Error 2
real 3662.925 user 2655.310 sys 428.853 pcpu 84.20
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: finite_word.py
log file: /usr/local/src/sage/logs/pkgs/finite_word.py.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/finite_word.py
package: mpir-2.6.0.p3
log file: /usr/local/src/sage/logs/pkgs/mpir-2.6.0.p3.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/mpir-2.6.0.p3
package: r-3.0.2.p1
log file: /usr/local/src/sage/logs/pkgs/r-3.0.2.p1.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/r-3.0.2.p1
package: singular-3.1.5.p9
log file: /usr/local/src/sage/logs/pkgs/singular-3.1.5.p9.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9
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.
533-6.1.1-master-sage: which strip
strip is /Library/Developer/CommandLineTools/usr/bin/strip
strip is /usr/bin/strip
538-6.1.1-master-sage: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find strip 2> /dev/null
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip\539-6.1.1-master-sage: ls -l /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
-rwxr-xr-x 1 root wheel 187K 27 Mar 11:17 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip*
Whats xcodebuild -version
Here's another bizarre feature:
538-6.1.1-master-sage: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find strip 2> /dev/null
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip\539-6.1.1-master-sage: ls -l /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
-rwxr-xr-x 1 root wheel 187K 27 Mar 11:17 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip*
whats the output of "xcrun -v strip"
So it works. Your real error is elsewhere. Run "make distclean && make -j1"
File "/usr/local/src/sage/local/lib/python2.7/site-packages/sage/categories/category.py", line 2293, in _repr_
if len(categories) == 2 and Sets().Facades() in categories:
-------------------------------------------------------------------------------
**********************************************************************
Oops, Sage crashed. We do our best to make it stable, but...
A crash report was automatically generated with the following information:
- A verbatim copy of the crash traceback.
- A copy of your input history during this session.
- Data on your current Sage configuration.
It was left in the file named:
'/Users/andrew/.sage/ipython-1.2.1/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.
You can mail it to: sage-support at sage-support@googlegroups.com
with the subject 'Sage Crash Report'.
If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-support@googlegroups.com < /Users/andrew/.sage/ipython-1.2.1/Sage_crash_report.txt
To ensure accurate tracking of this issue, please file a report about it at:
http://trac.sagemath.org
Hit <Enter> to quit (your terminal may close):
libpng was upgraded recently, and if you switch between different versions then you have to rebuild (in the worst case: make distclean && make will always work).
By the way, it's really annoying that the "Merged in:" field is no longer used.
Volker Braun wrote:
> The issue is that libpng was updated, not libm4ri
>
> There is still something wonky because the two libpng versions ought to
> be compatible. There is something wrong in how m4ri links to libpng on
> OSX, causing it to depend on the version patchlevel.
>
But that's certainly not the same as having the (IMHO useful) "Merged:"
field filled.
Similar for the changelog entries in SPKG.txt files; they provide[d]
different (namely usually higher-level), and easier to access
information than commit logs (and diffs) do.
Does your compile always fail in different places with different errors? Maybe its more relevant to look at the output of "diskutil info /" and/or install smartmontools...
Finally, you asked about diskutil and smartmontools. The output from these are:
smartctl 6.2 2013-07-26 r3841 [x86_64-apple-darwin13.1.0] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 14811 -
# 2 Short offline Completed without error 00% 14808 -
and
sage: diskutil info /
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Part of Whole: disk0
Device / Media Name: Customer
Volume Name: Mac
Escaped with Unicode: Mac
Mounted: Yes
Mount Point: /
Escaped with Unicode: /
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 40960 KB at offset 0x1638e000
Owners: Enabled
Partition Type: Apple_HFS
OS Can Be Installed: Yes
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 5FD5CA9F-2845-3735-9024-426A671CE311
Total Size: 499.2 GB (499248099328 Bytes) (exactly 975093944 512-Byte-Units)
Volume Free Space: 60.4 GB (60374343680 Bytes) (exactly 117918640 512-Byte-Units)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: No
Ejectable: No
Whole: No
Internal: Yes
Solid State: No
Homebrew/Macports/Fink/etc are not supported and likely to conflict with Sage. What kind of error do you get from "make distclean"? You can try to exclude non-system stuff from the PATH to ignore 3rd party software:export PATH=/usr/bin:/bin:/usr/sbin:/sbinmake distclean
sage: make distclean
cd build && \
"../build/pipestatus" \
"env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
"tee -a ../logs/install.log"
/usr/local/src/sage/build
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
Apple_PubSub_Socket_Render=/tmp/launch-ambPxc/Render
BIBINPUTS=.:/Users/andrew/Papers:/Users/andrew/Grants:
BSTINPUTS=/Users/andrew/TeX/BibTeX:
CDPATH=.:..:~:~/Papers:~/Books:~/Preprints:~/TeX:~/Gap:~:~/Grants:~/Grants/Current:~/Courses:~/Documents:~/Documents/Home:~/Documents/AMAE:~/Documents/Home/Kiddies:~/Courses:~/Admin:~/Admin/Promotion/:~/Sage/:../..:~/Sites
DISPLAY=/tmp/launch-8ONZAE/org.macosforge.xquartz:0
HISTIGNORE=&:bg:fg:ll:h
HISTTIMEFORMAT=%H:%M >
HOME=/Users/andrew
HOSTFILE=/Users/andrew/.hosts
INPUTRC=/Users/andrew/.inputrc
ITERM_PROFILE=Default
ITERM_SESSION_ID=w6t1p0
LANG=en_AU.UTF-8
LOGNAME=andrew
MAKE=make
MAKEFLAGS=
MAKELEVEL=1
MFLAGS=
PATH=/usr/local/src/sage/src/bin:/usr/local/src/sage/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/usr/local/src/sage/build
PYTHONPATH=/usr/local/src/sage/local
SAGE_EXTCODE=/usr/local/src/sage/local/share/sage/ext
SAGE_LOCAL=/usr/local/src/sage/local
SAGE_LOGS=/usr/local/src/sage/logs/pkgs
SAGE_PARALLEL_SPKG_BUILD=
SAGE_ROOT=/usr/local/src/sage
SAGE_SPKG_INST=/usr/local/src/sage/local/var/lib/sage/installed
SAGE_SRC=/usr/local/src/sage/src
SAGE_VERSION=6.1.1
SECURITYSESSIONID=186a4
SHELL=/bin/bash
SHLVL=4
SSH_AUTH_SOCK=/tmp/launch-wOEVpB/Listeners
TERM=xterm-256color
TERM_PROGRAM=iTerm.app
TEXEDIT=/usr/bin/gvim +%d %s
TEXINPUTS=.:~/TeX/inputs//:!!/usr/local/src/sage/local/share/texmf//:
TIMEFORMAT=
TMPDIR=/var/folders/pz/2_c5gpmx3q90fwldvvcfc_x0000325/T/
USER=andrew
_=/usr/bin/env
__CF_USER_TEXT_ENCODING=0xC45:0:15
__CHECKFIX1436934=1
real %3R user %3U sys %3S pcpu %P
***********************************************
make base
make[2]: Nothing to be done for `base'.
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: Nothing to be done for `toolchain'.
make toolchain-deps
make /usr/local/src/sage/local/var/lib/sage/installed/zlib-1.2.8.p0
make[3]: `/usr/local/src/sage/local/var/lib/sage/installed/zlib-1.2.8.p0' is up to date.
make /usr/local/src/sage/local/var/lib/sage/installed/mpir-2.6.0.p4
make[3]: `/usr/local/src/sage/local/var/lib/sage/installed/mpir-2.6.0.p4' is up to date.
make /usr/local/src/sage/local/var/lib/sage/installed/mpfr-3.1.2.p0
make[3]: `/usr/local/src/sage/local/var/lib/sage/installed/mpfr-3.1.2.p0' is up to date.
make /usr/local/src/sage/local/var/lib/sage/installed/mpc-1.0.p0
make[3]: `/usr/local/src/sage/local/var/lib/sage/installed/mpc-1.0.p0' is up to date.
make /usr/local/src/sage/local/var/lib/sage/installed/ppl-1.1pre9.p0
make[3]: `/usr/local/src/sage/local/var/lib/sage/installed/ppl-1.1pre9.p0' is up to date.
make all-sage
/usr/local/src/sage/build/pipestatus "sage-spkg ${SAGE_SPKG_OPTS} singular-3.1.5.p9 2>&1" "tee -a /usr/local/src/sage/logs/pkgs/singular-3.1.5.p9.log"
Found local metadata for singular-3.1.5.p9
Found local sources at /usr/local/src/sage/upstream/singular-3.1.5.tar.bz2
Checksum: b4834021a4b44f43806cca2561ec942dc2185c17 vs b4834021a4b44f43806cca2561ec942dc2185c17
singular-3.1.5.p9
====================================================
Setting up build directory for singular-3.1.5.p9
/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9
Finished set up
/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9
****************************************************
Host system:
Darwin pmathas.pc.maths.usyd.edu.au 13.1.0 Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/usr/local/src/sage/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/src/sage/local/libexec/gcc/x86_64-apple-darwin13.1.0/4.7.3/lto-wrapper
Target: x86_64-apple-darwin13.1.0
Configured with: ../src/configure --prefix=/usr/local/src/sage/local --with-local-prefix=/usr/local/src/sage/local --with-gmp=/usr/local/src/sage/local --with-mpfr=/usr/local/src/sage/local --with-mpc=/usr/local/src/sage/local --with-system-zlib --disable-multilib --disable-nls
Thread model: posix
gcc version 4.7.3 (GCC)
****************************************************
### Singular spkg-install: choose_patches ###
### Singular spkg-install: apply_patches ###
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/Minor.h.patch
patching file Singular/Minor.h
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/NTL_negate.patch
patching file factory/cf_chinese.cc
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/assert.patch
patching file factory/assert.h
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/cygwin-makefile.patch
patching file Singular/Makefile.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/install_table.patch
patching file Singular/Makefile.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/osx_link.patch
patching file Singular/Makefile.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/pullrequest215.patch
patching file factory/facFqBivar.cc
patching file factory/facFqBivarUtil.cc
patching file factory/facMul.cc
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/sage_trac_12089.patch
patching file Singular/Makefile.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/sage_trac_14295.patch
patching file kernel/bigintmat.cc
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/sanitize_gmp_header_hack.patch
patching file factory/gen_cf_gmp.cc
patching file factory/gen_cf_gmp.template
patching file factory/GNUmakefile.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/sing_win.patch
patching file Singular/sing_win.cc
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_15435.patch
patching file kernel/gring.cc
patching file kernel/ring.cc
patching file kernel/ring.h
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_part_of_changeset_baadc0f7.patch
patching file factory/facFactorize.cc
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_trac_439.patch
patching file factory/facBivar.h
patching file factory/facFactorize.h
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_trac_440.patch
patching file factory/facFqBivar.cc
Hunk #1 succeeded at 5944 (offset 16 lines).
patching file factory/cf_util.cc
patching file factory/cf_util.h
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_trac_441.patch
patching file factory/facFqBivar.cc
Hunk #1 succeeded at 6118 (offset 16 lines).
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/singular_trac_443.patch
patching file Singular/configure
patching file Singular/configure.in
Applying /usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9/patches/slibdir.patch
patching file IntegerProgramming/Makefile.in
patching file Singular/Makefile.in
### Singular spkg-install: remove_old_version ###
### Singular spkg-install: config ###
creating cache ./config.cache
checking uname for singular... x86_64Mac-darwin
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -g -fPIC ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Unable to configure Singular.
Error building Singular (error in config).
real 1.110 user 0.279 sys 0.342 pcpu 55.89
************************************************************************
Error installing package singular-3.1.5.p9
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/usr/local/src/sage/logs/pkgs/singular-3.1.5.p9.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9 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 '/usr/local/src/sage/local/var/tmp/sage/build/singular-3.1.5.p9' && '/usr/local/src/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/usr/local/src/sage/local/var/lib/sage/installed/singular-3.1.5.p9] Error 1
make[1]: *** [all] Error 2
real 5.429 user 2.523 sys 0.980 pcpu 64.54
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: finite_word.py
log file: /usr/local/src/sage/logs/pkgs/finite_word.py.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/finite_word.py
singular-3.1.5.p9
Or just do a "git pull", since you are on the master branch this will give you 6.1.1 which afaik also builds on OSX 10.9.
Ok, I changed it to:$ git trac find b42c581Commit has been merged in 6.2.beta8. <--------------------- new addition
make distclean
Can you clarify what you mean here? "make distclean" should indeed return the code to its pristine download state, except that it won't clean up files in the "upstream" directory. Are there other things it doesn't clean up which it should?