On Mon, Mar 3, 2008 at 1:01 PM, Chris S. <[EMAIL PROTECTED]> wrote: > > I am trying to install sage 2.10.2 on Ubuntu 7.10. I have tried both > installation from a precompiled binary and from source. Each led to an > error (below). I also tried installing sage 2.10.1 from source which > had the same error as version 2.10.2: > > First, installing a precompiled binary: > > [EMAIL PROTECTED]:~$ tar zxvf > /media/hda2/sage-2.10.2-linux-32bit-ubuntu-i686- > Linux.tar.gz > > (lots of output) > ... > sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libz.so > sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libm4ri.so > sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libntl.so > tar: Skipping to next header > > gzip: stdin: invalid compressed data--crc error > > gzip: stdin: invalid compressed data--length error > tar: Child returned status 1 > tar: Error exit delayed from previous errors
This means that your download was corrupted. A prerequisite for installing Sage is that you can download files without them being corrupted. -- William > > // at this point I renamed the directory to "Sage" > [EMAIL PROTECTED]:~$ cd Sage > [EMAIL PROTECTED]:~/Sage$ ./sage > ---------------------------------------------------------------------- > | SAGE Version 2.10.2, Release Date: 2008-02-22 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/home/a/Sage/local/bin/sage-location", line 3, in <module> > import os > ImportError: No module named os > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/home/a/Sage/local/bin/sage-cleaner", line 21, in <module> > import os, shutil, sys, time, socket > ImportError: No module named os > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/home/a/Sage/local/bin/sage-ipython", line 10, in <module> > import IPython > ImportError: No module named IPython > > > > __________________________________________________________________ > > Next I tried installing from source, first downloading the source code > then extracting the tar file: > > [EMAIL PROTECTED]:~$ tar xvf /media/hda2/sage-2.10.2.tar > sage-2.10.2/ > sage-2.10.2/makefile > sage-2.10.2/COPYING.txt > sage-2.10.2/HISTORY.txt > sage-2.10.2/README.txt > sage-2.10.2/sage-README-osx.txt > sage-2.10.2/example.sage > sage-2.10.2/sage > sage-2.10.2/spkg/ > sage-2.10.2/spkg/standard/ > sage-2.10.2/spkg/standard/README.txt > sage-2.10.2/spkg/standard/deps > sage-2.10.2/spkg/standard/libdist_filelist > sage-2.10.2/spkg/standard/newest_version > sage-2.10.2/spkg/standard/atlas-3.8.p11.spkg > sage-2.10.2/spkg/standard/blas-20070724.spkg > sage-2.10.2/spkg/standard/cddlib-094b.p1.spkg > sage-2.10.2/spkg/standard/clisp-2.41.p12.spkg > sage-2.10.2/spkg/standard/conway_polynomials-0.2.spkg > sage-2.10.2/spkg/standard/cvxopt-0.9.p5.spkg > sage-2.10.2/spkg/standard/cython-0.9.6.12.spkg > sage-2.10.2/spkg/standard/doc-2.10.2.spkg > tar: Skipping to next header > tar: Error exit delayed from previous errors > > > The same output occurred when extracting sage 2.10.1 > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---