--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAEcArF06vXMyROkEshs%3DYV1_500kbwPDhQGJBH39B14i8Ku3Qg%40mail.gmail.com.
On Tue, Oct 1, 2019 at 6:59 PM Dima Pasechnik <dim...@gmail.com> wrote:
>
> It seems that these machines don't have readline development files
> properly installed.
>
> Could you attach config.log ?
>
I mean the "main" config.log, not the ones from package builds.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq1x7jY7f%3DeJ2u%2BdYuTE27H_3P%2B_9jRZtBGu8%2BaJv%3DUYRA%40mail.gmail.com.
On Tue, Oct 1, 2019 at 7:43 PM John Cremona <john.c...@gmail.com> wrote:
>
>
>
> On Tue, 1 Oct 2019 at 12:08, Dima Pasechnik <dim...@gmail.com> wrote:
>>
>> On Tue, Oct 1, 2019 at 6:59 PM Dima Pasechnik <dim...@gmail.com> wrote:
>> >
>> > It seems that these machines don't have readline development files
>> > properly installed.
>> >
>> > Could you attach config.log ?
>> >
>> I mean the "main" config.log, not the ones from package builds.
>
>
> Here it is. I looks as if some version of readline was downloaded and installed.
no, it says that Sage's readline will be built, because according to the test,
there is no ncurses (or tinfo) installed.
So I am puzzled that you say that the machine has libreadline-dev installed.
Could you post the contents of this package?
As well, I'd like to look at the output of
$ ldd `find /usr -name libreadline.so`
- which should look more or less like:
linux-vdso.so.1 (0x00007ffc2a2ce000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x000079942a162000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000799429fa1000)
/lib64/ld-linux-x86-64.so.2 (0x000079942a3f3000)
I gather that the test we have for system's ncurses is too
restrictive, and doesn't work
even though it should... (So this is a potential Sage bug)
To continue with this problem:
Indeed, readline gets built by Sage, but it's a bit broken, as I
gather it's not linked
against libtinfo:
To check this, please post the output of
I don't know why this doesn't work, it might be something went wrong in
------------------
commit 584735d9abe44b079df2566f7f73b6a69aaea0cf
Author: Dima Pasechnik <dim...@gmail.com>
Date: Wed May 1 10:58:00 2019 +0100
get termcap library name from the readline's configure
--------------------
(so this might be another Sage bug)
----------------------------------------------------
Fixing at least one of these bugs might cure the systems you have, but
more info is needed...
What OS is that, precisely?
Sorry for trouble,
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq2X7zP4AKCkKrRtJObAwHKPO_-CDhApX5j6vD4pmk-f8g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAD0p0K63ZXneidvbAbm%3DQG3Yu9xHfdPmm41nCXExnA2FTxZfdw%40mail.gmail.com.
Hi John,
Do you have
libncurses5-dev
installed?
I guess not, as in your config.log I see
conftest.cpp:56:21: fatal error: ncurses.h: No such file or directory
and this header is provided by this package.
I'd say it's a bug in Ubunty xenial that libreadline-dev does not
depend on this package!
Could you try installing it, then run
make ncurses-clean
make readline-clean
./configure
and check whether system-wide readline is picked up?
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq0Eknf6t%2BHZJiJdk%3D56ky285NuvqebsFuOPykSPaqub_A%40mail.gmail.com.
something did not work as you installed libncurses5-dev,
as you still appear to miss
/usr/include/ncurses.h
(according to the new log:
configure:10315: checking for ncurses.h
configure:10315: result: no )
whereas https://packages.ubuntu.com/xenial/amd64/libncurses5-dev/filelist
has this file listed...
Could you check that
/usr/include/ncurses.h
is present on the box?
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq1bENcHJhdsfY9RUMuy%2BPYu3XbzMQW5w6reg9iJJX8JOA%40mail.gmail.com.
On Wed, 2 Oct 2019 at 02:22, Dima Pasechnik <dim...@gmail.com> wrote:something did not work as you installed libncurses5-dev,
as you still appear to miss
/usr/include/ncurses.h
(according to the new log:
configure:10315: checking for ncurses.h
configure:10315: result: no )
whereas https://packages.ubuntu.com/xenial/amd64/libncurses5-dev/filelist
has this file listed...
Could you check that
/usr/include/ncurses.h
is present on the box?It was not, but I think that yesterday I was confused and had installed it on a different machine from the one I reported on (too many windows open). I just checked by manually installing that package on all 6 machines, which did do the install in 5 cases while on the 6th it was already there -- and that 6th machine was one for which the original build had worked OK! (Yesterday I said that all 6 had failed the same way but in fact 5 had, the 6th was still building when I reported).For completeness I am attaching he latest config.log.I think that Samuel might have hit on something I did wrong. My bash history shows1989 tar zxf 8.9.tar.gz
1990 cd sage-8.9
1991 make configure
1992 makewith no ./configure step. I must have thought that "make configure" was instead of that...I'll restart the 5 builds after doing ./configure (after ncurses-clean and readline-clean), and report back.
Thanks for your answer, please could you cc me if you open a ticket ?
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/20191011173615.m6noxrd5766yr3ca%40metelu.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/20191011171358.usbfg2ekq2jnmq5x%40metelu.net.
On Fri, Oct 11, 2019 at 02:50:41PM -0500, Dima Pasechnik wrote:
> I can't post there on ask.* from phone, I believe that installing
> libncurses5-dev and libreadline-dev should allow the build to use system
> readline.
Unfortunately, what i understand from the post, the user does not have
root acces, hence can not install packages.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/20191011200410.w5fz5ce3es3ifs4p%40metelu.net.