On 05/28/2011 04:54 PM, Francois Bissey wrote:
> Hi,
>
> system:
> Linux 2.6.38-ARCH #1 SMP PREEMPT i686 Intel(R) Pentium(R) M processor
> 1600MHz GenuineIntel GNU/Linux
>
> with gcc 4.6.0
>
> Sage 4.7 fails to build. make exited with this error
> ---------------------------------------
> running build_ext
> 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/grout/sage-4.7/local/include
> -L/home/grout/sage-4.7/local/lib -fPIC -O3 -fomit-frame-pointer -Isrc/
> -I/home/grout/sage-4.7/local/include/python2.6 -c src/_fastmath.c -o
> build/temp.linux-i686-2.6/src/_fastmath.o
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/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
>
> real 0m0.348s
> user 0m0.127s
> sys 0m0.030s
> sage: An error occurred while installing pycrypto-2.1.0
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/grout/sage-4.7/install.log. Describe your computer,
> operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/grout/sage-4.7/spkg/build/pycrypto-2.1.0 and type 'make check'
> or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
> (cd '/home/grout/sage-4.7/spkg/build/pycrypto-2.1.0' &&
> '/home/grout/sage-4.7/sage' -sh)
> When you are done debugging, you can type "exit" to leave the
> subshell.
> make[1]: *** [installed/pycrypto-2.1.0] Error 1
> make[1]: Leaving directory `/home/grout/sage-4.7/spkg'
>
> real 178m48.140s
> user 98m15.989s
> sys 7m54.596s
> Error building Sage.
> make: *** [build] Error 1
> --------------------------------------------------
>
> I ran into the same error doing sage -upgrade, which unfortunately broke
> my current sage.
>
This has already been reported on this list and trac.
See here for the reports from Robert Gross from Arch:
https://groups.google.com/forum/#!topic/sage-devel/hLL02U1Q5zU
http://trac.sagemath.org/sage_trac/ticket/11391
Thanks for the link. The solution in the google groups discussion seems
to work for me (replacing the libppl.so.9.0.0 in sage lib dir with the
system version of the library).
Thanks
Ryan
--
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