I just downloaded the source of sage 4.1 from sagemath.org, and tried
to build it (using make).  It failed.

Here are some relevant parts of the install.log

building 'dbm' extension
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -DHAVE_GDBM_NDBM_H -I. -I/east/u/victor/sage-4.1/
spkg/build/python-2.6.2.p1/src/./Include -I. -IInclude -I./Include -I/
east/u/victor/sage-4.1/local/include -I/usr/local/include -I/east/u/
victor/sage-4.1/spkg/build/python-2.6.2.p1/src/Include -I/east/u/
victor/sage-4.1/spkg/build/python-2.6.2.p1/src -c /east/u/victor/
sage-4.1/spkg/build/python-2.6.2.p1/src/Modules/dbmmodule.c -o build/
temp.linux-i686-2.6/east/u/victor/sage-4.1/spkg/build/python-2.6.2.p1/
src/Modules/dbmmodule.o
gcc -pthread -shared -L/east/u/victor/sage-4.1/local/lib -I. -IInclude
-I./Include -I/east/u/victor/sage-4.1/local/include build/temp.linux-
i686-2.6/east/u/victor/sage-4.1/spkg/build/python-2.6.2.p1/src/Modules/
dbmmodule.o -L/east/u/victor/sage-4.1/local/lib -L/usr/local/lib -
lgdbm -o build/lib.linux-i686-2.6/dbm.so
*** WARNING: renaming "dbm" since importing it failed: build/lib.linux-
i686-2.6/dbm.so: undefined symbol: dbm_firstkey

...

gcc -pthread -shared -L/east/u/victor/sage-4.1/local/lib -I. -IInclude
-I./Include -I/east/u/victor/sage-4.1/local/include build/temp.linux-
i686-2.6/east/u/victor/sage-4.1/spkg/build/python-2.6.2.p1/src/Modules/
dbmmodule.o -L/east/u/victor/sage-4.1/local/lib -L/usr/local/lib -
lgdbm -o build/lib.linux-i686-2.6/dbm.so
*** WARNING: renaming "dbm" since importing it failed: build/lib.linux-
i686-2.6/dbm.so: undefined symbol: dbm_firstkey

Failed to find the necessary bits to build these modules:
bsddb185           sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.


Failed to build these modules:
dbm                                                   Sleeping for
three seconds before testing python
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named hashlib
hashlib module failed to import

real    3m59.578s
user    1m45.004s
sys     0m35.585s
sage: An error occurred while installing python-2.6.2.p1
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /east/u/victor/sage-4.1/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/east/u/victor/sage-4.1/spkg/build/python-2.6.2.p1 and type 'make'.
Instead type "/east/u/victor/sage-4.1/sage -sh"
in order to set all environment variables correctly, then cd to
/east/u/victor/sage-4.1/spkg/build/python-2.6.2.p1
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/python-2.6.2.p1] Error 1
make[1]: Leaving directory `/east/u/victor/sage-4.1/spkg'

real    31m0.016s
user    15m22.321s
sys     4m43.551s
Error building Sage.


...






--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to