X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Date: Tue, 02 Jun 2009 09:35:11 +0200 To: "David Karr" , cygwin AT cygwin DOT com Subject: Re: Building "trueprint" fails with missing ref to _libintl_gettext From: "Matthias Andree" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <450D531908314783A54483A3B9A1EA37 AT corp DOT real DOT com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.64 (Linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Am 01.06.2009, 22:48 Uhr, schrieb David Karr : >> -----Original Message----- >> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf >> Of David Karr >> Sent: Monday, June 01, 2009 1:26 PM >> To: cygwin AT cygwin DOT 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/