Differences between revisions 1 and 2
Revision 1 as of 2008-11-11 22:17:00
Size: 934
Editor: was
Comment:
Revision 2 as of 2008-11-11 22:57:32
Size: 1672
Editor: was
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:


== Do this ==

 1. Build sage-3.1.4 with *no* packages changed under ubuntu 5.10 with their compiler.
 2. Run the test suite with "make check". If everything passes, I'm really confused.
 3. If things fail, then almost certainly, we have a bad compiler.
 4. Take a clean sage, extract it, type make and wait a few seconds, then hit control-c.
 5. Now build GCC and its dependencies
{{{
sage -i gmp-4.2.2.p1.fake
sage -i mpfr-2.3.2
sage -i http://sagemath.org/packages/optional/gcc-4.2.1.spkg
}}}
 6. Now build everything else by typing "make".
 7. Test this and ensure it works 100%
 8. Now do 4-7 again, but with the GPLv3 packages replaced by GPLv2 versions:
{{{
gnutls
gsl
opencdk
libgcrypt
libgpg_error
}}}

Sage on Virtual PC

This web page is about using Sage via Virtual PC instead of VMware.

Do this

  1. Build sage-3.1.4 with *no* packages changed under ubuntu 5.10 with their compiler.
  2. Run the test suite with "make check". If everything passes, I'm really confused.
  3. If things fail, then almost certainly, we have a bad compiler.
  4. Take a clean sage, extract it, type make and wait a few seconds, then hit control-c.
  5. Now build GCC and its dependencies

sage -i gmp-4.2.2.p1.fake
sage -i mpfr-2.3.2
sage -i http://sagemath.org/packages/optional/gcc-4.2.1.spkg
  1. Now build everything else by typing "make".
  2. Test this and ensure it works 100%
  3. Now do 4-7 again, but with the GPLv3 packages replaced by GPLv2 versions:

gnutls
gsl
opencdk
libgcrypt
libgpg_error

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/common-licenses; no GPL-3 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 gpl-3 */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/termcap-1.3.1.tar.gz Install gdb: http://ftp.gnu.org/gnu/gdb/gdb-6.6.tar.bz2

Both of the above are GPLv2.

ssh

Just install it. Note that "Shared network" is impossible... etc.