This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building "trueprint" fails with missing ref to _libintl_gettext


Am 01.06.2009, 22:48 Uhr, schrieb David Karr <dkarr@real.com>:

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of David Karr
Sent: Monday, June 01, 2009 1:26 PM
To: cygwin@cygwin.com
Subject: Building "trueprint" fails with missing ref to _libintl_gettext

I'm trying to build the "trueprint" app on Cygwin, and it's failing with
the
following:

undefined reference to `_libintl_gettext'

I had to do this many years ago, and I believe I ran into this then also,
but I don't remember what I had to do to resolve it.


When I run "configure" it comes out with a line (among others):

checking for gettext... (cached) no

I don't know if I'm simply missing a Cygwin package, or whether I have to
hack the trueprint build to get it to work. The "gettext" package in
Cygwin
is installed.

Never mind. I figured it out. I just added -lintl to the LIBS variable in the resulting src/Makefile.

You can also do something like


./configure LIBS=-lintl

or

./configure LIBS="-lintl -lfoobar"

If configure was built with a semi-recent autoconf, that will also propagate into the Makefile without your needing to tweak the Makefile.

HTH

--
Matthias Andree

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]