On Wed, 18 Jul 2012 10:03:11 Clark Rinker wrote: > Hello, > > I received the following error when attempting to build sage 5.1. > > OS Details: > Red Hat Enterprise 16 X86-64 > 1GB RAM > > Error From Log File: > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > > /var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/s > age-5.0.1/spkg/logs/linbox-1.1.6.p10.log Describe your computer, operating > system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/s > age-5.0.1/spkg/build/linbox-1.1.6.p10 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 > '/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.0.1/spkg/build/linbox-1.1.6.p10' && > '/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.0.1/sage' -sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > make[1]: *** [installed/linbox-1.1.6.p10] Error 1 > make[1]: Leaving directory > `/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.0.1/spkg' > > > Error From Subshell > > File "/usr/bin/trap-user", line 3, in <module> > import sys, os > File > "/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.1/local/lib/python/os.py", line 398, in <module> > import UserDict > File > "/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app- root/.1/local/lib/python/UserDict.py", line 83, in <module> > import _abcoll > File > "/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.1/local/lib/python/_abcoll.py", line 11, in <module> > from abc import ABCMeta, abstractmethod > File > "/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.1/local/lib/python/abc.py", line 8, in <module> > from _weakrefset import WeakSet > File > "/var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app-root/runtime/repo/ > sage-5.1/local/lib/python/_weakrefset.py", line 5, in <module> > from _weakref import ref > ImportError: No module named _weakref > > In this case I think you followed the wrong instructions. You should post the file: /var/lib/stickshift/4f7adf56a97a4aacab072b62c77462f6/app- root/runtime/repo/sage-5.0.1/spkg/logs/linbox-1.1.6.p10.log or parts of it showing the error. Just as a wild guess do you have a system wide ATLAS installed?
Francois -- -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
