[sage-support] Re: Using LiE

2014-09-11 Thread Biswajit Ransingh
Error installing package lie-2.2.2.p5

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/biswajit/sage-6.3/logs/pkgs/lie-2.2.2.p5.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5 and type 
'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5'  
'/home/biswajit/sage-6.3/sage' --sh)
When you are done debugging, you can type exit to leave the subshell.

While installing lie-2.2.2p5 by ./sage -i lie-2.2.2p5 it shows the above 
error.

On Thursday, 3 June 2010 21:16:13 UTC+5:30, kcrisman wrote:

 Do you have access to the notebook's source, or are you using 
 something like sagenb.org?  In the latter case, you would have to ask 
 the server administrator to do it.  If you yourself are doing 

 ./sage -notebook 

 to start the notebook, then at the command line you can do 

 ./sage -i lie-2.2.2.p3 

 which it looks like is the most current version (assuming you are 
 connected to the internet). 

 Good luck! 

 - kcrisman 

 On Jun 3, 11:21 am, Bruce brucewestb...@googlemail.com wrote: 
  I would like to use LiE which I understand is an optional package. 
  Could you please tell me how I load the package? and how I then call a 
  function? I apologise if this is in the documentation. 
  
  At the moment I am using the sage notebook through a browser. Does 
  this make a difference?

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Using LiE

2014-09-11 Thread Dima Pasechnik
On 2014-09-11, Biswajit Ransingh bransi...@gmail.com wrote:
 Error installing package lie-2.2.2.p5
 
 Please email sage-devel (http://groups.google.com/group/sage-devel)
 explaining the problem and including the relevant part of the log file
   /home/biswajit/sage-6.3/logs/pkgs/lie-2.2.2.p5.log
 Describe your computer, operating system, etc.
 If you want to try to fix the problem yourself, *don't* just cd to
 /home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5 and type 
 'make' or whatever is appropriate.
 Instead, the following commands setup all environment variables
 correctly and load a subshell for you to debug the error:
   (cd '/home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5'  
 '/home/biswajit/sage-6.3/sage' --sh)
 When you are done debugging, you can type exit to leave the subshell.
 
 While installing lie-2.2.2p5 by ./sage -i lie-2.2.2p5 it shows the above 
 error.

 On Thursday, 3 June 2010 21:16:13 UTC+5:30, kcrisman wrote:

 Do you have access to the notebook's source, or are you using 
 something like sagenb.org?  In the latter case, you would have to ask 
 the server administrator to do it.  If you yourself are doing 

 ./sage -notebook 

 to start the notebook, then at the command line you can do 

 ./sage -i lie-2.2.2.p3 

 which it looks like is the most current version (assuming you are 
 connected to the internet). 

no, just do
 
./sage -i lie

it will fetch the up-to date version (which is 2.2.2.p5, in fact)

This package needs bison installed
(sudo apt-get install bison, if you're on debian/ubuntu)

HTH,
Dmitrii


 Good luck! 

 - kcrisman 

 On Jun 3, 11:21 am, Bruce brucewestb...@googlemail.com wrote: 
  I would like to use LiE which I understand is an optional package. 
  Could you please tell me how I load the package? and how I then call a 
  function? I apologise if this is in the documentation. 
  
  At the moment I am using the sage notebook through a browser. Does 
  this make a difference?


-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Using LiE

2014-09-11 Thread Biswajit Ransingh
Thank you  dear,

It works.

On Thursday, 11 September 2014 13:34:38 UTC+5:30, Dima Pasechnik wrote:

 On 2014-09-11, Biswajit Ransingh bran...@gmail.com javascript: wrote: 
  Error installing package lie-2.2.2.p5 
   
  Please email sage-devel (http://groups.google.com/group/sage-devel) 
  explaining the problem and including the relevant part of the log file 
/home/biswajit/sage-6.3/logs/pkgs/lie-2.2.2.p5.log 
  Describe your computer, operating system, etc. 
  If you want to try to fix the problem yourself, *don't* just cd to 
  /home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5 and type 
  'make' or whatever is appropriate. 
  Instead, the following commands setup all environment variables 
  correctly and load a subshell for you to debug the error: 
(cd '/home/biswajit/sage-6.3/local/var/tmp/sage/build/lie-2.2.2.p5'  
  '/home/biswajit/sage-6.3/sage' --sh) 
  When you are done debugging, you can type exit to leave the subshell. 
   
  While installing lie-2.2.2p5 by ./sage -i lie-2.2.2p5 it shows the above 
  error. 
  
  On Thursday, 3 June 2010 21:16:13 UTC+5:30, kcrisman wrote: 
  
  Do you have access to the notebook's source, or are you using 
  something like sagenb.org?  In the latter case, you would have to ask 
  the server administrator to do it.  If you yourself are doing 
  
  ./sage -notebook 
  
  to start the notebook, then at the command line you can do 
  
  ./sage -i lie-2.2.2.p3 
  
  which it looks like is the most current version (assuming you are 
  connected to the internet). 

 no, just do 
   
 ./sage -i lie 

 it will fetch the up-to date version (which is 2.2.2.p5, in fact) 

 This package needs bison installed 
 (sudo apt-get install bison, if you're on debian/ubuntu) 

 HTH, 
 Dmitrii 

  
  Good luck! 
  
  - kcrisman 
  
  On Jun 3, 11:21 am, Bruce brucewestb...@googlemail.com wrote: 
   I would like to use LiE which I understand is an optional package. 
   Could you please tell me how I load the package? and how I then call 
 a 
   function? I apologise if this is in the documentation. 
   
   At the moment I am using the sage notebook through a browser. Does 
   this make a difference? 
  



-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Using LiE

2010-06-05 Thread Dr. David Kirkby

On 06/ 4/10 06:21 AM, Thierry Dumont wrote:

To compile Lie you must (or your systeme administrator) add some tools
on your machine:
-bison
-the ncurses lib.
On an Ubuntu machine, I installed (apt-get): libncurses5, libncursesw5 ,
ncurses-base ncurses-bin and bison. It will take 5 minutes to your
administrator. Then it will be ok.

t.d.


Is this a common or obscure package?

As a test, I tried to see if it would install on Solaris, which it did, despite 
having a very obvious bug in it.


There is a bit of code in spkg-install which says:

if [ $UNAME = SunOS ]; then
cp pathces/Makefile.sun src/Makefile
else
cp patches/Makefile src
fi

Note the mis-spelling pathces. So the Sun makefile never gets copied on 
Solaris (SunOS). Because of this, the spkg-install script reports:


cp: cannot access pathces/Makefile.sun

but it still works! I wonder why someone decided to add a Sun-specific Makefile, 
only to not bother testing if that Makefile got used or not.


Dave

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona
Brilliant suggestion.  I installed libncurses5-dev and then installing
lie worked.  (And then I found your message, afterwards).

Here is an awkward fact:  when I run our system-wide install (e.g. on
the server) the command optional_packages() fails since it is trying
to write a file into /usr/local/sage/sage-4.4.2/tmp/list which fails
as the permissions are wrong.  Is this a bug, as it appears (surely
users should be able to find out whether some optional package is
installed without needing to write any files!)?  Or something wrong in
our installation?

John

On 3 June, 20:17, William Stein wst...@gmail.com wrote:
 On Thu, Jun 3, 2010 at 12:07 PM, John Cremona john.crem...@gmail.com wrote:
  Just to chip in as the administrator of the machine Bruce is using
  (which belongs to me and Bill Hart), and of its sage server:   I have
  tried to install the lie spkg (which worked before, i.e. with 4.4.1)
  but for some reason it failed.  I probably have permissions wrong
  somewhere.  Sorry, Bruce.

  Here's the error: after compiling lie it says

  gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o
  creatop.o gettype.o getvalue.o init.o learn.o main.o mem.o node.o
  onoff.o output.o poly.o sym.o print.o getl.o date.o static/*.o box/*.o
  -lreadline -lncurses
  /usr/bin/ld: cannot find -lncurses
  collect2: ld returned 1 exit status
  make[1]: *** [Lie.exe] Error 1
  make[1]: Leaving directory `/usr/local/sage/sage-4.4.2/local/lib/lie'
  make: *** [all] Error 2
  Error building Lie.

  real    0m7.818s
  user    0m5.896s
  sys     0m1.316s
  sage: An error occurred while installing lie-2.2.2.p3

  but I don't know where libncurses has gone.

 Have you installed ncurses?   You have to install it system-wide I
 think, e.g, some package with a name like :

 libncurses5-dev - Developer's libraries and docs for ncurses

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-04 Thread Thierry Dumont

Le 04/06/2010 11:17, John Cremona a écrit :

Brilliant suggestion.  I installed libncurses5-dev and then installing
lie worked.  (And then I found your message, afterwards).

Here is an awkward fact:  when I run our system-wide install (e.g. on
the server) the command optional_packages() fails since it is trying
to write a file into /usr/local/sage/sage-4.4.2/tmp/list which fails
as the permissions are wrong.  Is this a bug, as it appears (surely
users should be able to find out whether some optional package is
installed without needing to write any files!)?  Or something wrong in
our installation?

John

For system wide install you *must* do this as priviledged user (sudo or 
su depending on your system).

Otherwise you will not have write access to /usr/local

Thierry



--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-04 Thread Bruce
This is now sorted out - thanks, John

I can now access LiE from the notebook. My worksheet  can be seen at
https://selmer:8000/home/pub/7/

This uses both LiE and symmetric functions. Not a problem in sage
but not so easy in rival packages.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona


On 4 June, 12:03, Thierry Dumont tdum...@math.univ-lyon1.fr wrote:
 Le 04/06/2010 11:17, John Cremona a crit : Brilliant suggestion.  I 
 installed libncurses5-dev and then installing
  lie worked.  (And then I found your message, afterwards).

  Here is an awkward fact:  when I run our system-wide install (e.g. on
  the server) the command optional_packages() fails since it is trying
  to write a file into /usr/local/sage/sage-4.4.2/tmp/list which fails
  as the permissions are wrong.  Is this a bug, as it appears (surely
  users should be able to find out whether some optional package is
  installed without needing to write any files!)?  Or something wrong in
  our installation?

  John

 For system wide install you *must* do this as priviledged user (sudo or
 su depending on your system).
 Otherwise you will not have write access to /usr/local

 Thierry

Thierry, I don't think you understood my point.  Of course one needs
to be superuser to install a package (I use sudo);  but on this
installation one cannot even ask which optional packages are
installed, using the optional_packages() function, without superuser
privileges!

John Cremona

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona


On 4 June, 16:16, Bruce brucewestb...@gmail.com wrote:
 This is now sorted out - thanks, John

 I can now access LiE from the notebook. My worksheet  can be seen 
 athttps://selmer:8000/home/pub/7/

 This uses both LiE and symmetric functions. Not a problem in sage
 but not so easy in rival packages.

Excellent.  Unfortunately that URL can only be accessed from within
the U of Warwick firewall, but if anyone is very interested we could
export it somewhere else!

John

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread kcrisman
Do you have access to the notebook's source, or are you using
something like sagenb.org?  In the latter case, you would have to ask
the server administrator to do it.  If you yourself are doing

./sage -notebook

to start the notebook, then at the command line you can do

./sage -i lie-2.2.2.p3

which it looks like is the most current version (assuming you are
connected to the internet).

Good luck!

- kcrisman

On Jun 3, 11:21 am, Bruce brucewestb...@googlemail.com wrote:
 I would like to use LiE which I understand is an optional package.
 Could you please tell me how I load the package? and how I then call a
 function? I apologise if this is in the documentation.

 At the moment I am using the sage notebook through a browser. Does
 this make a difference?

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread Bruce
Thanks. I tried that and got an error message. I'll contact the
administrator.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:03 AM, Bruce brucewestb...@googlemail.com wrote:
 Thanks. I tried that and got an error message. I'll contact the
 administrator.

What error message?


 --
 To post to this group, send email to sage-support@googlegroups.com
 To unsubscribe from this group, send email to 
 sage-support+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/sage-support
 URL: http://www.sagemath.org




-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread Bruce
I probably said the wrong thing. Here is what came back:

Traceback (most recent call last):
  File stdin, line 1, in module
  File _sage_input_2.py, line 10, in module
exec compile(u'open(___code___.py,w).write(# -*- coding:
utf-8 -*-\\n +
_support_.preparse_worksheet_cell(base64.b64decode(Li9zYWdlIC1pIGxpZS0yLjIuMi5wMw==),globals())
+\\n); execfile(os.path.abspath(___code___.py))
  File , line 1, in module

  File /tmp/tmp8kCITA/___code___.py, line 3
./sage -i lie-_sage_const_2p2 .2.p3
^
SyntaxError: invalid syntax



On Jun 3, 5:07 pm, William Stein wst...@gmail.com wrote:
 On Thu, Jun 3, 2010 at 9:03 AM, Bruce brucewestb...@googlemail.com wrote:
  Thanks. I tried that and got an error message. I'll contact the
  administrator.

 What error message?



  --
  To post to this group, send email to sage-support@googlegroups.com
  To unsubscribe from this group, send email to 
  sage-support+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/sage-support
  URL:http://www.sagemath.org

 --
 William Stein
 Professor of Mathematics
 University of Washingtonhttp://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:21 AM, kcrisman kcris...@gmail.com wrote:


 On Jun 3, 12:16 pm, Bruce brucewestb...@googlemail.com wrote:
 I probably said the wrong thing. Here is what came back:

 Traceback (most recent call last):
   File stdin, line 1, in module
   File _sage_input_2.py, line 10, in module
     exec compile(u'open(___code___.py,w).write(# -*- coding:
 utf-8 -*-\\n +
 _support_.preparse_worksheet_cell(base64.b64decode(Li9zYWdlIC1pIGxpZS0yLjI 
 uMi5wMw==),globals())
 +\\n); execfile(os.path.abspath(___code___.py))
   File , line 1, in module

   File /tmp/tmp8kCITA/___code___.py, line 3
     ./sage -i lie-_sage_const_2p2 .2.p3
     ^
 SyntaxError: invalid syntax

 Oh, sorry, this command only works if you are already in the Sage
 directory on your own computer.  It *definitely* wouldn't work in the
 notebook!

kcrisman, if you read your email to the OP, you'll see that you just
told him to
start the notebook and paste the line

   ./sage -i lie-2.2.2.p3

into the notebook.

Bruce, at the *UNIX* command line, you should type

   ./sage -i lie-2.2.2.p3

This has nothing to do with the notebook.  This is something you do
before running the notebook or Sage.

Alternatively, you can type

   install_package('lie-2.2.2.p3')

from within Sage.

William


-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread Bruce
I am just starting with sage. I type a url into firefox to start the
notebook on a local machine.

I typed:  install_package('lie-2.2.2.p3')
and got along error message.

[Errno 13] Permission denied: '/usr/local/sage/sage-4.4.2/tmp/list'

I assume this is a local problem.

On http://sagenb.org I get a similar long message saying the package
is not available or is corrupted.

User sagenbws
Using SAGE Server http://www.sagemath.org//packages
http://www.sagemath.org//packages/standard/list --
/usr/local/sage2/tmp/list
[Errno 13] Permission denied: '/usr/local/sage2/tmp/list'




\




Error contacting http://www.sagemath.org//packages/standard/list. Try
using an alternative server.
For example, from the bash prompt try typing

   export SAGE_SERVER=http://sage.scipy.org/sage/

then try again.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:44 AM, Bruce brucewestb...@googlemail.com wrote:
 I am just starting with sage. I type a url into firefox to start the
 notebook on a local machine.

 I typed:  install_package('lie-2.2.2.p3')
 and got along error message.

 [Errno 13] Permission denied: '/usr/local/sage/sage-4.4.2/tmp/list'

 I assume this is a local problem.

You are not allowed to install packages system-wide.  If you can be
admin on that computer, do

  sudo su

and try again.  If not, contact the admin.

William


 On http://sagenb.org I get a similar long message saying the package
 is not available or is corrupted.

 User sagenbws
 Using SAGE Server http://www.sagemath.org//packages
 http://www.sagemath.org//packages/standard/list --
 /usr/local/sage2/tmp/list
 [Errno 13] Permission denied: '/usr/local/sage2/tmp/list'



 
 \
 



 Error contacting http://www.sagemath.org//packages/standard/list. Try
 using an alternative server.
 For example, from the bash prompt try typing

   export SAGE_SERVER=http://sage.scipy.org/sage/

 then try again.

 --
 To post to this group, send email to sage-support@googlegroups.com
 To unsubscribe from this group, send email to 
 sage-support+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/sage-support
 URL: http://www.sagemath.org




-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread Bruce
Thanks. I'll contact admin. tomorrow.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread Robert Bradshaw

On Jun 3, 2010, at 9:46 AM, William Stein wrote:

On Thu, Jun 3, 2010 at 9:44 AM, Bruce brucewestb...@googlemail.com  
wrote:

I am just starting with sage. I type a url into firefox to start the
notebook on a local machine.

I typed:  install_package('lie-2.2.2.p3')
and got along error message.

[Errno 13] Permission denied: '/usr/local/sage/sage-4.4.2/tmp/list'

I assume this is a local problem.


You are not allowed to install packages system-wide.  If you can be
admin on that computer, do

 sudo su

and try again.  If not, contact the admin.


Alternatively, you could install and use your own personal copy of  
Sage in your home directory.


- Robert


--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread kcrisman


 kcrisman, if you read your email to the OP, you'll see that you just
 told him to
 start the notebook and paste the line

Not quite - I said, if he uses a certain command to get the notebook,
then to use a certain command line command.  You are right that I
didn't tell him which command line, though!  In the event, I was just
trying to figure out how he was getting to the notebook.

I hope this all works out great, Bruce.

- kcrisman

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread Bruce

Thank you all for your help.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Using LiE

2010-06-03 Thread John Cremona
Just to chip in as the administrator of the machine Bruce is using
(which belongs to me and Bill Hart), and of its sage server:   I have
tried to install the lie spkg (which worked before, i.e. with 4.4.1)
but for some reason it failed.  I probably have permissions wrong
somewhere.  Sorry, Bruce.

Here's the error: after compiling lie it says

gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o
creatop.o gettype.o getvalue.o init.o learn.o main.o mem.o node.o
onoff.o output.o poly.o sym.o print.o getl.o date.o static/*.o box/*.o
-lreadline -lncurses
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[1]: *** [Lie.exe] Error 1
make[1]: Leaving directory `/usr/local/sage/sage-4.4.2/local/lib/lie'
make: *** [all] Error 2
Error building Lie.

real0m7.818s
user0m5.896s
sys 0m1.316s
sage: An error occurred while installing lie-2.2.2.p3

but I don't know where libncurses has gone.

John


On Jun 3, 6:31 pm, Bruce brucewestb...@googlemail.com wrote:
 Thank you all for your help.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 12:07 PM, John Cremona john.crem...@gmail.com wrote:
 Just to chip in as the administrator of the machine Bruce is using
 (which belongs to me and Bill Hart), and of its sage server:   I have
 tried to install the lie spkg (which worked before, i.e. with 4.4.1)
 but for some reason it failed.  I probably have permissions wrong
 somewhere.  Sorry, Bruce.

 Here's the error: after compiling lie it says

 gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o
 creatop.o gettype.o getvalue.o init.o learn.o main.o mem.o node.o
 onoff.o output.o poly.o sym.o print.o getl.o date.o static/*.o box/*.o
 -lreadline -lncurses
 /usr/bin/ld: cannot find -lncurses
 collect2: ld returned 1 exit status
 make[1]: *** [Lie.exe] Error 1
 make[1]: Leaving directory `/usr/local/sage/sage-4.4.2/local/lib/lie'
 make: *** [all] Error 2
 Error building Lie.

 real    0m7.818s
 user    0m5.896s
 sys     0m1.316s
 sage: An error occurred while installing lie-2.2.2.p3

 but I don't know where libncurses has gone.

Have you installed ncurses?   You have to install it system-wide I
think, e.g, some package with a name like :

libncurses5-dev - Developer's libraries and docs for ncurses

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: Using LiE

2010-06-03 Thread Thierry Dumont
To compile Lie you must (or your systeme administrator) add some tools 
on your machine:

-bison
-the ncurses lib.
On an Ubuntu machine, I installed (apt-get): libncurses5, libncursesw5 , 
ncurses-base ncurses-bin and bison. It will take 5 minutes to your 
administrator. Then it will be ok.


t.d.


Le 03/06/2010 21:17, William Stein a écrit :

On Thu, Jun 3, 2010 at 12:07 PM, John Cremonajohn.crem...@gmail.com  wrote:

Just to chip in as the administrator of the machine Bruce is using
(which belongs to me and Bill Hart), and of its sage server:   I have
tried to install the lie spkg (which worked before, i.e. with 4.4.1)
but for some reason it failed.  I probably have permissions wrong
somewhere.  Sorry, Bruce.

Here's the error: after compiling lie it says

gcc  -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o
creatop.o gettype.o getvalue.o init.o learn.o main.o mem.o node.o
onoff.o output.o poly.o sym.o print.o getl.o date.o static/*.o box/*.o
-lreadline -lncurses
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[1]: *** [Lie.exe] Error 1
make[1]: Leaving directory `/usr/local/sage/sage-4.4.2/local/lib/lie'
make: *** [all] Error 2
Error building Lie.

real0m7.818s
user0m5.896s
sys 0m1.316s
sage: An error occurred while installing lie-2.2.2.p3

but I don't know where libncurses has gone.


Have you installed ncurses?   You have to install it system-wide I
think, e.g, some package with a name like :

libncurses5-dev - Developer's libraries and docs for ncurses



--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
attachment: tdumont.vcf