GMSGFMT variable not defined

Marcin Simonides marcin at studio4plus.com
Thu Jul 12 18:24:45 UTC 2007


Jeremy Messenger wrote:
> On Thu, 12 Jul 2007 12:37:54 -0500, Marcin Simonides 
> <marcin at 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


More information about the freebsd-ports mailing list