On 17 April 2011 09:23, Jan Groenewald <j...@aims.ac.za> wrote:
> Hi
>
> On Sun, Apr 17, 2011 at 08:27:55AM +0100, David Kirkby wrote:
>> >> *** WARNING: renaming "crypt" since importing it failed: 
>> >> build/lib.linux-x86_64-2.6/crypt.so: undefined symbol: crypt
>>
>> Can you look spkg/logs/python-2.6.4.p9 and see if you can find a
>> section like this:
>> Failed to find the necessary bits to build these modules:
>> Failed to build these modules:
>> Let us know what you have.
>
>   Failed to find the necessary bits to build these modules:
>   _bsddb             _hashlib           _ssl
>   _tkinter           bsddb185           dbm
>   dl                 gdbm               imageop
>   sunaudiodev
>   To find the necessary bits, look in setup.py in detect_modules() for the 
> module's name.
>
>
>   Failed to build these modules:
>   crypt              nis

OK, its clear Python failed to build the crypt module. I assume this
means it found the bits to build it, but was unable to.

> Full logs at 
> http://users.aims.ac.za/~jan/sage/install.log-sage4.6.2-ubuntu11.04-amd64-beta2.bz2

The output of install.log is pretty useless if someone does parallel
builds of packages as the order of entries is essentially random.
I've not checked your log, but can you provide one of just the python
log in spkg/logs. That should show the problem, without downloading a
huge file filled with unnecessary things.

It would also be helpful if you could download Python 2.6.4 from the
python web site and see if that builds this module. Also try for the
latest of the 2.x series.

If the problem persists when you try to build the latest Python 2.x,
then it might be worth reporting this to the python bug tracker, after
first checking to see if someone else has reported it.

This could be something specific to Sage- we have made numerous
patches to Python 2.6.4, but it could be a more general problem. Try
googling to see if others have problems with the "crypt" module on
your release of the operating system.

> Regards,
> Jan

Dave

-- 
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