ncurses update pending? (was: Re: library `/usr/lib/libncurses.la' was moved.)
Gerrit P. Haase
gerrit@familiehaase.de
Sun Jul 3 01:22:00 GMT 2005
Hi Charles,
> In November *2004* Charles Wilson wrote:
>
>> Gerrit P. Haase wrote:
>>
>>> Hi,
>>>
>>> Getting this warning:
>>>
>>> libtool: link: warning: library `/usr/lib/libncurses.la' was moved.
>>>
>>> $ cat /usr/lib/libncurses.la
>>> [...]
>>> # Directory that this library needs to be installed in:
>>> libdir='/usr/src/ncurses/ncurses-5.4/.inst/usr/lib'
>>
>>
>>
>> Hmm....sorry I missed that. ncurses is weird; it uses libtool but not
>> automake, so DESTDIR installs are tricky. I'll try to roll a new
>> release next week sometime. In the meantime, just change the line to
^^^^^^^^^^^^^^^^^^^^^^^^^^^
hear, hear.
>> the obvious
>>
>>
>> libdir='/usr/lib'
>>
>> You'll also need to change "dependency_libs" as well -- and these
>> modifications go for all of the ncurses .la files:
>>
>> libpanel.la
>> libmenu.la
>> libform.la
>> libncurses.la
>> libncurses++.la
>
>
> It is not really a problem since the linker finds the libraries anyway,
> maybe just the generated .la files are wrong though.
Well, it is a problem when building PHP because they use thier own
special system:
libtool: link: warning: library `/usr/lib/libpanel.la' was moved.
grep: /usr/src/ncurses/ncurses-5.4/.inst/usr/lib/libncurses.la: No such
file or directory
/usr/bin/sed: can't read
/usr/src/ncurses/ncurses-5.4/.inst/usr/lib/libncurses.la: No such file
or directory
libtool: link:
`/usr/src/ncurses/ncurses-5.4/.inst/usr/lib/libncurses.la' is not a
valid libtool archive
make: *** [ext/ncurses/ncurses.la] Error 1
Reini wrote:
> this should fix all those .la's:
was missing a /usr, this is better:
zcat /etc/setup/libncurses-devel.lst.gz | grep "\.la$" | \
(cd /; xargs perl -pi.orig \
-e 's|/usr/src/ncurses/ncurses-5.4/.build/lib|/usr/lib|g; \
s|/usr/src/ncurses/ncurses-5.4/.inst/usr/lib|/usr/lib|g' )
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list