GNOME Bugzilla – Bug 452331
autogen better use gnome-autogen.sh
Last modified: 2007-09-26 20:36:00 UTC
Please describe the problem: autogen will genenrate following error, better simply use gnome-autogen.sh checking for bind_textdomain_codeset... (cached) yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... no checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /opt/jdsbld/bin/xgettext checking for bind_textdomain_codeset... (cached) yes configure: creating ./config.status config.status: error: cannot find input file: Makefile.in Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? yes Other information:
Created attachment 90889 [details] [review] patch for bug 452331 Current autogen.sh is kind of old, gnome-autogen.sh is common in linux and unix world, use it will autogen.sh easier and more clear as following: #!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME=gdl (test -f $srcdir/configure.in \ && test -f $srcdir/ChangeLog \ && test -d $srcdir/gdl) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } which gnome-autogen.sh || { echo "You need to install gnome-common from the GNOME CVS" exit 1 } REQUIRED_AUTOMAKE_VERSION=1.9 . gnome-autogen.sh
The reason gnome-autogen.sh is not used is because gdl is not strictly gnome library. It has gtk-only build and that should not require to to check out gnome svn module (gnome-autogen.sh is not even packaged outside svn.gnome.org). The better way is to update it's autogen.sh from gnome-autogen.sh
Naba, good reason, but I do not know why have this error can not offer a new patch now. Do you have time to have a look? BTW, the configure are same with gnome-autogen.sh and ./autogen.sh
(In reply to comment #3) > Naba, good reason, but I do not know why have this error can not offer a new > patch now. Do you have time to have a look? > > BTW, the configure are same with gnome-autogen.sh and ./autogen.sh > If you provide the full terminal output when you run autogen.sh, perhaps I can figure out what's wrong.
Created attachment 90973 [details] gdl autogen.sh error log
*** Bug 468645 has been marked as a duplicate of this bug. ***
When even ATK can use gnome-autogen.sh which has really no gnome depencies, we can to so, too. gnome-autogen is only a dependency of svn trunk and not of the tarball.