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: Fri, 22 Oct 2010 14:23:07 +0200

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.

   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



reply via email to

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