Can't create GTK+ application framework

Bernd Muent Bernd.Muent at euroscript.de
Wed Nov 2 13:14:03 GMT 2005


Hello together,
I worked with kdevelop for developing qt and kde programs and it's a 
fine IDE.
But now I tried to create a new project C++->GTK+->Gtk application 
framework.
Just trying to run without any changes, it stops while running aufconf 
&& automake with:

configure.in:3: error: possibly undefined macro: AM_INIT_AUTOMAKE If
this token and others are legitimate, please use m4_pattern_allow. See
the Autoconf documentation.
configure.in:8: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:13: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.in:17: error: possibly undefined macro: AM_PATH_GTKMM

I had this problem on a Debian system as well as on a LFS system.
glib/gtk+/gnome and all this is installed/self compiled on this systems 
(with .dev packages!).
What's going wrong?

Thank you for tips, Bernd

The complete output from kdevelop is:
cd '/root/gtktest' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1"
./autogen.sh && mkdir '/root/gtktest/debug' && cd '/root/gtktest/debug'
&& CXXFLAGS="-O0 -g3" CFLAGS="-O0 -g3" "/root/gtktest/configure"
--enable-debug=full && cd '/root/gtktest/debug' && WANT_AUTOCONF_2_5="1"
WANT_AUTOMAKE_1_6="1" make -k
shell-init: could not get current directory: getcwd: cannot access
parent directories: Datei oder Verzeichnis nicht gefunden
chdir: could not get current directory: getcwd: cannot access parent
directories: Datei oder Verzeichnis nicht gefunden
which: no gnumake in
(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/local/apache/bin:/opt/kde3/bin:/usr/lib/java/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde/bin:/opt/gnome/bin:/usr/local/mysql/bin:/opt/j2sdk/bin:/usr/lib/qt/bin:/usr/local/JBuilder2005/bin:/usr/local/java/j2re/bin:/usr/local/ant/bin)
which: no gmake in
(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/local/apache/bin:/opt/kde3/bin:/usr/lib/java/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde/bin:/opt/gnome/bin:/usr/local/mysql/bin:/opt/j2sdk/bin:/usr/lib/qt/bin:/usr/local/JBuilder2005/bin:/usr/local/java/j2re/bin:/usr/local/ant/bin)
Found GNU Make at /usr/bin/make ... good.
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'.
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
aclocal: configure.in: 17: macro `AM_PATH_GTKMM' not found in library
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).
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
configure.in:3: error: possibly undefined macro: AM_INIT_AUTOMAKE If
this token and others are legitimate, please use m4_pattern_allow. See
the Autoconf documentation.
configure.in:8: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:13: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.in:17: error: possibly undefined macro: AM_PATH_GTKMM
*** Beendet mit Status: 1 ***

-- 
Bernd Münt                   Durchwahl: 030/69032-509
euroscript Deutschland GmbH  Zentrale:  030/69032-300
Abteilung IT-Management      Fax:       030/69032-505
Alt-Moabit 91                Mail:      Bernd.Muent at euroscript.de
10559 Berlin                 Web:       http://www.euroscript.de



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list