Hi, Gentlemen,

I am trying to build Sage 4.3 on RHEL4 but got the following error.
Could anyone tell me how to solve it?

Thanks,
Guo

uname -a

Linux btl1lw24.btl.ms.philips.com 2.6.9-78.0.1.ELsmp #1 SMP Tue Jul 22
18:01:05 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


(cd /home/gtang/workdir/sage-4.3/local/bin; ln python2.6 python)
rm -f /home/gtang/workdir/sage-4.3/local/bin/python-config
(cd /home/gtang/workdir/sage-4.3/local/bin; ln -s python2.6-config
python-config)
/usr/bin/install -c -m 644 ./Misc/python.man \
        /home/gtang/workdir/sage-4.3/local/share/man/man1/python.1
make[2]: Leaving directory
`/scratch/workdir/sage-4.3/spkg/build/python-2.6.2.p4/src'
Sleeping for three seconds before testing python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/gtang/workdir/sage-4.3/local/lib/python/hashlib.py",
line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/home/gtang/workdir/sage-4.3/local/lib/python/hashlib.py",
line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

real    1m36.251s
user    1m14.813s
sys     0m14.973s
sage: An error occurred while installing python-2.6.2.p4
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/gtang/workdir/sage-4.3/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/gtang/workdir/sage-4.3/spkg/build/python-2.6.2.p4 and type 'make
check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/gtang/workdir/sage-4.3/spkg/build/python-2.6.2.p4' &&
'/home/gtang/workdir/sage-4.3/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/python-2.6.2.p4] Error 1
make[1]: Leaving directory `/scratch/workdir/sage-4.3/spkg'

real    1m40.792s
user    1m18.927s
sys     0m15.387s
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
URL: http://www.sagemath.org

Reply via email to