On Jan 5, 11:03 am, "William Stein" <wst...@gmail.com> wrote:
> On Mon, Jan 5, 2009 at 10:46 AM, mabshoff <mabsh...@googlemail.com> wrote:

<SNIP>

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

For me it was definitely Singular itself that failed to build and you
mention some issues with 64 bit. Ironically I saw the problem on 32
bit OpenSUSE 11.1, so this is something config related. One issue I
could imagine here is that OpenSUSE 11.1 seems to put the symbols from
the dynamic lib in some place other than the lib itself, i.e. these
days you can split the "debugging" symbols from the lib itself to
reduce the size of the non-dev packages. I consider that a dumb idea
since it can cause trouble, but oh well, we have to deal with
"Reality" and not the world it should be if things were perfect :)

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

Yes, I will post a readline.spkg shortly which does implement the
trick above which you approved of. I will test it locally on my 32 bit
OpenSUSE 11.1 box before posting and will also need to write a cleaned
up SPKG.txt :)

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

Reply via email to