Am 01.06.2009, 22:48 Uhr, schrieb David Karr <dk...@real.com>:
-----Original Message-----
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@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/