delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/02/21:22:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42C73DE1.1000309@familiehaase.de>
Date: Sun, 03 Jul 2005 03:22:41 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: ncurses update pending? (was: Re: library `/usr/lib/libncurses.la' was moved.)
References: <4192A2FE DOT 4070009 AT familiehaase DOT de> <4193D878 DOT 6040203 AT cwilson DOT fastmail DOT fm> <4194687D DOT 2020209 AT familiehaase DOT de>
In-Reply-To: <4194687D.2020209@familiehaase.de>
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019