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 107984 - make atk HEAD branch use automake 1.7
make atk HEAD branch use automake 1.7
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: build
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
Depends on:
Blocks:
 
 
Reported: 2003-03-10 12:27 UTC by James Henstridge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use automake 1.7 (29.47 KB, patch)
2003-03-10 12:28 UTC, James Henstridge
none Details | Review

Description James Henstridge 2003-03-10 12:27:36 UTC
Attached is a patch to make ATK use automake-1.7 (to go along with the glib
and pango patches already posted).
Comment 1 James Henstridge 2003-03-10 12:28:18 UTC
Created attachment 14889 [details] [review]
Use automake 1.7
Comment 2 padraig.obriain 2003-03-19 11:39:38 UTC
I have been trying out this patch without success so far:

After updating my version of autoconf and automake I have found that
the latest relerase of gtk-doc (1.0) does not seem to work as it does
not contain gtkdocize.

After getting gtk-doc from CVS HEAD my configure command fails looking
for XML catalog. It seems to be looking for /etc/xml/catalog which
does not exist on my Solaris system.

What location can I specify for the XML catalog. I have tried
/opt/gnome-2.0/share/xml without success.
Comment 3 James Henstridge 2003-03-19 12:09:48 UTC
These are the steps markmc used to set up the XML catalog on his machine:

	How about adding steps like:

1) download http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
2) install it in /usr/share/sgml/docbook/xml-dtd-4.1.2
3) Download docbook-xsl from docbook.sf.net and install it in
/usr/share/sgml
4) download and run http://xmlsoft.org/buildDocBookCatalog

I'll add some docs to gtk-doc's README.
Comment 4 padraig.obriain 2003-03-19 15:24:13 UTC
I think I now have an XML catalog set up correctly on my system.

At least I have moved on to other errors:

autogen.sh --prefix=/opt/gnome-2.0
aclocal: configure.in: 97: macro `AM_DISABLE_STATIC' not found in
library
aclocal: configure.in: 99: macro `AM_PROG_LIBTOOL' not found in
library

These macros are defined in aclocal.m4 but aclocal-1.7 call 
in autogen.sh does not seem to be picking them up.

aclocal-1.7 -I /opt/gnome-2.0/share/aclocal

This seems to be different behaviour that occurs with aclocal-1.4.

I get the same error messages when I try to build pango from CVS HEAD.
Comment 5 James Henstridge 2003-03-19 15:41:53 UTC
aclocal from automake 1.7 should act the same as 1.4.  When generating
aclocal.m4, it will get macros from any directories passed on the
command line with -I arguments, and its builtin directory, which can
be found by running "aclocal-1.7 --print-ac-dir".  If you have
installed automake 1.4 and 1.7 in different prefixes, you would have
different macro search paths, which might account for the difference.
Comment 6 padraig.obriain 2003-03-19 16:20:56 UTC
Thanks. My problem was that I had installed automake-1.7 in a
different location to automake-1.4 so the builtin directory was
different.

Once I sorted that out autogen.sh ran to completion.
Comment 7 padraig.obriain 2003-03-19 17:15:56 UTC
I have noticed that after doing a make clean in the docs directory a
make command does not make anything. Is this the expected behavior?

How should the documentation be generated?
Comment 8 padraig.obriain 2003-03-20 10:39:41 UTC
I needed to set PKG_CONFIG_PATH so that gtk-doc is found by
pkg-config.

I have committed the patch.