[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-21 Thread mabshoff



On Apr 20, 11:18 pm, meanerelk meaner...@gmail.com wrote:

Hi,

 Thanks for your help!

No problem.

 I can confirm that making 3.4.1.-rc4 worked just fine. Getting rid of
 clisp for 4 sounds good.

You don't even know how happy I will be once it is gone :)

 However, there is another niggling problem: I get an annoying internal
 service error when starting the notebook. I have to navigate 
 tohttp://localhost:8000/without the startup token to login.

 Here is the output in the console:

 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] /home/kemal/
 Applications/sage-3.4.1.rc4/local/lib/python2.5/site-packages/twisted/
 internet/defer.py:267: exceptions.DeprecationWarning: Don't pass
 strings (like 'Bad token') to failure.Failure (replacing with a
 DefaultException).
 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Exception
 rendering:
 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.python.failure.DefaultException: Bad token

Could you post the full output from sage -notebook? I think the
problem is that when you start the notebook with the option
address='' (which I believe is the deault) this kind of problem can
pop up.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-21 Thread meanerelk

Sure, here is the full output: http://www.sendspace.com/file/iulbgo

Starting the notebook with various other arguments causes problems in
other ways, too. For instance, if I start it with notebook
(address='', secure=True) I get a modal dialog saying No hostname
specified. Here is the output from that: http://www.sendspace.com/file/b2v8v9

And with notebook(address='') I get Malformed URL and this output:
http://www.sendspace.com/file/mivfoi

In both cases, however, the server still runs.

Hope this is helpful.


On Apr 21, 2:22 am, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 20, 11:18 pm, meanerelk meaner...@gmail.com wrote:

 Hi,

  Thanks for your help!

 No problem.

  I can confirm that making 3.4.1.-rc4 worked just fine. Getting rid of
  clisp for 4 sounds good.

 You don't even know how happy I will be once it is gone :)

  However, there is another niggling problem: I get an annoying internal
  service error when starting the notebook. I have to navigate 
  tohttp://localhost:8000/withoutthe startup token to login.

  Here is the output in the console:

  2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] /home/kemal/
  Applications/sage-3.4.1.rc4/local/lib/python2.5/site-packages/twisted/
  internet/defer.py:267: exceptions.DeprecationWarning: Don't pass
  strings (like 'Bad token') to failure.Failure (replacing with a
  DefaultException).
  2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Exception
  rendering:
  2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Unhandled Error
          Traceback (most recent call last):
          Failure: twisted.python.failure.DefaultException: Bad token

 Could you post the full output from sage -notebook? I think the
 problem is that when you start the notebook with the option
 address='' (which I believe is the deault) this kind of problem can
 pop up.

 Cheers,

 Michael
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-21 Thread mabshoff



On Apr 21, 4:49 pm, meanerelk meaner...@gmail.com wrote:
 Sure, here is the full output:http://www.sendspace.com/file/iulbgo

 Starting the notebook with various other arguments causes problems in
 other ways, too. For instance, if I start it with notebook
 (address='', secure=True) I get a modal dialog saying No hostname
 specified. Here is the output from that:http://www.sendspace.com/file/b2v8v9

 And with notebook(address='') I get Malformed URL and this 
 output:http://www.sendspace.com/file/mivfoi

 In both cases, however, the server still runs.

 Hope this is helpful.

Yeah, it is. There has been some discussion to not allow the construct

   notebook(address='')

any more since it causes the above problem. AFAIK there is no ticket
to do that yet. If there is consensus that this is the right thing to
do I am happy to open one.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread William Stein

On Mon, Apr 20, 2009 at 12:59 PM, meanerelk meaner...@gmail.com wrote:

 I have been following the instructions for making Sage on Arch Linux
 i686, fully updated and with all the necessary dependencies installed.
 However, I see the following errors during make:

 ImportError: No module named jinja
 and also:
 Error building clisp

 then when running notebook() in sage I get the same jinja
 ImportError

 Here is my install.log: http://www.sendspace.com/file/qr1hv9


The build error is:

make
make check
Working around nohup problem and the infamous UNIX error 45 bug in OSX
by sending make output to
/home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log.
Error building clisp

real0m26.757s
user0m16.372s
sys 0m10.563s
sage: An error occurred while installing clisp-2.46.p7

--

What does the file

/home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log

contain?

That will at least tell us why/how your clisp build failed.  Without
getting passed that failure, there's no hope.

William

--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread meanerelk

Here is clisp's build.log and error.log:

http://www.sendspace.com/file/fct6vu
http://www.sendspace.com/file/gnroy3

The only error is:

sspvw_sigsegv.d:94: error: too few arguments to function
‘sigsegv_leave_handler’

I have libsigsegv 2.6-1 installed.

A bit of googling shows that sigsgv_leave_handler has changed in 2.6
http://www.mail-archive.com/info-...@gnu.org/msg00565.html

However, it has been out for months, so I am surprised no one else
seems to have had this problem.

If this is a new problem, I can try to submit a patch in a few days.
(too busy right now)


On Apr 20, 4:07 pm, William Stein wst...@gmail.com wrote:
 On Mon, Apr 20, 2009 at 12:59 PM, meanerelk meaner...@gmail.com wrote:

  I have been following the instructions for making Sage on Arch Linux
  i686, fully updated and with all the necessary dependencies installed.
  However, I see the following errors during make:

  ImportError: No module named jinja
  and also:
  Error building clisp

  then when running notebook() in sage I get the same jinja
  ImportError

  Here is my install.log:http://www.sendspace.com/file/qr1hv9

 The build error is:

     make
     make check
 Working around nohup problem and the infamous UNIX error 45 bug in OSX
 by sending make output to
 /home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log.
 Error building clisp

 real    0m26.757s
 user    0m16.372s
 sys     0m10.563s
 sage: An error occurred while installing clisp-2.46.p7

 --

 What does the file

 /home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log

 contain?

 That will at least tell us why/how your clisp build failed.  Without
 getting passed that failure, there's no hope.

 William
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi,

 Here is clisp's build.log and error.log:

 http://www.sendspace.com/file/fct6vuhttp://www.sendspace.com/file/gnroy3

 The only error is:

 sspvw_sigsegv.d:94: error: too few arguments to function
 ‘sigsegv_leave_handler’

 I have libsigsegv 2.6-1 installed.

 A bit of googling shows that sigsgv_leave_handler has changed in 2.6
 http://www.mail-archive.com/info-...@gnu.org/msg00565.html

 However, it has been out for months, so I am surprised no one else
 seems to have had this problem.

Well, clisp is quite buggy to say the least. We tell clisp at
configure time to not use libsigsev, but apparently it is still picked
up. Sage 3.4.1 out in hours updates clisp to the 2.47 release which
AFAIK fixes that specific problem, i.e. it does not bomb out with that
version of libsigsev present, but still uses it.

 If this is a new problem, I can try to submit a patch in a few days.
 (too busy right now)

Don't worry about it, we are dumping clisp in Sage 4.0 and will be
using ecl instead.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:56 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi

SNIP

  However, it has been out for months, so I am surprised no one else
  seems to have had this problem.

 Well, clisp is quite buggy to say the least. We tell clisp at
 configure time to not use libsigsev, but apparently it is still picked
 up.

Well, technically we tell clisp to ignore the absence of libsigsev, so
I guess the behavior you see is correct that libsigsev is used.
Obviously the configure test doesn't work too well since it fails due
to header issues. Oh well, bye bye clisp :)

SNIP

Cheers,

Michael

--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---