On Mon, Jan 5, 2009 at 11:03 AM, William Stein <wst...@gmail.com> wrote: > On Mon, Jan 5, 2009 at 10:46 AM, mabshoff <mabsh...@googlemail.com> wrote: >> >> >> >> On Jan 4, 10:58 pm, "William Stein" <wst...@gmail.com> wrote: >>> On Sun, Jan 4, 2009 at 10:52 PM, mabshoff <mabsh...@googlemail.com> wrote: >> >> <SNIP> >> >>> >> 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. >> >> Yes, that trick was my first idea. > > Wait a minute. Just for the record I just tested my OpenSuse 32-bit > build of sage with libreadline.so* deleted, and Python, Gap, and PARI > all *do* get built with readline support. Also, singular builds fine > with readline support. So I think you messed up somewhere in your > test. > I checked and Python is definitely not picking up a system-wide devel > readline either. > > However, Sage doesn't startup, failing with this error: > ImportError: > /home/wstein/build/opensuse32/build/sage-3.2.3.final/local/lib/libsingular.so: > undefined symbol: tputs > > So there may be an issue somehow with *libsingular* and readline. > > Anyway, my evidence does not agree at all with your observation that > statically linking in readline.a results in a Python without readline > and a singular that doesn't build. But there are still issues.
OK, I just tested on 64-bit OpenSuse (which was what you were using), and get that readline doesn't get linked into Python and singular doesn't build. So the difference I saw above was a 32/64 bit difference. 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 -~----------~----~----~----~------~----~------~--~---