On Feb 12, 2010, at 12:50 AM, Dr. David Kirkby wrote:


I agree in this case, something went wrong, but on other occasions, I've seen this problem without lots of modules failing. Here is one section of a previous build failure on SPARC:


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


Failed to build these modules:
_curses            _curses_panel      _hashlib
_ssl

This means that openssl headers were found (i.e. its on the system) but there was an error linking against it (either at compile or load time, you'd have to look at the log to be sure (grep for _hashlib.so)).

One obvious thing I did not do in this case, which I've done on all previous occasions, has been to apply all the Sun recommended patches. This time I specifically chose to install the only patch I knew was certainly needed, which was to fix a gcc issue with the Sun suplied version of gcc, which would have prevented me building a later gcc. Let me rebuild this with the Sun recommended patches installed. I suspect this is more likely to be the problem.

It's strange that both zlib and bzip2 modules failed to build, but both the zlib and bzip2 packages in Sage built ok. Something fundamentally went wrong here, but I know there has been other occasions when the number of modules failing has been *considerably* less.

The above list is every module that it attempted to build with distutils, nothing to do with zlib, etc. Here's what goes wrong with what looks like every one, looks like it's not finding libgcc.

building 'time' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict- prototypes -I. -I/export/home/drkirkby/sage-4.3.2/spkg/build/ python-2.6.4.p5/src/./Include -I. -IInclude -I./Include -I/export/home/ drkirkby/sage-4.3.2/local/include -I/export/home/drkirkby/sage-4.3.2/ spkg/build/python-2.6.4.p5/src/Include -I/export/home/drkirkby/ sage-4.3.2/spkg/build/python-2.6.4.p5/src -c /export/home/drkirkby/ sage-4.3.2/spkg/build/python-2.6.4.p5/src/Modules/timemodule.c -o build/temp.solaris-2.10-sun4u-2.6/export/home/drkirkby/sage-4.3.2/spkg/ build/python-2.6.4.p5/src/Modules/timemodule.o gcc -shared -L/export/home/drkirkby/sage-4.3.2/local/lib -I. -IInclude -I./Include -I/export/home/drkirkby/sage-4.3.2/local/include build/ temp.solaris-2.10-sun4u-2.6/export/home/drkirkby/sage-4.3.2/spkg/build/ python-2.6.4.p5/src/Modules/timemodule.o -L/export/home/drkirkby/ sage-4.3.2/local/lib -lm -o build/lib.solaris-2.10-sun4u-2.6/time.so *** WARNING: renaming "time" since importing it failed: ld.so.1: ./ python: fatal: libgcc_s.so.1: open failed: No such file or directory

- Robert


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