1872
Comment:

2807

Deletions are marked like this.  Additions are marked like this. 
Line 12:  Line 12: 
5. Now build GCC and its dependencies  5. Now build GCC (4.2.1, which *is* GPL2 as we checked; GCC 4.3.? is GPL3 so watch out!) and its dependencies 
Line 15:  Line 15: 
sage i http://sagemath.org/packages/optional/gcc4.2.1.spkg  
Line 17:  Line 16: 
Then build GCC: {{{ wget http://sagemath.org/packages/optional/gcc4.2.1.spkg tar jxvf gcc4.2.1.spkg ./sage sh cd gcc4.2.1 ./spkginstall }}} We have to do the above instead of just {{{sage i gcc4.2.1.spkg}}} because of some weird bug. 

Line 32:  Line 41: 
{{{ cd spkg/standard rm gnutls2.2.1.p1.spkg gsl1.10.p1.spkg opencdk0.6.6.spkg libgcrypt1.4.0.p2.spkg libgpg_error1.6.p0.spkg [email protected]:~/sage3.1.4/spkg/standard$ cp ~/sage2.10/spkg/standard/gnutls1.6.3.spkg ~/sage2.10/spkg/standard/opencdk0.5.9.spkg ~/sage2.10/spkg/standard/gsl1.9.spkg ~/sage2.10/spkg/standard/libgcrypt1.2.4.spkg ~/sage2.10/spkg/standard/libgpg_error1.5.spkg . }}} Then {{{ [email protected]:~/sage3.1.4/spkg/installed$ rm * [email protected]:~/sage3.1.4/spkg/installed$ cd ../.. [email protected]:~/sage3.1.4$ sleep 6000; make check }}} 

Line 35:  Line 58: 
IP Address: 128.208.161.38 
Sage on Virtual PC
This web page is about using Sage via Virtual PC instead of VMware.
Do this
 Build sage3.1.4 with *no* packages changed under ubuntu 5.10 with their compiler.
 Run the test suite with "make check". If everything passes, I'm really confused.
 If things fail, then almost certainly, we have a bad compiler.
 Take a clean sage, extract it, type make and wait a few seconds (until you see GMP being built), then hit controlc.
 Now build GCC (4.2.1, which *is* GPL2 as we checked; GCC 4.3.? is GPL3 so watch out!) and its dependencies
sage i gmp4.2.2.p1.fake mpfr2.3.2
Then build GCC:
wget http://sagemath.org/packages/optional/gcc4.2.1.spkg tar jxvf gcc4.2.1.spkg ./sage sh cd gcc4.2.1 ./spkginstall
We have to do the above instead of just sage i gcc4.2.1.spkg because of some weird bug.
 Now tell Sage to start build process from scratch by typing
rm spkg/installed/*
then build everything else by typing "make".
 Test this and ensure it works 100%
 Now do 47 again, but with the GPLv3 packages replaced by GPLv2 versions:
gnutls gsl opencdk libgcrypt libgpg_error
cd spkg/standard rm gnutls2.2.1.p1.spkg gsl1.10.p1.spkg opencdk0.6.6.spkg libgcrypt1.4.0.p2.spkg libgpg_error1.6.p0.spkg [email protected]:~/sage3.1.4/spkg/standard$ cp ~/sage2.10/spkg/standard/gnutls1.6.3.spkg ~/sage2.10/spkg/standard/opencdk0.5.9.spkg ~/sage2.10/spkg/standard/gsl1.9.spkg ~/sage2.10/spkg/standard/libgcrypt1.2.4.spkg ~/sage2.10/spkg/standard/libgpg_error1.5.spkg .
Then
[email protected]:~/sage3.1.4/spkg/installed$ rm * [email protected]:~/sage3.1.4/spkg/installed$ cd ../.. [email protected]:~/sage3.1.4$ sleep 6000; make check
Do this:
http://www.interopsystems.com/LearningCenter/Configuring_OpenSSH.htm
IP Address: 128.208.161.38
GPLv3 License Issues
For those with an allergy to (L)GPLv3, the following is how to make a Sage that works and doesn't have any (L)GPLv3 code or binaries.
 Use Ubuntu 5.10, from 2005. Go to /usr/share/commonlicenses; no GPL3 in Ubuntu 5.10, but it is in Ubuntu 7.10. In Ubuntu 7.10 the only GPLv3 thing is binutils.
cd /usr/share/doc grep i gpl3 */copyright
On 7.10 this reveals only binutils, but nothing on 5.10.make
GDB
The microsoft Virtual PC version of Sage should include GDB, since it is handy to have for debuging cython code.
Install termcap: http://ftp.gnu.org/gnu/termcap/termcap1.3.1.tar.gz Install gdb: http://ftp.gnu.org/gnu/gdb/gdb6.6.tar.bz2
Both of the above are GPLv2.
ssh
Just install it. Note that "Shared network" is impossible... etc.