Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 20:24:33 +0200
From:      Marcin Simonides <marcin@studio4plus.com>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        Pedro Castro <pedro@pedrocastro.org>, freebsd-ports@freebsd.org
Subject:   Re: GMSGFMT variable not defined
Message-ID:  <469671E1.3090301@studio4plus.com>
In-Reply-To: <op.tvc59lwl9aq2h7@mezz.mezzweb.com>
References:  <4696562F.4050505@studio4plus.com> <op.tvc3zmis9aq2h7@mezz.mezzweb.com> <469666F2.8070800@studio4plus.com> <op.tvc59lwl9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote:
> On Thu, 12 Jul 2007 12:37:54 -0500, Marcin Simonides 
> <marcin@studio4plus.com> wrote:
> 
>> Jeremy Messenger wrote:
>>> On Thu, 12 Jul 2007 11:26:23 -0500, Marcin Simonides
>> [...]
>>>>
>>>> I've checked with the program's aclocal.m4, it contains a line:
>>>>
>>>> AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
>>>>
>>>> which looks right to me - GMSGFMT should be set to $MSGFMT if the 
>>>> program is not found. msgfmt is being recognised by configure *but* 
>>>> both MSFGMT and GMSGFMT are set to "nothing" in the program's 
>>>> po/Makefile.
>>>>
>>>> There is a check for msgfmt (successful) in the configure's output, 
>>>> but none for gmsgfmt (the configure.am.
>>>  Can you show us the configure output?
>>
>> Certainly:
>>
>> ===>  Configuring for gnome-subtitles-0.6
[...]
>> checking libintl.h usability... no
>> checking libintl.h presence... no
>> checking for libintl.h... no
> <snip>
> 
> Here, this is problem. Have you tried to add this below in your Makefile 
> yet?
> 
> =====================================
> CONFIGURE_ENV=    CPPFLAGS="-I${LOCALBASE}/include" \
>         LDFLAGS="-L${LOCALBASE}/lib"
> =====================================

Oh boy, and it does say that in the Porter's Handbook <blushes>, I just 
didn't recognise that this is the case.
Adding these lines has solved the problem, thanks.

> After you add, you should see the change from 'no' to 'yes' and extra 
> details of lines related with this.

It does as you say.
-- 
Marcin Simonides



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469671E1.3090301>