Re: [Gtk-osx-users] GTK+: possibly undefined macro: dnl



On Apr 17, 2011, at 9:01 AM, Chap Harrison wrote:

> Hi,
> 
> I encountered this error during the jhbuild build meta-gtk-osx-core step of the instructions at https://sourceforge.net/apps/trac/gtk-osx/wiki/Build.  I'm running 10.6.7 and have Xcode 4.0.1 (and I ran export ARCHFLAGS="-arch x86_64 -arch i386").  Does anyone know how to fix this?
> 
> Thanks,
> Chap
> 
> 
> *** Configuring gtk+ *** [10/12]
> autoreconf -fis && ./configure --prefix /Users/chap/gtk/inst --libdir '/Users/chap/gtk/inst/lib' --with-gdktarget=quartz --disable-static
> libtoolize: putting auxiliary files in `.'.
> libtoolize: linking file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: linking file `m4/libtool.m4'
> libtoolize: linking file `m4/ltoptions.m4'
> libtoolize: linking file `m4/ltsugar.m4'
> libtoolize: linking file `m4/ltversion.m4'
> libtoolize: linking file `m4/lt~obsolete.m4'
> configure.in:150: error: possibly undefined macro: dnl
>      If this token and others are legitimate, please use m4_pattern_allow.
>      See the Autoconf documentation.
> autoreconf: /Users/chap/gtk/inst/bin/autoconf failed with exit status: 1
> *** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/chap/gtk/inst --libdir '/Users/chap/gtk/inst/lib' --with-gdktarget=quartz --disable-static *** tk-osx-users lists sourceforge net

No, but you've messed something up. "dnl" introduces comments in the m4 macro language... which implies that whatever autoreconf called, it wasn't the right m4. But it's strange that you got all of the way to Gtk+ before the problem showed up. Did you start fresh or were you rebuilding an already-existing tree?

Regards,
John Ralls




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