[sage-support] Error building c_lib

2010-06-03 Thread Dmitri
Hey Sage Community, I recently installed sage on my computer. While it works fine (i.e. I can start sage using ./sage), I can't build it. When I type in ./sage - b, the error message below appears. Here a few things to keep in mind: 1) I installed sage on Ubuntu 10.04, on a computer running Vista

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.

[sage-support] Re: How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-06-03 Thread Jason Grout
On 06/03/2010 03:24 PM, Pierre wrote: sage: expr=x^2+2*x/sqrt(x) sage: t=text('$%s$'%latex(expr),(0,0),color='black') sage: show(t,axes=False) this is great ! This sounds like a lot more work than using jsmath, but oh well. really ? maybe i should give jsmath a try, it's just that the sheer

[sage-support] Re: How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-06-03 Thread Pierre
> sage: expr=x^2+2*x/sqrt(x) > sage: t=text('$%s$'%latex(expr),(0,0),color='black') > sage: show(t,axes=False) this is great ! > This sounds like a lot more work than using jsmath, but oh well. really ? maybe i should give jsmath a try, it's just that the sheer length of the tutorial was enough

Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 12:07 PM, John Cremona 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.

[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.

[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.

[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

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 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

[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.s

Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:44 AM, Bruce 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' >

[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 g

Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:21 AM, kcrisman wrote: > > > On Jun 3, 12:16 pm, Bruce wrote: >> I probably said the wrong thing. Here is what came back: >> >> Traceback (most recent call last): >>   File "", line 1, in >>   File "_sage_input_2.py", line 10, in >>     exec compile(u'open("___code___.p

[sage-support] Re: Using LiE

2010-06-03 Thread kcrisman
On Jun 3, 12:16 pm, Bruce wrote: > I probably said the wrong thing. Here is what came back: > > Traceback (most recent call last): >   File "", line 1, in >   File "_sage_input_2.py", line 10, in >     exec compile(u'open("___code___.py","w").write("# -*- coding: > utf-8 -*-\\n" + > _support_.

[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 "", line 1, in File "_sage_input_2.py", line 10, in exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Li9zYWdlI

Re: [sage-support] Re: Using LiE

2010-06-03 Thread William Stein
On Thu, Jun 3, 2010 at 9:03 AM, Bruce 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

[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

[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 wh

[sage-support] Solving linear equation for matrix

2010-06-03 Thread Bruce
Is there a simple way of solving say AX=XB where A,B are given matrices and I want to find X? This comes up in finding spaces of homomorphisms between representations of finitely generated algebras so I imagine this has been discussed and maybe implemented. -- To post to this group, send email to

[sage-support] Using LiE

2010-06-03 Thread Bruce
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 t

[sage-support] Re: Using _ is a lot less helpful than it used to be

2010-06-03 Thread kcrisman
On Jun 3, 5:20 am, Simon King wrote: > Hi Mike > > On Jun 3, 12:51 am, Mike Hansen wrote: > > > On Wed, Jun 2, 2010 at 4:49 PM, Dan Drake wrote: > > > And yes, I get this problem too. It seems a little unpredictable, and is > > > quite irritating. > > > It happens after you view a docstring's

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-03 Thread kcrisman
On May 28, 5:57 am, John Reid wrote: > Hi, I'm new to sage and am trying to work out how to use it to do some > calculus on various probability distributions I have. It seems to > integrate a beta distribution well but I can't get it to manage a > Dirichlet distribution. Am I missing something o

[sage-support] Re: How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-06-03 Thread Jason Grout
On 6/3/10 6:34 AM, Pierre wrote: Hi all, I'm actually interested in this feature, too. Using sage: view(expr, viewer='pdf') is great, but produces a full page with a title. Is there an option to produce a tiny PDF with just a formula ? (btw, my aim is to convert such a small pdf into a png im

[sage-support] Unable to build maxima in Sage 4.4.2

2010-06-03 Thread Simon King
Hi! I have sage-4.4.2: Starting with Sage-4.3.1, I did some upgrades. However, some patches recently failed to apply, and therefore I thought I start building it from scratch. So, I downloaded the 4.4.2 sources today. The build process got stuck, apparently while building maxima: ecl states that

[sage-support] Re: How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-06-03 Thread Pierre
Hi all, I'm actually interested in this feature, too. Using sage: view(expr, viewer='pdf') is great, but produces a full page with a title. Is there an option to produce a tiny PDF with just a formula ? (btw, my aim is to convert such a small pdf into a png image, for inclusion on a web page --

[sage-support] Re: Using _ is a lot less helpful than it used to be

2010-06-03 Thread Simon King
Hi Mike On Jun 3, 12:51 am, Mike Hansen wrote: > On Wed, Jun 2, 2010 at 4:49 PM, Dan Drake wrote: > > And yes, I get this problem too. It seems a little unpredictable, and is > > quite irritating. > > It happens after you view a docstring's help from the command line.  I > made a patch a few wee

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-03 Thread John Reid
bump John Reid wrote: John Reid wrote: Hi, I'm new to sage and am trying to work out how to use it to do some calculus on various probability distributions I have. It seems to integrate a beta distribution well but I can't get it to manage a Dirichlet distribution. Am I missing something or i