On Jan 4, 10:39 pm, "William Stein" <wst...@gmail.com> wrote:
> On Sun, Jan 4, 2009 at 9:24 PM, mabshoff <mabsh...@googlemail.com> wrote:
<SNIP>
> What about if we just don't install a shared readline at all? That
> seems way safer to me than overwriting it with the system readline.
> In the spkg-install for readline, if the OS is OpenSuse, we just do
> $RM -f $SAGE_LOCAL/lib/libreadline.so*
>
> I.e., for Sage we build only the static readline. Can't Python, Gap,
> PARI, etc. just link in a static readline?
Well, I tried that and I ended up with a Python without readline
support and Singular failed to build at all without it. These were
strange failures to say the least. clisp also has trouble IIRC.
> I'm testing this right
> now, and PARI appears to statically link in
>
> $SAGE_ROOT/local/lib/libreadline.a
>
> just fine.
>
> So please think cynically of what could possibly go wrong with my
> suggestion, which is similar to yours, but maybe (?) cleaner.
I don' think it will work - it didn't on my OpenSUSE 11.1 install :).
Other than that if we get it to work I would be fine with that
solution since we so rarely update readline that it won't matter if we
link static or dynamic libs in this case.
> -- William
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---