On 13/07/11 13:17, leif wrote:
On 13 Jul., 13:00, leif<[email protected]>  wrote:
Please copy

http://spkg-upload.googlecode.com/files/python-2.6.4.p11.spkg

into your $SAGE_ROOT/spkg/standard/ directory and simply rerun "make".

The updated spkg fixes the issue on /all/ (newer) Debians and
derivates (where the error occurs); cf. #11447 [1].
P.S.: The above requires "dpkg-architecture" from the Debian package
"dpkg-dev" to be installed, e.g. with "sudo apt-get install dpkg-dev".

(Otherwise the build will again fail, telling to install it.)

One can test in advance whether it is installed by typing "which dpkg-
archicture", which should give something like "/usr/bin/dpkg-
architecture".


-leif

Thanks a lot (in special leif and wjp) for your help. Just in case somebody faces a similar complication, I describe here what I did:

1) Copy  python-2.6.4.p11.spkg in $SAGE_ROOT/spk/standard/
2) test that versions of gcc, g++ and gfortran match (in my case I tested the installation with versions 4.5 and versions 4.6). See point 4 for details.
3) Type make

After that I found a problems with ATLAS because the computer decided to sleep. I simply disabled the option "put computer to sleep" in the desktop. To monitor ATLAS during compilation, you can simply type: "tail -f $SAGE_ROOT/spkg/logs/atlas-* | grep STAGE"

4) For some unknown reasons, the linker was not properly working. An update binutils and libstdc++6 package of debian and 'sudo ldconfig' solved the problem (still do not know how...). For some reason, Debian testing decided to move the C/C++ libraries from /lib to /usr/lib/i386-linux-gnu, and everything was messed up in my system.

5) After that I faced the following problem: It failed to install pycrypto-2.1.0, with the following message. /usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.5.3/cc1: symbol lookup error: /usr/lib/libppl_c.so.4: undefined symbol: _ZN23Parma_Polyhedra_Library13have_sse_unitE. Fortunately, wjp suggested a link to work out this problem: you can read it in >>> https://groups.google.com/forum/#!topic/sage-devel/hLL02U1Q5zU. In summary, delete $SAGE_LOCAL/lib/libppl.so.9.0.0 and replace it with a symlink to your system libppl (e.g /usr/lib/libpp.so.9.0.0)

And after that, everything worked nicely....!

Best

Jose

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to