I downloaded the lastest sage (4.7) and attempted to build it the
fails with the following error:
building 'Crypto.PublicKey._fastmath' extension
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-2.6/src
gcc -Wall -Wstrict-prototypes -I/home/robert/sage-4.7/local/include
-L/home/robert/sage-4.7/local/lib -fPIC -O3 -fomit-frame-pointer
-Isrc/ -I/home/robert/sage-4.7/local/include/python2.6 -c
src/_fastmath.c -o build/temp.linux-i686-2.6/src/_fastmath.o
/usr/lib/gcc/i586-suse-linux/4.5/cc1: symbol lookup error:
/usr/lib/libppl_c.so.4: undefined symbol:
_ZN23Parma_Polyhedra_Library13have_sse_unitE
error: command 'gcc' failed with exit status 1
Error installing PyCrypto... exiting
This build is on opensuse 11.4 running inside virutalbox. The version
of libppl that opensuse comes with is (according to package manager)
11-3.3
I can supply more information if needed. Is there something simple
that I am missing?
Robert
Ah right I meant 4.7.rc1 by the lastest 4.7. Should have posted to
another group?
Robert
>I'm a bit confused as to what Suse is shipping, the latest ppl release is 11.2
Looking a little at the opensuse site it says that the version of
libppl is 11. and the release (of the package?) is 3.3 if this helps?
>As a workaround, you can delete $SAGE_LOCAL/lib/libppl.so.9.0.0 and replace it with a symlink to your system libppl (/usr/lib64/libppl.so or >somesuch). Then re-run make.
Have done this and it now seems to be compiling fine thanks again.
Robert
I confirm that on openSUSE 11.4 32bit edition this compilation bug is present.
It works after workaround.
On openSUSE 11.4 64bit edition it works fine.
Thank you,
Andrei
PS: I'm compiling sage 4.7.1