[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff

On Oct 28, 9:31 am, Martin Rubey [EMAIL PROTECTED] wrote:

Hi Martin,

 Bill Page [EMAIL PROTECTED] writes:
        Expect.__init__(self,
                        name = 'axiom',
                        prompt = '\([0-9]+\) - ',
                        command = sh -c 'axiom -nox -noclef | cat',

 Apart from modifying axiom.py, do I have to do anything else?  Compiling, 
 installing?

After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage -
b from $SAGE_ROOT. Note that you are changing the main Sage library
and that the repo then has outstanding uncommitted changes. Upgrading
such an install requires some understanding on hg.

 Martin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff



On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote:

SNIP

  After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage -
  b from $SAGE_ROOT. Note that you are changing the main Sage library
  and that the repo then has outstanding uncommitted changes. Upgrading
  such an install requires some understanding on hg.

 Tried, doesn't fix the problem.

 thanks anyway.  Oh dear, there will be some more chaos tomorrow.

Judging from your post on fricas-devel you are using not the
fricas-1.0.3.spkg. Can you try installing it and see if that fixes the
problem? In my experience changing underlying lisps for example for
Maxima changes the behavior of Maxima enough to make certain doctests
fail.

 Martin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff



On Oct 28, 10:06 am, Martin Rubey [EMAIL PROTECTED] wrote:
 mabshoff [EMAIL PROTECTED] writes:
  On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote:

  SNIP

After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage -
b from $SAGE_ROOT. Note that you are changing the main Sage library
and that the repo then has outstanding uncommitted changes. Upgrading
such an install requires some understanding on hg.

   Tried, doesn't fix the problem.

   thanks anyway.  Oh dear, there will be some more chaos tomorrow.

  Judging from your post on fricas-devel you are using not the
  fricas-1.0.3.spkg. Can you try installing it and see if that fixes the
  problem?

 Hm, not really.  For my students, it's a site wide installation (and I'm not
 root) and it was already quite an effort to get sage running in the first
 place.

All you need to do is

 ./sage -i fricas-1.0.3.p0

This doesn't touch anything outside $SAGE_ROOT. I really hope that you
aren't running sage as the root user, too.

  On my laptop, it's actually better to be close to my students
 installation.

Ok. As stated above the optinal fricas.spkg touches nothing and does
not interfere with any other FriCAS installed on the system.

 I guess I should have tested sage more thoroughly before embarking on this
 adventure.

 Still, many many thanks for your support,

No problem. Let us know if you run into any trouble.

 Martin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey

mabshoff [EMAIL PROTECTED] writes:

 On Oct 28, 9:55 am, Martin Rubey [EMAIL PROTECTED] wrote:
 
 SNIP
 
   After changing axiom.py in the $SAGE_ROOT/devel/sage tree run ./sage -
   b from $SAGE_ROOT. Note that you are changing the main Sage library
   and that the repo then has outstanding uncommitted changes. Upgrading
   such an install requires some understanding on hg.
 
  Tried, doesn't fix the problem.
 
  thanks anyway.  Oh dear, there will be some more chaos tomorrow.
 
 Judging from your post on fricas-devel you are using not the
 fricas-1.0.3.spkg. Can you try installing it and see if that fixes the
 problem? 

Hm, not really.  For my students, it's a site wide installation (and I'm not
root) and it was already quite an effort to get sage running in the first
place.  On my laptop, it's actually better to be close to my students
installation.

I guess I should have tested sage more thoroughly before embarking on this
adventure.

Still, many many thanks for your support,

Martin


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey

mabshoff [EMAIL PROTECTED] writes:

  Hm, not really.  For my students, it's a site wide installation (and I'm not
  root) and it was already quite an effort to get sage running in the first
  place.
 
 All you need to do is
 
  ./sage -i fricas-1.0.3.p0
 
 This doesn't touch anything outside $SAGE_ROOT. I really hope that you
 aren't running sage as the root user, too.
Huh?  I said I'm not root.

[EMAIL PROTECTED]:~ sage -i fricas-1.0.3.p0
Installing fricas-1.0.3.p0
Calling sage-spkg on fricas-1.0.3.p0
tee: ../install.log: Keine Berechtigung
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or
SAGE_ROOT/local/bin/ directory.
fricas-1.0.3.p0
Machine:
Linux rp17 2.6.18.8-0.10-default #1 SMP Wed Jun 4 15:46:34 UTC 2008 x86_64
x86_64 x86_64 GNU/Linux
Deleting directories from past builds of previous/current versions of
fricas-1.0.3.p0
/opt/local/sage-3.1.2/local/bin/sage-spkg: file fricas-1.0.3.p0 does not exist
Attempting to download it.
mkdir: kann Verzeichnis „optional“ nicht anlegen: Keine Berechtigung
/opt/local/sage-3.1.2/local/bin/sage-spkg: line 164: cd: optional: Datei oder
Verzeichnis nicht gefunden


Martin


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff



On Oct 28, 10:23 am, Martin Rubey [EMAIL PROTECTED] wrote:
 mabshoff [EMAIL PROTECTED] writes:
   Hm, not really.  For my students, it's a site wide installation (and I'm 
   not
   root) and it was already quite an effort to get sage running in the first
   place.

  All you need to do is

   ./sage -i fricas-1.0.3.p0

  This doesn't touch anything outside $SAGE_ROOT. I really hope that you
  aren't running sage as the root user, too.

 Huh?  I said I'm not root.

Well, your above statement could be interpreted that you cannot change
anything about the Sage install since you are not root. Hence my
remark.

 [EMAIL PROTECTED]:~ sage -i fricas-1.0.3.p0
 Installing fricas-1.0.3.p0
 Calling sage-spkg on fricas-1.0.3.p0
 tee: ../install.log: Keine Berechtigung
 You must set the SAGE_ROOT environment variable or
 run this script from the SAGE_ROOT or
 SAGE_ROOT/local/bin/ directory.
 fricas-1.0.3.p0
 Machine:
 Linux rp17 2.6.18.8-0.10-default #1 SMP Wed Jun 4 15:46:34 UTC 2008 x86_64
 x86_64 x86_64 GNU/Linux
 Deleting directories from past builds of previous/current versions of
 fricas-1.0.3.p0
 /opt/local/sage-3.1.2/local/bin/sage-spkg: file fricas-1.0.3.p0 does not exist
 Attempting to download it.
 mkdir: kann Verzeichnis „optional“ nicht anlegen: Keine Berechtigung
 /opt/local/sage-3.1.2/local/bin/sage-spkg: line 164: cd: optional: Datei oder
 Verzeichnis nicht gefunden

You need to have write permission to the $SAGE_ROOT tree to install
any spkg.

 Martin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread Martin Rubey

mabshoff [EMAIL PROTECTED] writes:

 You need to have write permission to the $SAGE_ROOT tree to install
 any spkg.

Would be really nice, if this could be changed in future.  Suppose university
provides sage, but without package SupiDupi, which is really super trooper.
Then I need to install all of sage again

Martin


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problems with FriCAS interface

2008-10-28 Thread mabshoff



On Oct 28, 10:44 am, Martin Rubey [EMAIL PROTECTED] wrote:
 mabshoff [EMAIL PROTECTED] writes:
  You need to have write permission to the $SAGE_ROOT tree to install
  any spkg.

 Would be really nice, if this could be changed in future.  Suppose university
 provides sage, but without package SupiDupi, which is really super trooper.
 Then I need to install all of sage again

Yep, it would be nice and has been suggested and discussed before. But
it can introduce a number of subtle bugs when several user install
various versions of the same package and so on. As is one cannot
develop with the Sage library in a multi user setting either [at
least not in an elegant way].

 Martin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---