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 693904 - Doesn't find glib-gettext.m4 via ACLOCAL
Doesn't find glib-gettext.m4 via ACLOCAL
Status: RESOLVED OBSOLETE
Product: atk
Classification: Platform
Component: build
unspecified
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-02-15 17:02 UTC by Darxus
Modified: 2021-06-10 11:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Darxus 2013-02-15 17:02:16 UTC
Built glib from source with --prefix=$installdir , $installdir/share/aclocal/glib-gettext.m4 exists, building atk fails with:

Checking for required M4 macros...
  glib-gettext.m4 not found

Variables I have set which I believe should be sufficient to find this file:

PKG_CONFIG_PATH=$installdir/lib/pkgconfig/:$installdir/share/pkgconfig/
ACLOCAL="aclocal -I $installdir/share/aclocal"
LIBRARY_PATH=$installdir/lib
PATH=$installdir/bin:$PATH

Looks like it's not doing the right thing with ACLOCAL?

Found in git master commit 5294c2cf6288f5a62389dea3bdf9863f0b96cd9f , which was recently the latest.
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-15 19:12:22 UTC
(In reply to comment #0)
> Built glib from source with --prefix=$installdir ,
> $installdir/share/aclocal/glib-gettext.m4 exists, building atk fails with:
> 
> Checking for required M4 macros...
>   glib-gettext.m4 not found
> 
> Variables I have set which I believe should be sufficient to find this file:
> 
> PKG_CONFIG_PATH=$installdir/lib/pkgconfig/:$installdir/share/pkgconfig/
> ACLOCAL="aclocal -I $installdir/share/aclocal"
> LIBRARY_PATH=$installdir/lib
> PATH=$installdir/bin:$PATH
> 
> Looks like it's not doing the right thing with ACLOCAL?

Not sure, I usually don't interact directly with aclocal, but I use autogen/configure script. And about your problem, not sure what to say, as this works for me without problems. How do you tried to compile atk? In any case I made some local attempts right now, also changing the ACLOCAL and others envvars, and all seems to work. And here:
https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/

a continuous integration system, doesn't show any problem.

> Found in git master commit 5294c2cf6288f5a62389dea3bdf9863f0b96cd9f , which was
> recently the latest.

We didn't change anything related with gettext in the last weeks. Did you try other glib modules ? I would found somewhat strange to have this problem on atk but not on gtk+ for example.
Comment 2 Darxus 2013-02-15 19:40:46 UTC
I'm not having this problem with gtk+.  I'm build testing 40 repos, 8 from gnome.org (glib gobject-introspection atk pango gdk-pixbuf at-spi2-core at-spi2-atk gtk+) and this is the only one having this problem.

I'm building with:  http://www.chaosreigns.com/code/buildtest/
(I'm writing it, it has some similarity to jhbuild.)

I did not mean to imply this problem showed up recently, I wasn't testing for it before, so it may have always existed.  Just wanted to provide the commit for completeness.  

You've removed all instances of glib-gettext.m4 from your system, built glib from source, installed somewhere similar using --prefix=, and don't get this problem when building atk?  Any chance it's because of some other environment variable(s) you have set that I don't?
Comment 3 André Klapper 2021-06-10 11:26:24 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of atk, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/atk/-/issues/

Thank you for your understanding and your help.