GNOME Bugzilla – Bug 312321
Fails to build
Last modified: 2009-08-15 18:40:50 UTC
Please describe the problem: make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `distclean'. Stop. Generating initial interface files Generating Interface IAnjutaBuildable Writing ianjuta-buildable.h Writing ianjuta-buildable.c Generating Interface IAnjutaDebugger Writing ianjuta-debugger.h Writing ianjuta-debugger.c Generating Interface IAnjutaDebuggerManager Writing ianjuta-debugger-manager.h Writing ianjuta-debugger-manager.c Generating Interface IAnjutaDocumentManager Writing ianjuta-document-manager.h Writing ianjuta-document-manager.c Generating Interface IAnjutaEditor Writing ianjuta-editor.h Writing ianjuta-editor.c Generating Interface IAnjutaFile Writing ianjuta-file.h Writing ianjuta-file.c Generating Interface IAnjutaFileLoader: IAnjutaLoader Writing ianjuta-file-loader.h Writing ianjuta-file-loader.c Generating Interface IAnjutaFileManager Writing ianjuta-file-manager.h Writing ianjuta-file-manager.c Generating Interface IAnjutaFileSavable: IAnjutaFile Writing ianjuta-file-savable.h Writing ianjuta-file-savable.c Generating Interface IAnjutaHelp Writing ianjuta-help.h Writing ianjuta-help.c Generating Interface IAnjutaIterable Writing ianjuta-iterable.h Writing ianjuta-iterable.c Generating Interface IAnjutaIterableTree: IAnjutaIterable Writing ianjuta-iterable-tree.h Writing ianjuta-iterable-tree.c Generating Interface IAnjutaLoader Writing ianjuta-loader.h Writing ianjuta-loader.c Generating Interface IAnjutaMacro Writing ianjuta-macro.h Writing ianjuta-macro.c Generating Interface IAnjutaMarkable Writing ianjuta-markable.h Writing ianjuta-markable.c Generating Interface IAnjutaMessageManager Writing ianjuta-message-manager.h Writing ianjuta-message-manager.c Generating Interface IAnjutaMessageView Writing ianjuta-message-view.h Writing ianjuta-message-view.c Generating Interface IAnjutaProfile Writing ianjuta-profile.h Writing ianjuta-profile.c Generating Interface IAnjutaProjectManager Writing ianjuta-project-manager.h Writing ianjuta-project-manager.c Generating Interface IAnjutaStream Writing ianjuta-stream.h Writing ianjuta-stream.c Generating Interface IAnjutaStreamLoader: IAnjutaLoader Writing ianjuta-stream-loader.h Writing ianjuta-stream-loader.c Generating Interface IAnjutaStreamSavable: IAnjutaStream Writing ianjuta-stream-savable.h Writing ianjuta-stream-savable.c Generating Interface IAnjutaSymbol Writing ianjuta-symbol.h Writing ianjuta-symbol.c Generating Interface IAnjutaSymbolManager Writing ianjuta-symbol-manager.h Writing ianjuta-symbol-manager.c Generating Interface IAnjutaTerminal Writing ianjuta-terminal.h Writing ianjuta-terminal.c Generating Interface IAnjutaTodo Writing ianjuta-todo.h Writing ianjuta-todo.c Generating Interface IAnjutaVcs Writing ianjuta-vcs.h Writing ianjuta-vcs.c Generating Interface IAnjutaWizard Writing ianjuta-wizard.h Writing ianjuta-wizard.c Writing libanjuta-iface-marshallers.list Writing Makefile.am processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file mkinstalldirs Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Making ./aclocal.m4 writable ... Running intltoolize... no need for patching file 'Makefile.in.in' Running libtoolize... You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Running aclocal ... aclocal: configure.in: 79: macro `AM_CFLAGS' not found in library aclocal: configure.in: 80: macro `AM_CXXFLAGS' not found in library aclocal: configure.in: 85: macro `AM_CFLAGS' not found in library aclocal: configure.in: 86: macro `AM_CXXFLAGS' not found in library Running autoheader... autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in Running automake --gnu ... automake: configure.in: installing `./install-sh' automake: configure.in: installing `./missing' configure.in: 68: required file `./config.h.in' not found plugins/subversion/Makefile.am:55: warning: automake does not support conditional definition of plugin_in_files in EXTRA_DIST plugins/subversion/Makefile.am:55: warning: automake does not support conditional definition of subversion_plugin_DATA in EXTRA_DIST plugins/subversion/Makefile.am:19: warning: automake does not support conditional definition of plugin_in_files in subversion_plugin_DATA plugins/subversion/Makefile.am:55: warning: automake does not support conditional definition of subversion_ui_DATA in EXTRA_DIST plugins/subversion/Makefile.am:55: warning: automake does not support conditional definition of subversion_glade_DATA in EXTRA_DIST plugins/subversion/Makefile.am:55: warning: automake does not support conditional definition of subversion_pixmaps_DATA in EXTRA_DIST plugins/class-inheritance/Makefile.am:53: warning: automake does not support conditional definition of plugin_in_files in EXTRA_DIST plugins/class-inheritance/Makefile.am:53: warning: automake does not support conditional definition of cls_inheritance_plugin_DATA in EXTRA_DIST plugins/class-inheritance/Makefile.am:13: warning: automake does not support conditional definition of plugin_in_files in cls_inheritance_plugin_DATA plugins/class-inheritance/Makefile.am:53: variable `cls_inheritance_ui_DATA' not defined plugins/class-inheritance/Makefile.am:53: variable `cls_inheritance_glade_DATA' not defined plugins/class-inheritance/Makefile.am:53: warning: automake does not support conditional definition of cls_inheritance_pixmaps_DATA in EXTRA_DIST Running autoconf ... configure.in:67: 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:68: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:69: error: possibly undefined macro: AM_MAINTAINER_MODE configure.in:79: error: possibly undefined macro: AM_CFLAGS configure.in:80: error: possibly undefined macro: AM_CXXFLAGS configure.in:110: error: possibly undefined macro: AC_PROG_INTLTOOL configure.in:117: error: possibly undefined macro: AM_DISABLE_STATIC configure.in:118: error: possibly undefined macro: AM_PROG_LIBTOOL configure.in:267: error: possibly undefined macro: AM_CONDITIONAL configure.in:363: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT configure.in:364: error: possibly undefined macro: AM_GLIB_DEFINE_LOCALEDIR Running ./configure --enable-maintainer-mode --enable-compile-warnings=no --prefix=/opt/anjuta/ ... ./configure: line 1380: syntax error near unexpected token `anjuta,' ./configure: line 1380: `AM_INIT_AUTOMAKE(anjuta, $ANJUTA_VERSION)' make: *** No targets specified and no makefile found. Stop Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
This is a autoconf/automake installation problem. Aclocal does not find very common macros AM_CFLAGS, etc. Please consider to update and/or fix your autoconf/automake/aclocal installation.
*** Bug 311241 has been marked as a duplicate of this bug. ***
Created attachment 50114 [details] [review] Proposed patch
Waiting for approval to commit this one Naba. Please let me know (or close this bug) once it's committed. That way I can prepare my checkout.
Btw. I have a cvs account on gnome. I can also commit this for you (with a ChangeLog entry for example).
Having a completly different autogen.sh might cause problems and I don't think it is good to remove some stuff from class-gen EXTRA_DIST (won't be installed then) just because automake prints a warning. Class-gen won't work if GLADE_DATA is not installed. Please wait until Naba tells you if you should commit or not but I assume he wants to change parts of the patch. Regards, Johannes
http://bugzilla.ubuntu.com/show_bug.cgi?id=13146
Comment #6: Indeed. I've discussed this with Naba on IRC. I will not commit this.
*** Bug 309090 has been marked as a duplicate of this bug. ***
Closing all fixed bugs. Sorry for the mass update :( ...