[glade--]Re: [gtkmm] (no subject)

Christof Petig <[email protected]> Thu, 01 Apr 2004 15:44:03 +0200
Newsgroups gmane.comp.gnome.glademm,gmane.comp.gnome.gtkmm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Hi Silviu,

Please use the glademm mailing list and not the gtkmm list (it's off 
topic there) [CCed for a last time]

Sorry, I have been busy at the moment (holiday preparations for next 
week) and it took me some time to answer.

"which" prints errors on some installations (it doesn't on mine) and the 
purpose of it is to find the correctly named make/autoconf/automake 
binary. I simply did not get to add an 2>/dev/null to it.

Unfortunately the name of auto* varies a lot between different 
distributions (and I have only debian to test)

Silviu D Minut schrieb:
> I compiled glade-- from CVS and I'm trying to generate a simple project
> with it. I run autogen.sh and this is what I get
> 
> which: no gnumake in
> (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:/home/silviu/bin:/opt/Singular/2-0-3/ix86-Linux:/opt/bin:/usr/local/vtex/bin:/usr/java/j2sdk1.4.2_03/jre/bin)
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. found
> which: no autoconf2.50 in
> (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:/home/silviu/bin:/opt/Singular/2-0-3/ix86-Linux:/opt/bin:/usr/local/vtex/bin:/usr/java/j2sdk1.4.2_03/jre/bin)
> autoconf (GNU Autoconf) 2.59 found
> automake (GNU automake) 1.7.8 found
> This script runs configure and make...
> You did remember necessary arguments for configure, right?
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'.
> configure.in:7: error: m4_defn: undefined macro: _m4_divert_diversion

I never saw this one ... are you sure that your installation is allright?

> autoconf/status.m4:424: AC_CONFIG_HEADERS is expanded from...
> configure.in:7: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> autoheader: /usr/bin/autom4te failed with exit status: 1
> configure.in:6: error: m4_defn: undefined macro: _m4_divert_diversion
> aclocal.m4:116: AM_INIT_AUTOMAKE is expanded from...
> configure.in:6: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes
> AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using
> aclocal).
> configure.in: installing `./mkinstalldirs'
> configure.in: installing `./missing'
> automake-1.7: no `Makefile.am' found or specified
> configure.in:6: error: m4_defn: undefined macro: _m4_divert_diversion
> aclocal.m4:116: AM_INIT_AUTOMAKE is expanded from...
> configure.in:6: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> ./autogen.sh: line 50: ./configure: No such file or directory
> 
> 
> Looks like the problem stems from _m4_divert_diversion. I have
> m4-1.4.1-14. Any suggestions?

please try on a different machine if possible (I never saw problems like 
these). If you can modify autogen.sh to work on your machine I would of 
course be interested in the modifications.

Perhaps autoreconf is the way to go (instead of autogen.sh). Sadly I 
never found a good documentation for it.

    Christof