bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to build ncurses 5.7 on Fedora 13


From: John P. Hartmann
Subject: Re: Unable to build ncurses 5.7 on Fedora 13
Date: Sat, 23 Oct 2010 11:05:01 +0200

This is the package I installed.  I tried a few things with it at random.

vttest.i686                 20071216-5.fc12

The error was that in some cases (and I could not figure out why) the
update of the last row of the screen would be cause the contents of
the window to scroll one line.

Control-D fixed it, whatever it was.

   j.

On 22 October 2010 22:22, Thomas Dickey <address@hidden> wrote:
> On Fri, 22 Oct 2010, John P. Hartmann wrote:
>
>> Thanks, but I got past the reason I wanted to build it (vttest leaving
>> xterm in a bad state that confused ncurses).  I'd like to know what is
>> the cause, of course, but I'm sure you have more important things on
>> your plate.
>
> oh.  which version of vttest was that?  (and test-screen).
>
> I seem to recall this fixed something with that type of symptom:
>
> 20100528
>        + correct check of fflush return code, which interfered with demo of
>          xterm window-modification controls.
>
>
>>
>>  j.
>>
>> On 22 October 2010 12:55, Thomas Dickey <address@hidden> wrote:
>>>
>>> On Fri, 22 Oct 2010, John P. Hartmann wrote:
>>>
>>>> I took it straight out of the box: ./configure ; make.
>>>>
>>>> The rum thing is that there is no -lc on the command line.
>>>
>>> Usually I build shared libraries for Linux (along with static), so tic
>>> would be linked with a shared library.  The rules are a little different
>>> for ld in that case.  (Adding -lc is however usually unnecessary).
>>>
>>> I can investigate this more, this evening...
>>>
>>>>
>>>>  j.
>>>>
>>>> On 22 October 2010 12:49, Thomas Dickey <address@hidden> wrote:
>>>>>
>>>>> On Wed, Oct 20, 2010 at 11:02:52AM +0200, John P. Hartmann wrote:
>>>>>>
>>>>>> gcc ../objects/tic.o ../objects/dump_entry.o  -I../progs -I.
>>>>>> -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
>>>>>>  -DNDEBUG -O2 --param max-inline-insns-single=1200 -static -L../lib
>>>>>> -lncurses -L../lib -lncurses -dynamic   -o tic
>>>>>> /usr/bin/ld: cannot find -lc
>>>>>
>>>>> I've not seen this for Linux, but recall some other systems (Solaris,
>>>>> iirc),
>>>>> where ld gets confused by the switch between dynamic/static.
>>>>>
>>>>> fwiw, I've built ncurses 5.7 + current patches with Fedora13.
>>>>> Perhaps knowing the configure options you're using would help.
>>>>>
>>>>>> collect2: ld returned 1 exit status
>>>>>> make[1]: *** [tic] Error 1
>>>>>> make[1]: Leaving directory `/usr/src/ncurses-5.7/progs'
>>>>>>
>>>>>> -rw-r--r-- 1 root root 238 Jul  6 15:30 /usr/lib/libc.so
>>>>>>
>>>>>> I've built other packages from source without problems.  Is it a
>>>>>> versioning problem?  [I did read INSTALL.]
>>>>>
>>>>> --
>>>>> Thomas E. Dickey <address@hidden>
>>>>> http://invisible-island.net
>>>>> ftp://invisible-island.net
>>>>>
>>>>> -----BEGIN PGP SIGNATURE-----
>>>>> Version: GnuPG v1.4.10 (GNU/Linux)
>>>>>
>>>>> iEYEARECAAYFAkzBbFMACgkQcCNT4PfkjtvrEACgj2SzFeSmlxcrDFt7FHWHOuao
>>>>> QFEAmgN5aj9g/ODsk9Qh3eSwsOfj/4rV
>>>>> =ICyv
>>>>> -----END PGP SIGNATURE-----
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Thomas E. Dickey
>>> http://invisible-island.net
>>> ftp://invisible-island.net
>>
>
> --
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]