Hi Volker, ah, I got it: I moved $SAGE_ROOT from /opt/sage-5.12.beta3 and to /opt/sage-5.12 and somehow the relocation didn't work, i.e., the path is hardcoded somewhere.
Cheers,
Martin
On Friday 23 August 2013 05:49:46 you wrote:
> Your build log contains
>
> 1600 entries written to /opt/sage-5.12.beta3/local/share/terminfo
>
> but the strace has
>
> stat("/opt/sage-5.12.beta3/local/share/terminfo", 0x7fffd6692220) = -1
> ENOENT (No such file or directory)
>
> There is something really fishy here. Does the directory exist or not?
> Maybe there is some permission problem?
>
> On Thursday, August 22, 2013 10:32:46 PM UTC+1, Martin Albrecht wrote:
> > Hi Volker,
> >
> > here you go. Grepping through it nothing stood out ... I am not sure what
> > I am
> > looking for, though.
> >
> > Cheers,
> > Martin
>
> On Thursday 22 August 2013 12:02:10 you wrote:
> > > ncurses didn't install the terminfo database on your system... there is
> > > apparently no /opt/sage-5.12.beta3/local/share/terminfo
> > >
> > > Can you post your ncurses build log?
> > >
> > > On Thursday, August 22, 2013 7:07:17 PM UTC+1, Martin Albrecht wrote:
> > > > Hi Volker,
> > > >
> > > > here it is. Thanks!
> > > >
> > > > Cheers,
> > > > Martin
> > > >
> > > > On Thursday 22 August 2013 10:39:10 you wrote:
> > > > > Can you post the whole trace?
> > > > >
> > > > > sage -sh
> > > > > strace python -c 'import curses; curses.initscr()' >& output.log
> > > > >
> > > > > On Thursday, August 22, 2013 6:23:48 PM UTC+1, Martin Albrecht
> >
> > wrote:
> > > > > > Hi Volker,
> > > > > >
> > > > > > On Thursday 22 August 2013 08:31:26 you wrote:
> > > > > > > sage -sh
> > > > > > > strace python -c 'import curses; curses.initscr()' |& grep xterm
> > > > > > > with TERM=xterm
> > > > > >
> > > > > > it's empty.
> > > > > >
> > > > > > > and xterm-256color?
> > > > > >
> > > > > > it's also empty.
> > > > > >
> > > > > > > ldd $SAGE_ROOT/local/lib/python2.7/lib-dynload/_curses.so
> > > > > >
> > > > > > $ ldd $SAGE_ROOT/local/lib/python2.7/lib-dynload/_curses.so
> > > > > >
> > > > > > linux-vdso.so.1 (0x00007fff92990000)
> > > > > > libncurses.so.5 =>
> >
> > /opt/sage-5.12/local/lib/libncurses.so.5
> >
> > > > > > (0x00007fae4a43f000)
> > > > > >
> > > > > > libpython2.7.so.1.0 =>
> > > > > >
> > > > > > /opt/sage-5.12/local/lib/libpython2.7.so.1.0
> > > > > > (0x00007fae4a05e000)
> > > > > >
> > > > > > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> > > > > >
> > > > > > (0x00007fae49e11000)
> > > > > >
> > > > > > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
> > > >
> > > > (0x00007fae49a65000)
> > > >
> > > > > > libtinfo.so.5 => /opt/sage-5.12/local/lib/libtinfo.so.5
> > > > > >
> > > > > > (0x00007fae49833000)
> > > > > >
> > > > > > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
> > > > > >
> > > > > > (0x00007fae4962e000)
> > > > > >
> > > > > > libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
> > > > > >
> > > > > > (0x00007fae4942b000)
> > > > > >
> > > > > > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
> > > >
> > > > (0x00007fae4912d000)
> > > >
> > > > > > /lib64/ld-linux-x86-64.so.2 (0x00007fae4a875000)
> > > > > >
> > > > > > so it seems to pick up the right one.
> > > > > >
> > > > > > I noticed that the shell after sage -sh is seriously FUBAR, e.g.
> > > >
> > > > backspace
> > > >
> > > > > > doesn't delete but adds spaces. This problem does not exist with
> >
> > 5.11.
> >
> > > > > > I should perhaps note that I am on zsh if that makes a difference
> >
> > (?)
> >
> > > > > > Cheers,
> > > > > > Martin
--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6532AFB4
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com/
_jab: [email protected]
signature.asc
Description: This is a digitally signed message part.
