public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* libtool not finding /usr/lib/libintl.la or what?
@ 2017-07-01  5:50 Mark Geisert
  2017-07-01  6:46 ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Geisert @ 2017-07-01  5:50 UTC (permalink / raw)
  To: cygwin-apps

Esteemed co-conspirators,
I've been pulling my hair out trying to build a new cygutils package on 
32-bit Cygwin.  The exact same source package builds fine on 64-bit but 
32-bit fails with the following...

make[2]: Entering directory '/usr/src/cygutils-test/cygutils-1.4.16-1.i686/build'
   CCRC   src/cygicons/cygicons.lo
   CC       src/banner/banner.o
   CC       src/clip/getclip.o
   CC       src/clip/putclip.o
   CC       src/cygstart/cygstart.o
   CXX      src/lpr/Printer.o
   CXX      src/lpr/Win32Utils.o
   CXX      src/lpr/lpr.o
   CC       src/mkshortcut/mkshortcut.o
   CC       src/readshortcut/readshortcut.o
   CC       src/winln/winln.o
   CC       src/conv/conv.o
   CC       src/dump/dump.o
   CC       src/ipc/semtool.o
   CC       src/ipc/shmtool.o
   CC       src/ipc/msgtool.o
   CC       src/ipc/semstat.o
   CXX      src/cygdrop/src_cygdrop_cygdrop-cygdrop.o
   CCLD     src/cygicons/libicons.la
   CCLD     src/banner/banner.exe
libtool:   error: cannot find the library '/usr/lib/libintl.la' or unhandled argument '/usr/lib/libintl.la'
make[2]: *** [Makefile:848: src/banner/banner.exe] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/usr/src/cygutils-test/cygutils-1.4.16-1.i686/build'
make[1]: *** [Makefile:1352: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/cygutils-test/cygutils-1.4.16-1.i686/build'
make: *** [Makefile:687: all] Error 2
*** ERROR: make failed

None of the source files make use of internationalization yet.  Package 
author Charles Wilson made the package i18n-ready in case a future 
addition to the package needed it.  There weren't any issues building for 
32-bit on the last go-round ~1.5 years ago.

Does anybody recognize the issue?  Thanks for any leads.
Yours in frustration,

..mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libtool not finding /usr/lib/libintl.la or what?
  2017-07-01  5:50 libtool not finding /usr/lib/libintl.la or what? Mark Geisert
@ 2017-07-01  6:46 ` Marco Atzeri
  2017-07-01  7:18   ` Mark Geisert
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2017-07-01  6:46 UTC (permalink / raw)
  To: cygwin-apps

On 01/07/2017 07:47, Mark Geisert wrote:
> Esteemed co-conspirators,
> I've been pulling my hair out trying to build a new cygutils package on
> 32-bit Cygwin.  The exact same source package builds fine on 64-bit but
> 32-bit fails with the following...
>
>   CC       src/ipc/semstat.o
>   CXX      src/cygdrop/src_cygdrop_cygdrop-cygdrop.o
>   CCLD     src/cygicons/libicons.la
>   CCLD     src/banner/banner.exe
> libtool:   error: cannot find the library '/usr/lib/libintl.la' or
> unhandled argument '/usr/lib/libintl.la'

it is pulled by /usr/lib/libpopt.la.


try

$ cd /usr/lib
$ mv libpopt.la libpopt.la_bk

and run again make in build

make[2]: Entering directory 
'/cygdrive/e/cyg_pub/temp/cygutils-1.4.15-2.src/cygutils-1.4.15-2.i686/build'
   CCLD     src/banner/banner.exe
   CCLD     src/clip/getclip.exe
   CCLD     src/clip/putclip.exe
   CCLD     src/cygstart/cygstart.exe
   CXXLD    src/lpr/lpr.exe
   CCLD     src/mkshortcut/mkshortcut.exe
   CCLD     src/readshortcut/readshortcut.exe
   CCLD     src/winln/winln.exe
   CCLD     src/conv/conv.exe
   CCLD     src/dump/dump.exe
   CCLD     src/ipc/semtool.exe
   CCLD     src/ipc/shmtool.exe
   CCLD     src/ipc/msgtool.exe
   CCLD     src/ipc/semstat.exe
   CXXLD    src/cygdrop/cygdrop.exe
make[2]: Leaving directory 
'/cygdrive/e/cyg_pub/temp/cygutils-1.4.15-2.src/cygutils-1.4.15-2.i686/build'
make[1]: Leaving directory 
'/cygdrive/e/cyg_pub/temp/cygutils-1.4.15-2.src/cygutils-1.4.15-2.i686/build'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libtool not finding /usr/lib/libintl.la or what?
  2017-07-01  6:46 ` Marco Atzeri
@ 2017-07-01  7:18   ` Mark Geisert
  2017-07-01  7:29     ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Geisert @ 2017-07-01  7:18 UTC (permalink / raw)
  To: cygwin-apps

On Sat, 1 Jul 2017, Marco Atzeri wrote:
> On 01/07/2017 07:47, Mark Geisert wrote:
>> Esteemed co-conspirators,
>> I've been pulling my hair out trying to build a new cygutils package on
>> 32-bit Cygwin.  The exact same source package builds fine on 64-bit but
>> 32-bit fails with the following...
>>
>>   CC       src/ipc/semstat.o
>>   CXX      src/cygdrop/src_cygdrop_cygdrop-cygdrop.o
>>   CCLD     src/cygicons/libicons.la
>>   CCLD     src/banner/banner.exe
>> libtool:   error: cannot find the library '/usr/lib/libintl.la' or
>> unhandled argument '/usr/lib/libintl.la'
>
> it is pulled by /usr/lib/libpopt.la.
>
>
> try
>
> $ cd /usr/lib
> $ mv libpopt.la libpopt.la_bk
>
> and run again make in build

Amazing.  That does work.  But what is the correct way to deal with this 
when some random user wants to build 32-bit cygutils from source?  Should 
the build procedure actually do what you suggested?  I could not figure 
out which package supplies (or used to supply) libintl.la for 32 bits.
Thanks much,

..mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libtool not finding /usr/lib/libintl.la or what?
  2017-07-01  7:18   ` Mark Geisert
@ 2017-07-01  7:29     ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2017-07-01  7:29 UTC (permalink / raw)
  To: cygwin-apps

On 01/07/2017 09:18, Mark Geisert wrote:
> On Sat, 1 Jul 2017, Marco Atzeri wrote:
>> On 01/07/2017 07:47, Mark Geisert wrote:
>>> Esteemed co-conspirators,
>>> I've been pulling my hair out trying to build a new cygutils package on
>>> 32-bit Cygwin.  The exact same source package builds fine on 64-bit but
>>> 32-bit fails with the following...
>>>
>>>   CC       src/ipc/semstat.o
>>>   CXX      src/cygdrop/src_cygdrop_cygdrop-cygdrop.o
>>>   CCLD     src/cygicons/libicons.la
>>>   CCLD     src/banner/banner.exe
>>> libtool:   error: cannot find the library '/usr/lib/libintl.la' or
>>> unhandled argument '/usr/lib/libintl.la'
>>
>> it is pulled by /usr/lib/libpopt.la.
>>
>>
>> try
>>
>> $ cd /usr/lib
>> $ mv libpopt.la libpopt.la_bk
>>
>> and run again make in build
>
> Amazing.  That does work.  But what is the correct way to deal with this
> when some random user wants to build 32-bit cygutils from source?
> Should the build procedure actually do what you suggested?  I could not
> figure out which package supplies (or used to supply) libintl.la for 32
> bits.
> Thanks much,
>
> ..mark

we should remove the not needed /usr/lib/*.la (not all)
as we did from start on the 64bit version

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-01  7:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-01  5:50 libtool not finding /usr/lib/libintl.la or what? Mark Geisert
2017-07-01  6:46 ` Marco Atzeri
2017-07-01  7:18   ` Mark Geisert
2017-07-01  7:29     ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).