On Sun, Jan 4, 2009 at 10:52 PM, mabshoff <mabsh...@googlemail.com> wrote:
>
>
>
> 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

That makes sense.  OK, so that won't work.

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

Here's another suggestion.   Did you try this?  Just use the
system-wide readline
with the system-wide devel library, and we don't build ours at all in
the case of opensuse.  We could make the build terminate at the start
if readline isn't available on opensuse, and document this requirement
in the README as well.

Well, my question is first: does this work?

 -- William

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

Reply via email to