Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-03-20 Thread Jan Groenewald
Hi Dan, ( I have been given a bit more space on launchpad (up from 2G to 4G now) so I can work slightly easier. ) On 16 March 2012 03:48, Dan Drake wrote: > On Thu, 15 Mar 2012 at 07:13AM +0100, Jan Groenewald wrote: > > Thanks, I will look into it. Are the steps to reproduce 1) install new > O

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-03-15 Thread Dan Drake
On Thu, 15 Mar 2012 at 07:13AM +0100, Jan Groenewald wrote: > Thanks, I will look into it. Are the steps to reproduce 1) install new OS, > 2) install Sage from PPA, 3) run sage as user? What I have done is (this happens every time): 1. Remove $HOME/.sage 2. Reinstall Sage from PPA 3. New $HOME/.s

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-03-14 Thread Jan Groenewald
Hi Dan On 15 March 2012 02:05, Dan Drake wrote: > > sudo apt-add-repository ppa:aims/sagemath > > sudo apt-get update > > sudo apt-get install sagemath-upstream-binary > > I tried this in a 11.10 virtual machine, and it created the user's .sage > directory as owned by root -- with 700 permissio

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-03-14 Thread Dan Drake
On Tue, 28 Feb 2012 at 09:50PM +0100, Jan Groenewald wrote: > The deb available below was not built from source on launchpad, instead > it is the sage upstream binary built for Ubuntu 10.04.3 hammered into a > PPA for lucid, maverick natty, oneiric, and precise in the ugliest possible > way. > > I

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-28 Thread Jan Groenewald
Hi Dan, I want to focus on newer, and from-source, but until Friday I am only working on this from-binary. I want to add i686 today, and fix any bugs I may find. I will perhaps also try add a bug-reporting mailing list to the PPA page, it seems launchpad can host them. I may be back more often as

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-28 Thread Dan Drake
On Tue, 28 Feb 2012 at 09:50PM +0100, Jan Groenewald wrote: > The deb available below was not built from source on launchpad, instead > it is the sage upstream binary built for Ubuntu 10.04.3 hammered into a > PPA for lucid, maverick natty, oneiric, and precise in the ugliest possible > way. Three

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-28 Thread Jan Groenewald
Hi The deb available below was not built from source on launchpad, instead it is the sage upstream binary built for Ubuntu 10.04.3 hammered into a PPA for lucid, maverick natty, oneiric, and precise in the ugliest possible way. It is only 64bit at the moment. To test it do this: sudo apt-add-re

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 10:29 AM, Jan Groenewald wrote: > Hi > > On 27 February 2012 18:55, William Stein wrote: >> >> On Mon, Feb 27, 2012 at 9:47 AM, Jan Groenewald wrote: >> > Hi >> > >> > I am making some progress with the first deb which just wraps the sage >> > upstream binary. >> >> Did t

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread Jan Groenewald
Hi On 27 February 2012 18:55, William Stein wrote: > On Mon, Feb 27, 2012 at 9:47 AM, Jan Groenewald wrote: > > Hi > > > > I am making some progress with the first deb which just wraps the sage > > upstream binary. > > Did the binary ever work for you? Do you have the appropriate ssl > librari

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 9:47 AM, Jan Groenewald wrote: > Hi > > I am making some progress with the first deb which just wraps the sage > upstream binary. Did the binary ever work for you? Do you have the appropriate ssl libraries installed? > > I get this when I install it though: > http://past

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread Jan Groenewald
Hi I am making some progress with the first deb which just wraps the sage upstream binary. I get this when I install it though: http://pastebin.ubuntu.com/859462/ Any ideas? Regards., Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- To post to this group, send an ema

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread Jeroen Demeyer
On 2012-02-27 10:02, Jan Groenewald wrote: > It is important for deb whether this postinst step (running sage-location) > will create NEW files That's easy to check with a ls -alR, diff the result before and after running sage-location. My guess is that it doesn't create new files. -- To post to

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread Jan Groenewald
Hi On 27 February 2012 09:55, Jeroen Demeyer wrote: > On 2012-02-26 16:59, Jan Groenewald wrote: > > Is it still necessary to run sage as root once to set some paths? > It depends on how you build Sage. Let me elaborate: In order to compile > Sage, you don't need root privileges. In fact, it i

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-27 Thread Jeroen Demeyer
On 2012-02-26 16:59, Jan Groenewald wrote: > Is it still necessary to run sage as root once to set some paths? It depends on how you build Sage. Let me elaborate: In order to compile Sage, you don't need root privileges. In fact, it is strongly recommended *not* to build Sage as root. During "ma

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-26 Thread P Purkayastha
I am not sure how your packaging works. Do you install into some temporary directory first and then tar/bzip the resulting directory? Then, if the user changes the directory in which (s)he installs Sage (and this will obviously happen), then it will need to be run as root once. Also see this ti

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-26 Thread Jan Groenewald
Hi Is it still necessary to run sage as root once to set some paths? When one does that, will it create new files? This is important for debian packaging. Regards, Jan On 25 February 2012 22:24, Jan Groenewald wrote: > Hi > > As an aside, can I get a hold of the scripts that build the binar

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi As an aside, can I get a hold of the scripts that build the binaries available for download on sagemath.org and mirrors (for Ubuntu LTS only). As a first step to getting packaging skills and having a deb for people to install, I could try make a virtual debian package that contains the sage pre

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi On 25 February 2012 21:33, Francois Bissey wrote: > Hi Jan, > > we'll need a bit more of your output, especially if you ran parallel make. > If you could link to the whole maxima build log (in skpg/log) that would > be most useful. > > The maxima bild logs: http://users.aims.ac.za/~jan/maxim

Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Francois Bissey
On Sat, 25 Feb 2012 21:02:46 Jan Groenewald wrote: > Hi > > I am looking for a Debian or Ubuntu packaging mentor. > > I am not an experienced debian packager, I am learning everything from > scratch. > But I am an experienced system administrator. > > I am hoping to find a mentor familiar with b

[sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi I am looking for a Debian or Ubuntu packaging mentor. I am not an experienced debian packager, I am learning everything from scratch. But I am an experienced system administrator. I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to assist me. I am trying to build a deb