On Apr 1, 2011, at 8:55 PM, Victor Tsang wrote:
> Hi there,
>
> I am trying to compile gtk+ using jhbuild. I am getting the following error. It will be great if you can help me figure out what is going on.
>
>
> *** Configuring gtk+ *** [10/12]
> autoreconf -fis && ./configure --prefix /Users/userA/gtk/inst --libdir '/Users/userA/gtk/inst/lib' --with-gdktarget=quartz --disable-static
> /Users/userA/gtk/inst/bin/m4: unrecognized option `--gnu'
> Try `/Users/userA/gtk/inst/bin/m4 --help' for more information.
> autom4te: /Users/userA/gtk/inst/bin/m4 failed with exit status: 1
> aclocal: /opt/local/bin/autom4te failed with exit status: 1
> autoreconf: aclocal failed with exit status: 1
> *** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/userA/gtk/inst --libdir '/Users/userA/gtk/inst/lib' --with-gdktarget=quartz --disable-static *** [10/12]
Looks like you're picking up autom4te (and probably autoreconf) from a MacPorts installation. Read and follow the instructions, in particular: http://sourceforge.net/apps/trac/gtk-osx/wiki/Build#Prerequisites
Regards,
John Ralls
|