Delete the "local" directory and then rebuild

On Tuesday, June 14, 2016 at 6:22:33 PM UTC+2, Ben Salisbury wrote:
>
> Hi all,
>
> I recently attempted to update to the latest development version of Sage. 
>  However, I had to stop the process during the `make distclean` stage using 
> `Cmd+C`.  (This is something I thought I had done before, so thought 
> nothing of it.)  Now, nothing will make within the sage-git directory.
>
> mth-pe206h-mac01:sage-git salis1bt$ export MAKE="make -j4"
> mth-pe206h-mac01:sage-git salis1bt$ export SAGE_NUM_THREADS=4
> mth-pe206h-mac01:sage-git salis1bt$ export SAGE_PARALLEL_SPKG_BUILD=yes 
> export SAGE_PORT=yes
> mth-pe206h-mac01:sage-git salis1bt$ make distclean && make
> make -j4 build/make/Makefile
> ./bootstrap -d
> rm -rf config configure build/make/Makefile-auto.in
> ./bootstrap: line 29: aclocal: command not found
> Bootstrap failed, downloading required files instead.
> Traceback (most recent call last):
>  File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in 
> <module>
>    import sage_bootstrap
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", 
> line 2, in <module>
>    from sage_bootstrap.config import Configuration
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", 
> line 34, in <module>
>    import logging
>  File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", 
> line 26, in <module>
>    import sys, os, time, cStringIO, traceback, warnings, weakref, 
> collections
>  File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, 
> in <module>
>    from operator import itemgetter as _itemgetter, eq as _eq
> ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-
> dynload/operator.so, 2): Symbol not found: 
> __PyUnicodeUCS4_AsDefaultEncodedString
>  Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload
> /operator.so
>  Expected in: flat namespace
> in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so
> Error: downloading configure-169.tar.gz failed
> make[1]: *** [configure] Error 1
> make: *** [build-clean] Error 2
>
>
> mth-pe206h-mac01:sage-git salis1bt$ make doc
> make -j4 build/make/Makefile
> ./bootstrap -d
> rm -rf config configure build/make/Makefile-auto.in
> ./bootstrap: line 29: aclocal: command not found
> Bootstrap failed, downloading required files instead.
> Traceback (most recent call last):
>  File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in 
> <module>
>    import sage_bootstrap
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", 
> line 2, in <module>
>    from sage_bootstrap.config import Configuration
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", 
> line 34, in <module>
>    import logging
>  File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", 
> line 26, in <module>
>    import sys, os, time, cStringIO, traceback, warnings, weakref, 
> collections
>  File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, 
> in <module>
>    from operator import itemgetter as _itemgetter, eq as _eq
> ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-
> dynload/operator.so, 2): Symbol not found: 
> __PyUnicodeUCS4_AsDefaultEncodedString
>  Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload
> /operator.so
>  Expected in: flat namespace
> in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so
> Error: downloading configure-169.tar.gz failed
> make[1]: *** [configure] Error 1
> make: *** [doc] Error 2
>
>
> mth-pe206h-mac01:sage-git salis1bt$ make doc-clean
> make -j4 build/make/Makefile
> ./bootstrap -d
> rm -rf config configure build/make/Makefile-auto.in
> ./bootstrap: line 29: aclocal: command not found
> Bootstrap failed, downloading required files instead.
> Traceback (most recent call last):
>  File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in 
> <module>
>    import sage_bootstrap
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", 
> line 2, in <module>
>    from sage_bootstrap.config import Configuration
>  File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", 
> line 34, in <module>
>    import logging
>  File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", 
> line 26, in <module>
>    import sys, os, time, cStringIO, traceback, warnings, weakref, 
> collections
>  File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, 
> in <module>
>    from operator import itemgetter as _itemgetter, eq as _eq
> ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-
> dynload/operator.so, 2): Symbol not found: 
> __PyUnicodeUCS4_AsDefaultEncodedString
>  Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload
> /operator.so
>  Expected in: flat namespace
> in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so
> Error: downloading configure-169.tar.gz failed
> make[1]: *** [configure] Error 1
> make: *** [doc-clean] Error 2
>
>
> I've tried `./configure', but that doesn't help either:
>
> mth-pe206h-mac01:sage-git salis1bt$ ./configure
> -bash: ./configure: No such file or directory
>
> My system is currently running OS X 10.11.5, the latest version of 
> xcode/command line tools, python version 2.7.10.  Any ideas how to fix this 
> without completely starting over?
>
> Best,
> Ben
>

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

Reply via email to