Hi all,

I'm trying to build sage from source on my lap top and am having
trouble. According to the install log it can't install pycrypto and
suggested I either go here for help or try and debug it myself. I'm
still learning bash and didn't think it would be a good idea to try
the latter.

More detail: I downloaded the source files and extracted them in my
home directory and proceeded to build as usual. After about 40 minutes
it stopped with an error saying it can't install pycripto-2.1.0.
Pasted below are what I think/hope are the relevent parts of my
install.log. I'm using a Dell studio laptop on arch linux.

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/ssu/sage-4.7.2/local/include -L/
home/ssu/sage-4.7.2/local/lib -fPIC -O3 -fomit-frame-pointer -Isrc/ -I/
home/ssu/sage-4.7.2/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.2/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.106s
user    0m0.063s
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/ssu/sage-4.7.2/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/ssu/sage-4.7.2/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/ssu/sage-4.7.2/spkg/build/pycrypto-2.1.0' && '/home/ssu/
sage-4.7.2/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/ssu/sage-4.7.2/spkg'

real    70m12.820s
user    60m49.915s
sys     4m38.312s
Error building Sage.

...

***********************************************
make[1]: Entering directory `/home/ssu/sage-4.7.2/spkg'
/home/ssu/sage-4.7.2/spkg/pipestatus "sage-spkg ${SAGE_SPKG_OPTS}
pycrypto-2.1.0 2>&1" "tee -a /home/ssu/sage-4.7.2/spkg/logs/
pycrypto-2.1.0.log"
Warning: Attempted to overwrite SAGE_ROOT environment variable
pycrypto-2.1.0
Machine:
Linux navi 3.1.5-1-ARCH #1 SMP PREEMPT Sun Dec 11 06:26:14 UTC 2011
i686 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux
Deleting directories from past builds of previous/current versions of
pycrypto-2.1.0
Extracting package /home/ssu/sage-4.7.2/spkg/standard/
pycrypto-2.1.0.spkg ...
-rw-r--r-- 1 ssu users 248225 Jun 25  2010 /home/ssu/sage-4.7.2/spkg/
standard/pycrypto-2.1.0.spkg
Finished extraction

...

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/ssu/sage-4.7.2/local/include -L/
home/ssu/sage-4.7.2/local/lib -fPIC -O3 -fomit-frame-pointer -Isrc/ -I/
home/ssu/sage-4.7.2/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.2/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    0m1.648s
user    0m0.077s
sys     0m0.027s
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/ssu/sage-4.7.2/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/ssu/sage-4.7.2/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/ssu/sage-4.7.2/spkg/build/pycrypto-2.1.0' && '/home/ssu/
sage-4.7.2/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/ssu/sage-4.7.2/spkg'

real    0m2.670s
user    0m0.217s
sys     0m0.073s
Error building Sage.

...

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/ssu/sage-4.7.2/local/include -L/
home/ssu/sage-4.7.2/local/lib -fPIC -O3 -fomit-frame-pointer -Isrc/ -I/
home/ssu/sage-4.7.2/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.2/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    0m1.081s
user    0m0.080s
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/ssu/sage-4.7.2/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/ssu/sage-4.7.2/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/ssu/sage-4.7.2/spkg/build/pycrypto-2.1.0' && '/home/ssu/
sage-4.7.2/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/ssu/sage-4.7.2/spkg'

...

make[1]: Entering directory `/home/ssu/sage-4.7.2/spkg'
/home/ssu/sage-4.7.2/spkg/pipestatus "sage-spkg ${SAGE_SPKG_OPTS}
pycrypto-2.1.0 2>&1" "tee -a /home/ssu/sage-4.7.2/spkg/logs/
pycrypto-2.1.0.log"
Warning: Attempted to overwrite SAGE_ROOT environment variable
pycrypto-2.1.0
Machine:
Linux navi 3.1.5-1-ARCH #1 SMP PREEMPT Sun Dec 11 06:26:14 UTC 2011
i686 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux
Deleting directories from past builds of previous/current versions of
pycrypto-2.1.0
Extracting package /home/ssu/sage-4.7.2/spkg/standard/
pycrypto-2.1.0.spkg ...
-rw-r--r-- 1 ssu users 248225 Jun 25  2010 /home/ssu/sage-4.7.2/spkg/
standard/pycrypto-2.1.0.spkg
Finished extraction

And so on. Since it's too big to upload to pastebin or similar
services here's a .zip. I hope this is sufficient information.

http://www.mediafire.com/?76o6xm2hc83xrt3

Cheers,

Paul/ssu

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