After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 452331 - autogen better use gnome-autogen.sh
autogen better use gnome-autogen.sh
Status: RESOLVED FIXED
Product: gdl
Classification: Other
Component: general
CVS HEAD
Other All
: Normal blocker
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
: 468645 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-29 18:09 UTC by Halton Huo
Modified: 2007-09-26 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for bug 452331 (5.13 KB, patch)
2007-06-29 18:15 UTC, Halton Huo
none Details | Review
gdl autogen.sh error log (7.55 KB, text/plain)
2007-07-01 15:16 UTC, Halton Huo
  Details

Description Halton Huo 2007-06-29 18:09:44 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:
Comment 1 Halton Huo 2007-06-29 18:15:05 UTC
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
Comment 2 Naba Kumar 2007-06-30 10:34:17 UTC
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
Comment 3 Halton Huo 2007-07-01 08:46:55 UTC
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
Comment 4 Naba Kumar 2007-07-01 09:47:01 UTC
(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.
Comment 5 Halton Huo 2007-07-01 15:16:55 UTC
Created attachment 90973 [details]
gdl autogen.sh error log
Comment 6 Johannes Schmid 2007-09-26 20:31:07 UTC
*** Bug 468645 has been marked as a duplicate of this bug. ***
Comment 7 Johannes Schmid 2007-09-26 20:36:00 UTC
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.