2012/1/22 François Bissey <francois.bis...@canterbury.ac.nz>: > On Sun, 22 Jan 2012 17:31:34 Stephen Montgomery-Smith wrote: >> One thing I want to rule out is that the problem is created by python. >> FreeBSD has a working python version 2.7. How do I tell the sage build >> to use the FreeBSD python rather than building its own? > That kind of scenario is very much unsupported (He says while producing > sage-on-gentoo that does just that). > Seriously using system python with the stock sage tarball is just asking > for a lot of pain (including serious patching).
The major problem is "bootstraping", and possibly "political" issues if you need patches in other packages you do not maintain. Once you get it working, usually updating to a newer sagemath is reasonably simple, just don't let it rot for too long. François know I did not look in my sage package for almost too months :-) While I had some known doctest failures for very long due to using a different version of some component, e.g. python, for several times I found bugs that just did not trigger in sage due to it not using packages outside its install tree. > I don't think your problem is with python strictly speaking, if it turns out > to be pynac, that's quite different, although discussion is that something > in the sage code can be done to mitigate the issue. Since the problem appears to be related to linbox, besides the patch I suggested, maybe this can help: $ ldd /usr/lib64/liblinboxsage.so.0.0.0 linux-vdso.so.1 => (0x00007fff24f62000) libntl.so.5 => /usr/lib64/../lib64/libntl.so.5 (0x00007f1670bd9000) liblinbox.so.0 => /usr/lib64/../lib64/liblinbox.so.0 (0x00007f16709c7000) libcblas.so.3 => /usr/lib64/atlas-sse3/libcblas.so.3 (0x00007f167076e000) libgmp.so.10 => /usr/lib64/../lib64/libgmp.so.10 (0x00007f1670500000) libgivaro.so.0 => /usr/lib64/../lib64/libgivaro.so.0 (0x00007f16702b2000) libstdc++.so.6 => /usr/lib64/../lib64/libstdc++.so.6 (0x00007f166ffb4000) libm.so.6 => /lib64/libm.so.6 (0x00007f166fd30000) libc.so.6 => /lib64/libc.so.6 (0x00007f166f980000) libgcc_s.so.1 => /usr/lib64/../lib64/libgcc_s.so.1 (0x00007f166f76b000) libgf2x.so.1 => /usr/lib64/libgf2x.so.1 (0x00007f166f55d000) libatlas.so.3 => /usr/lib64/atlas-sse3/libatlas.so.3 (0x00007f166ef44000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f166ed28000) /lib64/ld-linux-x86-64.so.2 (0x00007f167136c000) $ ldd /usr/lib64/liblinbox.so.0.0.0 linux-vdso.so.1 => (0x00007fff6bbf0000) libstdc++.so.6 => /usr/lib64/../lib64/libstdc++.so.6 (0x00007fbf6f86b000) libm.so.6 => /lib64/libm.so.6 (0x00007fbf6f5ab000) libc.so.6 => /lib64/libc.so.6 (0x00007fbf6f1fc000) libgcc_s.so.1 => /usr/lib64/../lib64/libgcc_s.so.1 (0x00007fbf6efe7000) /lib64/ld-linux-x86-64.so.2 (0x00007fbf6fd7b000) > Francois Paulo -- 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