bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: compiling gettext on mac os x 10.5


From: Ralf Wildenhues
Subject: Re: compiling gettext on mac os x 10.5
Date: Fri, 23 Oct 2009 21:12:57 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Aaron,

* Simmons, Aaron wrote on Fri, Oct 23, 2009 at 07:56:16PM CEST:
> I'm trying to build gettext on mac os x 10.5.  After running configure
> (with no args) I run make and after a while get this error:
> 
> Making all in gettext-tools
> cd . && /bin/sh 
> /Users/asimmons/Development/glib2/gettext-0.17/build-aux/missing --run 
> autoconf
> gnulib-m4/openmp.m4:29: error: m4_copy: won't overwrite defined macro: 
> _AC_LANG_OPENMP(C++)
> gnulib-m4/openmp.m4:29: the top level
> autom4te: /opt/local/bin/gm4 failed with exit status: 1
> make[1]: *** [configure] Error 1
> make: *** [all-recursive] Error 1

The first thing that's weird is that building from a tarball shouldn't
cause autoconf to be run at all.  Did your system somehow mess up time
stamps when extracting the package?

Then, the error comes from a semantic change of the (formerly
undocumented) m4_copy macro in Autoconf 2.64.  If you can't get the time
stamps fixed, then replacing all instances of m4_copy with m4_copy_force
in said macro file should fix this error for Autoconf 2.64.  (A fix
portable to older Autoconf versions as well would be to prepend a
m4_copy([MACRO]) with m4_undefine([MACRO])

Hope that helps.

Cheers,
Ralf




reply via email to

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