On Mon, Oct 19, 2009 at 7:36 AM, Pablo Angulo <[email protected]> wrote: > > Hello: After an "Illegal instruction" error, I tried to rebuild MPIR and > ATLAS (as explained in > http://wiki.sagemath.org/faq#Otherquestions), but make failed, with the > following log: > > > /bin/ls: cannot access bzip2-*-install: No such file or directory > /bin/ls: cannot access dir-*-install: No such file or directory > /bin/ls: cannot access prereq-*-install: No such file or directory > make[1]: Entering directory > `/opt/sage-4.1.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/spkg' > standard/deps:43: warning: overriding commands for target `installed/' > standard/deps:40: warning: ignoring old commands for target `installed/' > standard/deps:46: warning: overriding commands for target `installed/' > standard/deps:43: warning: ignoring old commands for target `installed/' > standard/deps:188: warning: overriding commands for target `installed/' > standard/deps:46: warning: ignoring old commands for target `installed/' > make[1]: Circular installed/python-2.6.2.p1 <- installed/ dependency > dropped. > make[1]: Circular installed/python-2.6.2.p1 <- installed/ dependency > dropped. > make[1]: Circular installed/python-2.6.2.p1 <- installed/ dependency > dropped. > make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency dropped. > make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency dropped. > make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency dropped. > make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency > dropped. > make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency > dropped. > make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency > dropped. > make[1]: Circular installed/readline-5.2.p7 <- installed/ dependency > dropped. > make[1]: Circular installed/readline-5.2.p7 <- installed/ dependency > dropped. > make[1]: Circular installed/readline-5.2.p7 <- installed/ dependency > dropped. > make[1]: Circular installed/libpng-1.2.35 <- installed/ dependency dropped. > make[1]: Circular installed/libpng-1.2.35 <- installed/ dependency dropped. > make[1]: Circular installed/libpng-1.2.35 <- installed/ dependency dropped. > make[1]: Circular installed/ <- installed/ dependency dropped. > make[1]: Circular installed/ <- installed/ dependency dropped. > make[1]: Circular installed/ <- installed/ dependency dropped. > sage-spkg mpir-1.2.p4 2>&1 > You must set the SAGE_ROOT environment variable or > run this script from the SAGE_ROOT or > SAGE_ROOT/local/bin/ directory. > mpir-1.2.p4 > Machine: > Linux nevera 2.6.24-24-generic #1 SMP Fri Sep 18 16:49:39 UTC 2009 i686 > GNU/Linux > Deleting directories from past builds of previous/current versions of > mpir-1.2.p4 > Extracting package > /opt/sage-4.1.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/spkg/standard/mpir-1.2.p4.spkg > ... > -rw-r--r-- 1 pablo pablo 107 2009-08-16 01:00 > /opt/sage-4.1.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/spkg/standard/mpir-1.2.p4.spkg > tar: This does not look like a tar archive > tar: Error exit delayed from previous errors > Finished extraction > sage: After decompressing the directory mpir-1.2.p4 does not exist > This means that the corresponding .spkg needs to be downloaded > again. > http://www.sagemath.org//packages/optional/mpir-1.2.p4.spkg --> > mpir-1.2.p4.spkg > [ ] > http://www.sagemath.org//packages/standard/mpir-1.2.p4.spkg --> > mpir-1.2.p4.spkg > [ ] > http://www.sagemath.org//packages/experimental/mpir-1.2.p4.spkg --> > mpir-1.2.p4.spkg > [ ] > http://www.sagemath.org//packages/archive/mpir-1.2.p4.spkg --> > mpir-1.2.p4.spkg > [ ] > ********************************************************************** > * Unable to download mpir-1.2.p4 > * Please see http://www.sagemath.org//packages for a list of valid > * packages or check the package name. > ********************************************************************** > /opt/sage-4.1.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/spkg/build > bunzip2: Can't open input file mpir-1.2.p4.spkg: No such file or directory. > tar: This does not look like a tar archive > tar: Error exit delayed from previous errors > tar: mpir-1.2.p4.spkg: Cannot open: No such file or directory > tar: Error is not recoverable: exiting now > Second download resulted in a corrupted package. > make[1]: *** [installed/mpir-1.2.p4] Error 1 > make[1]: Leaving directory > `/opt/sage-4.1.1-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/spkg' > > real 0m3.567s > user 0m0.108s > sys 0m0.036s > Error building Sage. > make: *** [all] Error 1 > > > Any ideas? I can try to completely build from source, but what I'd > really like to know is if "rebuild MPIR and ATLAS" solve the "Illegal > instruction" problem.
Yes, it would. You should use sage-4.1.2, by the way, which just came out. Also, the problem above looks like a networking issue? You can download spkg's directly from http://sagemath.org/packages/standard/ and do ./sage -f name_of_package.spkg to force re-install. William > > Thanks! > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
