clee
unread,Sep 5, 2009, 12:12:01 AM9/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Hello, thanks for sage, I've been going through the tutorial and it
looks great.
When installing the numerical visualization tools, I ran into a
problem (or two) in installing scitools++. There seemed to be some
syntax errors in tests and the spkg-install script appears to hardcode
the install to local/lib/python2.5 and doesn't adjust to using
python2.6.
Here a shorted version of the run.
install_package('scitools++')
[successful downloads, serveral things build well]
Then some errors in building Gnuplot/test.py
byte-compiling /home/clee/bin/sage-4.1.1-linux-
Debian_GNU_Linux_5.0_lenny-i686-Linux/local/lib/python2.6/site-
packages/Gnuplot/test.py to test.pyc
SyntaxError: ('invalid syntax', ('/home/clee/bin/sage-4.1.1-linux-
Debian_GNU_Linux_5.0_lenny-i686-Linux/local/lib/python2.6/site-
packages/Gnuplot/test.py', 73, 42, " g.plot(Gnuplot.Func('sin
(x)', with='linespoints'))\n"))
[..]
cp: cannot create regular file `/home/clee/bin/sage-4.1.1-linux-
Debian_GNU_Linux_5.0_lenny-i686-Linux/local/lib/python2.5/site-
packages/scitools/': No such file or directory
----------
I edited spkg-install and got things to install
here's a diff:
diff spkg-install.orig spkg-install
4c4
< cp patches/scitools.cfg $SAGE_LOCAL/lib/python2.5/site-packages/
scitools/
---
> cp patches/scitools.cfg $SAGE_LOCAL/lib/python2.6/site-packages/scitools/
#diff ended in line above #
-------------------------------
System Configuration
-------------------------------
Sage Version 4.1.1, Release Date: 2009-08-14 Lenny (binaries
downloaded from website)
Linux cypress 2.6.24-24-server #1 SMP Tue Aug 18 17:46:20 UTC 2009
i686 GNU/Linux
ubuntu 8.04 (LTS) 32bit server with current updates
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)