guo tang wrote: > On Mon, Jan 4, 2010 at 9:25 AM, Jaap Spies<j.sp...@hccnet.nl> wrote: >> guo tang wrote: >>> 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 >>> >> >> Same error here on Open Solaris 64 bit. I think it has something to >> do with ssl. Look in the install.log for: >> Failed to build these modules: >> _curses _curses_panel _hashlib >> _ssl _tkinter sunaudiodev >> >> Installing openssl may help, but I'm not sure. > > Jaap, > > You mean install through yum/rpm or inside Sage? I don't have root > permission of the system to use yum.
Don't know whether installing in Sage will work. You can try to install it in your home directory, but than you may have problems with gcc finding the lib. Maybe your better go for an binary. Is there any for RHEL4? Couldn't find one. Hope there is some mor knowledgable person comes to the recue. Jaap -- 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