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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jul 2007 11:26:23 -0500, Marcin Simonides  =

<marcin@studio4plus.com> wrote:

> I'm the maintainer of multimedia/gnome-subtitles port. The new version=
  =

> adds language translations.
>
> I have added USE_GETTEXT=3Dyes to the port's Makefile.
>
> There is a problem with building language translation files, variable =
 =

> GMSGFMT is not being defined and so the rule below doesn't work:
>
> .po.gmo:
>          file=3D`echo $* | sed 's,.*/,,'`.gmo \
>            && rm -f $$file && $(GMSGFMT) -o $$file $<
>
> 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* bo=
th  =

> 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, bu=
t  =

> none for gmsgfmt (the configure.am.

Can you show us the configure output?

Cheers,
Mezz

> My question is: are there any knobs, settings, dependencies etc. I  =

> should use (the Porter's Handbook doesn't seem to mention anything lik=
e  =

> that) or is this probably the program's configure issue?
>
> config.log available for request (unfortunately I have no idea how to =
 =

> analyze it, I just saw that INTLTOOL_MSGFMT is being set to correct pa=
th  =

> and G?MSGFMT to '').
>
> This mail is also being sent to the author of the program.
> Sorry that it's so chaotic, but I have no idea where to start looking =
 =

> for the root of the problem and what information to provide.


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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