Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread Volker Braun
On Sunday, October 21, 2012 10:45:24 PM UTC+1, Jeroen Demeyer wrote: > One problem is that extracting tarballs is inherently dangerous. The > user who happens to have UID 1237 is able to root the system because of > this. I'm not sure what to do here... > It might be a good idea to untar --n

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread Jeroen Demeyer
On 2012-10-21 23:01, Volker Braun wrote: > He's clearly building as root. While not a great idea, I don't like the > that the Sage install then dies with an obscure error. If you want to > compile stuff as root you should be allowed to. One problem is that extracting tarballs is inherently dangerou

Re: [sage-devel] Re: Documentation in set_random_seed() ??

2012-10-21 Thread David Kirkby
I did notice that, as I stated before. But the function is named 'random seed', which implies it is to seed an RNG, *not* that is in an RNG. I think this could leave people to conclude the sequence will be cryptographically sucure. So whilst I'm not disagreeing with what you say, and agree the do

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
I will try building without being root, although I think I tried that initially and got the same error. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this gro

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
I did try building without being root, but I got the same error. After the initial attempt I deleted the folder that I got from the tarball and tried anew. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sag

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
I did try building without being root, but I got the same error. So I deleted the folder and unzipped the tarball again. I thought, "Maybe, if I log in as root, the error will go away." On Sunday, October 21, 2012 2:01:14 PM UTC-7, Volker Braun wrote: > > He's clearly building as root. While

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread Volker Braun
He's clearly building as root. While not a great idea, I don't like the that the Sage install then dies with an obscure error. If you want to compile stuff as root you should be allowed to. On Sunday, October 21, 2012 9:27:58 PM UTC+1, Jeroen Demeyer wrote: > > On 2012-10-21 21:49, miguel wrote

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
I built as root. (Trying 'make' as root produces the setuptools error.) Sorry, this is that output of the commands you gave: root@Paloma:/sage-5.4.rc2# ls -al /sage-5.4.rc2/spkg/build/setuptools-0.6.16.p0/src total 224 drwxr-xr-x 6 1237 1237 4096 Oct 21 13:42 . drwxr-xr-x 5 1237 1237 4096 M

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread Jeroen Demeyer
On 2012-10-21 21:49, miguel wrote: > $ id -a > uid=1000(miguel) gid=1000(miguel) > groups=1000(miguel),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lpadmin),123(sambashare) Is this the user you used to build Sage, or did you build as root? -- You received this message because you are subscri

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
$ ls -al /sage-5.4.rc2/spkg/build/setuptools-0.6.16.p0/src total 224 drwxr-xr-x 6 1237 1237 4096 Oct 21 12:07 . drwxr-xr-x 5 1237 1237 4096 May 14 05:50 .. -rw-r--r-- 1 1237 1237 9265 May 20 2011 CHANGES.txt -rw-r--r-- 1 1237 1237 412 May 20 2011 CONTRIBUTORS.txt -rw-r--r-- 1 1237 1237 62

Re: [sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread Jeroen Demeyer
On 2012-10-21 21:17, miguel wrote: > The link to ubuntuforums did reveal what was happening! > > I have tried to compile 5.4rc2, and upon getting > to setuptools-0.6.16.p0.spkg, I get the following error: > > patching file setuptools/command/easy_install.py > > sys:1: RuntimeWarning: no

[sage-devel] Re: Error installing package gcc-4.6.3

2012-10-21 Thread miguel
The link to ubuntuforums did reveal what was happening! I have tried to compile 5.4rc2, and upon getting to setuptools-0.6.16.p0.spkg, I get the following error: patching file setuptools/command/easy_install.py > sys:1: RuntimeWarning: not adding directory >> '/sage-5.4.rc2/spkg/build/setupto

[sage-devel] Re: Polynomials over QQbar and AA

2012-10-21 Thread Nils Bruin
On Oct 21, 4:03 am, mmarco wrote: > That was my first idea when i encountered these problems. But then, > things like primary decomposition rely on factorization of > polynomials... which will differ a lot from QQbar to an algebraic > extension of Q. Indeed. Data point: Magma does allow QQbar as

Re: [sage-devel] Re: Documentation in set_random_seed() ??

2012-10-21 Thread David Kirkby
I did notice that, but what's the point of a random seed? I think this could leave people to conclude the sequence will be cryptographically sucure. So whilst I'm not disagreeing with what you say, and agree the documetation is correct in what it says, I believe there's a big chance for confusion.

[sage-devel] Re: Documentation in set_random_seed() ??

2012-10-21 Thread Dima Pasechnik
On 2012-10-21, David Kirkby wrote: > http://www.sagemath.org/doc/reference/sage/misc/randstate.html > > says: > > "If set_random_seed() is called with no arguments, then a new seed is > automatically selected. On operating systems that support it, the new > seed comes from os.urandom(); this is in

[sage-devel] Documentation in set_random_seed() ??

2012-10-21 Thread David Kirkby
http://www.sagemath.org/doc/reference/sage/misc/randstate.html says: "If set_random_seed() is called with no arguments, then a new seed is automatically selected. On operating systems that support it, the new seed comes from os.urandom(); this is intended to be a truly random (not pseudo-random),

[sage-devel] Re: Polynomials over QQbar and AA

2012-10-21 Thread mmarco
That was my first idea when i encountered these problems. But then, things like primary decomposition rely on factorization of polynomials... which will differ a lot from QQbar to an algebraic extension of Q. I also thought of the aproach of translating my polynomials to a common extension and the