Re: [sage-devel] Re: new paper on sage by myself and Burcin Erocal

2010-06-06 Thread Jason B Hill
> > > > sudo apt-get maxima > It should be sudo apt-get install maxima and as Mike pointed out, that requires admin access. A *.deb file like what you found is an installer for Debian based systems (such as Ubuntu), also requiring admin access. You could always create a Sage notebook account (s

[sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
I've tried twice to build Sage on a machine in which 'flex' was not in the path. It has both times failed with: make install in Singular make[4]: Entering directory `/export/home/drkirkby/32/sage-4.4.3/spkg/build/singular-3-1-0-4-20100214/src/Singular' sh flexer.sh -I -Pyylp -t libparse.l >lib

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Mike Hansen
On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby wrote: > So is flex a requirement to build Sage? If it is, then I'll add to the > 'prereq' script a test for flex. If, which I doubt, it is only needed on > Solaris, then I'll make the test specific to Solaris. For what it's worth, Sage / Singular

Re: [sage-devel] Re: new paper on sage by myself and Burcin Erocal

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 12:45 AM, Jason B Hill wrote: > >> > >> > sudo apt-get maxima > > It should be > > sudo apt-get install maxima > > and as Mike pointed out, that requires admin access. A *.deb file like what > you found is an installer for Debian based systems (such as Ubuntu), also > requir

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby wrote: > I've tried twice to build Sage on a machine in which 'flex' was not in the > path. It has both times failed with: > > make install in Singular > make[4]: Entering directory > `/export/home/drkirkby/32/sage-4.4.3/spkg/build/singular-3-1-0-4-

Re: [sage-devel] Re: new paper on sage by myself and Burcin Erocal

2010-06-06 Thread Sazzad
> > there will be no new accounts on sagenb.org :-( > so i was lucky enough to create an account few days back? voila! apparently sagenb doesn't have any link to offer new account creation -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, sen

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 09:45 AM, William Stein wrote: On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby wrote: I've tried twice to build Sage on a machine in which 'flex' was not in the path. It has both times failed with: make install in Singular make[4]: Entering directory `/export/home/drkirkby/32/sag

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 09:18 AM, Mike Hansen wrote: On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby wrote: So is flex a requirement to build Sage? If it is, then I'll add to the 'prereq' script a test for flex. If, which I doubt, it is only needed on Solaris, then I'll make the test specific to Solaris.

Re: [sage-devel] segfault after sage -upgrade from 4.4.2 to 4.4.3

2010-06-06 Thread François Bissey
> > You could also try > > > > > >sage -ba > > > > > > which will rebuild from scratch all Cython code. > > OK I will give it a go. No improvement. I am considering this upgrade officially failed on my machine. Francois -- To post to this group, send an email to sage-devel@googlegroups.c

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Willem Jan Palenstijn
On Sun, Jun 06, 2010 at 09:14:09AM +0100, Dr. David Kirkby wrote: > I've tried twice to build Sage on a machine in which 'flex' was not in > the path. It has both times failed with: > > make install in Singular > make[4]: Entering directory > `/export/home/drkirkby/32/sage-4.4.3/spkg/build/singu

Re: [sage-devel] segfault after sage -upgrade from 4.4.2 to 4.4.3

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 10:53 AM, François Bissey wrote: You could also try sage -ba which will rebuild from scratch all Cython code. OK I will give it a go. No improvement. I am considering this upgrade officially failed on my machine. Francois Can anyone tell me what happens in a 'sage -up

Re: [sage-devel] segfault after sage -upgrade from 4.4.2 to 4.4.3

2010-06-06 Thread François Bissey
> On 06/ 6/10 10:53 AM, François Bissey wrote: > >>> You could also try > >>> > >>> sage -ba > >>> > >>> which will rebuild from scratch all Cython code. > >> > >> OK I will give it a go. > > > > No improvement. I am considering this upgrade officially failed > > on my machine. > > > > Fra

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 11:27 AM, Willem Jan Palenstijn wrote: On Sun, Jun 06, 2010 at 09:14:09AM +0100, Dr. David Kirkby wrote: I've tried twice to build Sage on a machine in which 'flex' was not in the path. It has both times failed with: make install in Singular make[4]: Entering directory `/export/home

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Willem Jan Palenstijn
On Sun, Jun 06, 2010 at 11:51:43AM +0100, Dr. David Kirkby wrote: > On 06/ 6/10 11:27 AM, Willem Jan Palenstijn wrote: >> The way this usually works is that packages are shipped with the output of >> flex, so that flex doesn't have to be run again if the user doesn't have it. >> >> In this case tha

[sage-devel] File ownership

2010-06-06 Thread jan
Hi When I untar sage as root not all files are owned as root. (This is after running make as root, but still) 0 r...@muizenberg:/usr/local/src/sage-4.4.3#ls -ln total 30672 -rw-r--r-- 1 1000 100071842 2010-06-06 07:43 COPYING.txt drwxr-xr-x 800 4096 2010-06-06 09:26 data drwxr-x

Re: [sage-devel] File ownership

2010-06-06 Thread Jan Groenewald
Hi On Sun, Jun 06, 2010 at 01:11:47PM +0200, j...@aims.ac.za wrote: > I used to do chmod a+R /usr/local/src/sage* correction chmod a+r -R Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- To post to this group, send an email to sage-devel@googlegroups.com To uns

Re: [sage-devel] File ownership

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 12:11 PM, j...@aims.ac.za wrote: Hi When I untar sage as root not all files are owned as root. (This is after running make as root, but still) It's unwise to use the root account for anything where it is not needed. The chance of you accidentally screwing up your system is much hi

Re: [sage-devel] File ownership

2010-06-06 Thread Jan Groenewald
HI On Sun, Jun 06, 2010 at 12:29:37PM +0100, Dr. David Kirkby wrote: > On 06/ 6/10 12:11 PM, j...@aims.ac.za wrote: >> Hi >> >> When I untar sage as root not all files are owned >> as root. (This is after running make as root, but still) > > It's unwise to use the root account for anything where i

Re: [sage-devel] File ownership

2010-06-06 Thread John Cremona
What I do is this: (1) unpack and build in my own directory (2) using sudo, copy everything to /usr/local/sage/sage-x.y.z (3) using sudo, run /usr/local/sage/sage-x.y.z/sage once (4) using sudo, do chown -R root:root /usr/local/sage/ and also chmod -R a+rX /usr/local/sage Note the capital X in th

Re: [sage-devel] File ownership

2010-06-06 Thread Jan Groenewald
Hi On Sun, Jun 06, 2010 at 01:45:00PM +0200, Jan Groenewald wrote: > >> When I untar sage as root not all files are owned > >> as root. (This is after running make as root, but still) > My query is about the file ownerships and still stands please. Let me expand. Unlike other packages, sage does

Re: [sage-devel] File ownership

2010-06-06 Thread Jan Groenewald
Hi On Sun, Jun 06, 2010 at 12:47:01PM +0100, John Cremona wrote: > What I do is this: > > (1) unpack and build in my own directory > (2) using sudo, copy everything to /usr/local/sage/sage-x.y.z > (3) using sudo, run /usr/local/sage/sage-x.y.z/sage once > (4) using sudo, do chown -R root:root /us

Re: [sage-devel] Re: Release management best practices and tools

2010-06-06 Thread Minh Nguyen
Hi Jason, On Sun, Jun 6, 2010 at 12:42 AM, Jason Grout wrote: > Wow, that ticket is closed as fixed, only an 1.5 hours after you submitted > it! Yes, that was quick. And Sage 4.4.3 builds at least on these machines on the GCC Compile Farm: * gcc11: Debian GNU/Linux 5.0, Dual-Core AMD Opteron

[sage-devel] Doctest hang in very strange way.

2010-06-06 Thread Dr. David Kirkby
I've build Sage 4.4.3 on a Sun Blade 1000 but when running the long doctests, the output appears to hang. But the actual doctest command is not shown properly. First the output of 'make ptestlong' showed this: sage -t -long devel/sage/sage/modular/abvar/lseries.py [10.2 s] sage -t -

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 11:59 AM, Willem Jan Palenstijn wrote: On Sun, Jun 06, 2010 at 11:51:43AM +0100, Dr. David Kirkby wrote: On 06/ 6/10 11:27 AM, Willem Jan Palenstijn wrote: The way this usually works is that packages are shipped with the output of flex, so that flex doesn't have to be run again if t

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 09:18 AM, Mike Hansen wrote: On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby wrote: So is flex a requirement to build Sage? If it is, then I'll add to the 'prereq' script a test for flex. If, which I doubt, it is only needed on Solaris, then I'll make the test specific to Solaris.

[sage-devel] Re: Doctest hang in very strange way.

2010-06-06 Thread leif
On 6 Jun., 15:31, "Dr. David Kirkby" wrote: > I've build Sage 4.4.3 on a Sun Blade 1000 but when running the long doctests, > the output appears to hang. But the actual doctest command is not shown > properly. > > First the output of 'make ptestlong' showed this: > > sage -t  -long devel/sage/sag

[sage-devel] ANN: mpmath 0.15 released

2010-06-06 Thread Fredrik Johansson
Hi all, Version 0.15 of mpmath is now available on the website: http://code.google.com/p/mpmath/ It can also be downloaded from the Python Package Index: http://pypi.python.org/pypi/mpmath/0.15 Mpmath is a pure-Python library for arbitrary-precision floating-point arithmetic that implements an e

[sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread leif
On 6 Jun., 12:27, Willem Jan Palenstijn wrote: > On Sun, Jun 06, 2010 at 09:14:09AM +0100, Dr. David Kirkby wrote: > > I've tried twice to build Sage on a machine in which 'flex' was not in > > the path. It has both times failed with: > > > make install in Singular > > make[4]: Entering directory

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 04:43 PM, leif wrote: On 6 Jun., 12:27, Willem Jan Palenstijn wrote: The way this usually works is that packages are shipped with the output of flex, so that flex doesn't have to be run again if the user doesn't have it. This is a more general problem ([f]lex and yacc/bison are ju

[sage-devel] Re: ANN: mpmath 0.15 released

2010-06-06 Thread Ondrej Certik
On Sun, Jun 6, 2010 at 8:25 AM, Fredrik Johansson wrote: > Hi all, > > Version 0.15 of mpmath is now available on the website: > http://code.google.com/p/mpmath/ > > It can also be downloaded from the Python Package Index: > http://pypi.python.org/pypi/mpmath/0.15 > > Mpmath is a pure-Python libra

[sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread leif
On 6 Jun., 19:02, "Dr. David Kirkby" wrote: > On 06/ 6/10 04:43 PM, leif wrote: > > [1]http://www.sagemath.org/doc/developer/disseminating_code.html#dissemi... > > [2]http://www.sagemath.org/doc/developer/producing_spkgs.html#producing-... > > [3]http://www.sagemath.org/doc/developer/patching_spkg

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 07:29 PM, leif wrote: On 6 Jun., 19:02, "Dr. David Kirkby" wrote: Could I twist your arm to review the changes? Be a little patient, awaiting 4.4.4.alpha0... (And in principle the patch should be tested on other Solaris systems, too... I currently can only give it a "Linux-ok" -

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 3:27 PM, Dr. David Kirkby wrote: > On 06/ 6/10 07:29 PM, leif wrote: >> >> On 6 Jun., 19:02, "Dr. David Kirkby"  wrote: > >>> Could I twist your arm to review the changes? >> >> Be a little patient, awaiting 4.4.4.alpha0... >> (And in principle the patch should be tested on

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread François Bissey
> I've tested on multiple Solaris systems, both with and without 'flex' in > the path - see trac ticket for further details. > > The more I look at the Singular package in Sage, the more I realise it is > a complete mess. There are 5 copies of install-sh for example. Sage's > spkg-install has op

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 3:48 PM, François Bissey wrote: >> I've tested on multiple Solaris systems, both with and without 'flex' in >> the  path - see trac ticket for further details. >> >> The more I look at the Singular package in Sage, the more I realise it is >> a  complete mess. There are 5 co

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 11:39 PM, William Stein wrote: In case anybody from Singular is reading this -- the above is the opinion of David and not the Sage project as a whole. I'll add that, in my experience, Singular is fairly easy to build and portable, more so than many other programs. When I've person

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread Dr. David Kirkby
On 06/ 6/10 11:48 PM, François Bissey wrote: yes singular is a downright mess, upstream and in sage. I'm glad I'm not alone in my view. Apart from moving to the latest upstream I think the singular spkg is due for a spring clean. It build an enormous amount of targets in a way that looks lik

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 4:10 PM, Dr. David Kirkby wrote: > On 06/ 6/10 11:48 PM, François Bissey wrote: > >> yes singular is a downright mess, upstream and in sage. > > I'm glad I'm not alone in my view. I just want to clarify something again (which David already clarified): you guys are both talk

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread Tim Daly
I'm sure Singular has a process to fix the problems you mention. All you have to do is send a 'diff -Naur' patch that improves the build. You got hundreds of megabytes of code for free and you're complaining because the install script isn't written the way you advocate? Advocacy is volunteering.

[sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread leif
On 7 Jun., 01:19, William Stein wrote: > On Sun, Jun 6, 2010 at 4:10 PM, Dr. David Kirkby > > wrote: > > On 06/ 6/10 11:48 PM, François Bissey wrote: > > >> yes singular is a downright mess, upstream and in sage. > > > I'm glad I'm not alone in my view. > > I just want to clarify something again

[sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread leif
On 7 Jun., 01:29, Tim Daly wrote: > I'm sure Singular has a process to fix the problems you mention. > All you have to do is send a 'diff -Naur' patch that improves the build. Of course. But the current workaround just happens in spkg-install. > You got hundreds of megabytes of code for free and

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 4:35 PM, leif wrote: > On 7 Jun., 01:19, William Stein wrote: >> On Sun, Jun 6, 2010 at 4:10 PM, Dr. David Kirkby >> >> wrote: >> > On 06/ 6/10 11:48 PM, François Bissey wrote: >> >> >> yes singular is a downright mess, upstream and in sage. >> >> > I'm glad I'm not alone

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread François Bissey
> I'm sure Singular has a process to fix the problems you mention. > All you have to do is send a 'diff -Naur' patch that improves the build. > > You got hundreds of megabytes of code for free and you're complaining > because the install script isn't written the way you advocate? > > Advocacy is

Re: [sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 5:06 PM, François Bissey wrote: >> I'm sure Singular has a process to fix the problems you mention. >> All you have to do is send a 'diff -Naur' patch that improves the build. >> >> You got hundreds of megabytes of code for free and you're complaining >> because the install

[sage-devel] Re: Is 'flex' needed to build Sage?

2010-06-06 Thread leif
On 7 Jun., 02:02, William Stein wrote: > On Sun, Jun 6, 2010 at 4:35 PM, leif wrote: > > I thought in this thread we were only talking about its build system, > > not the source code or Singular's quality in general. > > > I cannot resist to give some excerpts from just src/Singular/ > > Makefile

[sage-devel] Fwd: release of NZMATH 1.0 (system for number theory)

2010-06-06 Thread William Stein
I want to respond to this message with: Try this in Sage by simply typing sage: install_package('nzmath') sage: import nzmath sage: help(nzmath) sage: import nzmath.matrix sage: preparser(False) sage: nzmath.matrix.Matrix(2,3) /mnt/usb1/scratch/wstein/build/sage-4.4.3.rc0/local/lib/python2.6/site

Re: [sage-devel] Fwd: release of NZMATH 1.0 (system for number theory)

2010-06-06 Thread Alex Ghitza
On Sun, 6 Jun 2010 18:53:26 -0700, William Stein wrote: > I want to respond to this message with: > > Try this in Sage by simply typing > > sage: install_package('nzmath') > sage: import nzmath > sage: help(nzmath) > sage: import nzmath.matrix > sage: preparser(False) > sage: nzmath.matrix.Matri

Re: [sage-devel] Fwd: release of NZMATH 1.0 (system for number theory)

2010-06-06 Thread Mike Hansen
On Sun, Jun 6, 2010 at 7:40 PM, Alex Ghitza wrote: > I tried the spkg, and it appears to work fine.  I noticed that hg status > was complaining about the files in src/, so I made a simple .hgignore to > get rid of that.  I also added some more information to SPKG.txt.  The > updated spkg is linked

[sage-devel] Re: release of NZMATH 1.0 (system for number theory)

2010-06-06 Thread William Stein
On Sun, Jun 6, 2010 at 9:03 AM, NAKAMULA, Ken wrote: > Dear number theorists, > > We are pleased to announce the release of NZMATH 1.0. > > NZMATH is a Python based system for number theory developed for six > years.  Various modules useful for number theory are included in > NZMATH package.  This