Re: msgfmt found in path, but $MSGFMT empty

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

 



Hello,

On 4/29/07, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux