To read the solution to a problem, check the checkbox next to the problem. To hide the solution, uncheck the checkbox.
' is already registered with AC_CONFIG_FILES
This error seems to be pretty common among Gnome applications. Many times the error looks like below:
$ ../../sources/gtk-doc/autogen.sh
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ../../sources/gtk-doc/autogen.sh c ommand line.
' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:100: the top level
autom4te: /bin/m4 failed with exit status: 1
' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:100: the top level
autom4te: /bin/m4 failed with exit status: 1
configure.in: `AM_INIT_AUTOMAKE' must be used
automake-1.7: your implementation of AM_INIT_AUTOMAKE comes from an
automake-1.7: old Automake version. You should recreate aclocal.m4
automake-1.7: with aclocal and run automake again.
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
automake-1.7: no `Makefile.am' found or specified
../../sources/gtk-doc/autogen.sh: ../../sources/gtk-doc/configure: No such file or directory
Now type 'make install' to install gtk-doc.
After some trial and error, the cause was determined to be with white space handling in Autoconf on Windows. Check the AC_CONFIG_FILES section in configure.in (around the line number mentioned), and check for white space after words, blank lines, etc. Save the file, and autogen.sh should work.
error: initializer element is not constant
This error is due to the linking code in GCC for Windows. The error looks like below:
$ make
src/idl-compiler/orbit-idl-main.c:136: error: initializer element is not constant
src/idl-compiler/orbit-idl-main.c:136: error: {near initializer for 'options[23].arg'
Thanks to the amazing Tor Lillqvist, a simple fix has been determined. If you used popt-1.8 from the gnuwin32, just run the following command on the shell:
$ export CFLAGS="-DPOPT_STATIC"
This will make Popt build in as static, and not as a shared library, and GCC will build it without farting ;).
As of Feb 23 2005, this has been obsoleted. Please download updated popt packages from the downloads page