On Tue, Jun 19, 2012 at 12:39 PM, Michael Welsh <yom...@yomcat.geek.nz>wrote:

> I'm trying to install Sage 5.0.1 from source on this machine (running
> Archlinux).
>
> Linux lagrange.msor.vuw.ac.nz 3.2.4-1-ARCH #1 SMP PREEMPT Sat Feb 4
> 11:21:15 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
> GenuineIntel GNU/Linux
>
> The full install log is at http://yomcat.geek.nz/sage/lagrange.txt
>
> The following packages fail to build:
> spkg/logs/libm4rie-20111004.p2.log
> spkg/logs/maxima-5.26.0.p0.log
> spkg/logs/mpc-1.0.0dev1126.p1.log
>
> I think these are the relevant parts of the log:
>
> checking for gawk... gawk
> checking whether make sets $(MAKE)... libtool: install: chmod 644
> /local/scratch/sage-5.0.1/local/lib/libpwl.a
> libtool: install: ranlib /local/scratch/sage-5.0.1/local/lib/libpwl.a
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./src
> -I/local/scratch/sage-5.0.1/local/include -I/include -mmmx -msse -msse2
> -msse3 -I/local/scratch/sage-5.0.1/local/include -g -O2 -MT trsm.lo -MD -MP
> -MF .deps/trsm.Tpo -c src/trsm.c  -fPIC -DPIC -o .libs/trsm.o
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/cc1: symbol lookup error:
> /usr/lib/libppl_c.so.4: undefined symbol:
> _ZN23Parma_Polyhedra_Library13have_sse_unitE
> yes
> make[3]: *** [trsm.lo] Error 1
> make[3]: Leaving directory
> `/local/scratch/sage-5.0.1/spkg/build/libm4rie-20111004.p2/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/local/scratch/sage-5.0.1/spkg/build/libm4rie-20111004.p2/src'
> Error building libm4rie
>
> real    0m34.386s
> user    0m10.986s
> sys     0m0.667s
> checking whether to enable maintainer-specific portions of Makefiles... no
> ************************************************************************
> Error installing package libm4rie-20111004.p2
>
> /bin/sh ../mkinstalldirs /local/scratch/sage-5.0.1/local/share/doc/pwl
> for file in ./*.txt ./README.doc; do \
>  /bin/install -c -m 644 $file
> /local/scratch/sage-5.0.1/local/share/doc/pwl/`basename $file`; \
> done
> Invalid configuration `i686-pc-linux-': machine `i686-pc-linux' not
> recognized
> configure: error: /bin/sh ./config.sub i686-pc-linux- failed
> for file in BUGS COPYING CREDITS ChangeLog NEWS README; do \
>  /bin/install -c -m 644 ./../$file
> /local/scratch/sage-5.0.1/local/share/doc/pwl/$file; \
> done
> Error configuring MPC.
>
> real    0m1.984s
> user    0m0.060s
> sys     0m0.000s
> ************************************************************************
> Error installing package mpc-1.0.0dev1126.p1
>
> ;;; Finished compiling
> /local/scratch/sage-5.0.1/spkg/build/maxima-5.26.0.p0/src/src/hayat.lisp.
> ;;;
> /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/cc1: symbol lookup error:
> /usr/lib/libppl_c.so.4: undefined symbol:
> _ZN23Parma_Polyhedra_Library13have_sse_unitE
> An error occurred during initialization:
> Error code 1 when executing
> (RUN-PROGRAM "gcc" ("-I." "-I/local/scratch/sage-5.0.1/local/include/"
>                   "-I/local/scratch/sage-5.0.1/local/include"
>                   "-I/local/scratch/sage-5.0.1/local/include"
> "-D_GNU_SOURCE"
>                   "-D_FILE_OFFSET_BITS=64" "-g" "-O2" "-fPIC" "-Dlinux"
> "-O2"
>                   "-w" "-c" "/tmp/eclinitJX1h3C.c" "-o"
>                   "/tmp/eclinitJX1h3C.o")).
> ;;; Note:
> ;;;   Invoking external command:
> ;;;   gcc -I. -I/local/scratch/sage-5.0.1/local/include/
> -I/local/scratch/sage-5.0.1/local/include
> -I/local/scratch/sage-5.0.1/local/include -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -O2 -w -c /tmp/eclinitJX1h3C.c
> -o /tmp/eclinitJX1h3C.o make[3]: *** [binary-ecl/maxima] Error 1
> make[3]: Leaving directory
> `/local/scratch/sage-5.0.1/spkg/build/maxima-5.26.0.p0/src/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/local/scratch/sage-5.0.1/spkg/build/maxima-5.26.0.p0/src'
> ***********************************************************
> Error: Failed to build Maxima.
> ***********************************************************
>
> real    4m56.061s
> user    2m17.804s
> sys     0m8.363s
> ************************************************************************
> Error installing package maxima-5.26.0.p0
>
> Thanks,
> Michael
>
> --
> 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
>

This seems to be a documented problem:
http://trac.sagemath.org/sage_trac/ticket/11391. You can try replacing the
ppl spkg found under $SAGE_ROOT/spkg/standard with
https://github.com/downloads/aginiewicz/spkgs/ppl-0.11.2.p2.spkg, and then
rebuild.

Yours,
Tim Joseph Dumol

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