autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: msgfmt found in path, but $MSGFMT empty


From: John Faith
Subject: Re: msgfmt found in path, but $MSGFMT empty
Date: Mon, 30 Apr 2007 11:33:20 -0700

Hello,

On 4/29/07, Ralf Wildenhues <address@hidden> wrote:
Hello John,

* John Faith wrote on Fri, Apr 27, 2007 at 07:07:19PM CEST:
> I am trying to configure Inkscape on OS X 10.3.9 with autoconf 2.61
> from MacPorts.  In config.log, I see:
>  INTLTOOL_MSGFMT='/opt/local/bin/msgfmt'
>
> , but later:
>  MSGFMT=''
>
> , which causes the build to fail since the Makefile tries to call the
> empty $(MSGFMT).
>
> I've seen 2 solutions to this problem, one was to set msgfmt path in
> the generated Makefile, the other to set $MSGFMT and $GMSGFMT
> environment variables.  Neither workaround seems quite right.
>
> In configure.ac, is it correct that 'AC_PROG_INTLTOOL(0.22)' is
> responsible for finding intltoolize, msgfmt, etc. and setting the
> paths to the executables?  Any ideas on how to approach this undefined
> variable, or just try 'echo' in configure?

This bug is very likely not an Autoconf bug, but an issue with
third-party Autoconf macros.  Presumably, AC_PROG_INTLTOOL comes from
GNOME's intltool package, and the MSGFMT setting from some gettext
macros.  That's where you should probably continue searching.


Thanks for the pointer.  I was not able to determine the root cause of
this after looking through other macros, but adding
'AC_PATH_PROG(MSGFMT, msgfmt, msgfmt)' in my configure.ac seemed to
work around this problem.


Hope that helps.

Cheers,
Ralf


Yup, thanks!
,
John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]