intltool doesn't work with upstream gettext

Bug #654918 reported by Javier Jardón
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intltool
Invalid
Undecided
Unassigned

Bug Description

Seems that intltool doesn't copy enough stuff to satisfy upstream gettext.

I have this in my autogen.sh:

AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose

but I get this:

configure.ac:49: required file `./config.rpath' not found

Revision history for this message
dobey (dobey) wrote :

I am pretty sure that error has nothing to do with your use of intltool, but perhaps rather with the fact that you might be using libtool.

Changed in intltool:
status: New → Invalid
Revision history for this message
Javier Jardón (jjardon) wrote :

Hello Rodney,

config.rpath is a file created by autopoint, a gettext utility.
I have to override the AUTOPOINT var because I get this error if not:

config.status: error: po/Makefile.in.in was not created by intltoolize.

I have a temporary solution with this code:

autopoint --force &&
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install

so all the required files are created with autopoint and then autoreconf call intltoolize instead autopoint to avoid conflicts with the po/Makefile.in.in file

Revision history for this message
dobey (dobey) wrote :

Javier. Just remove the AM_GNU_GETTEXT macro calls from your configure.ac file. You should only have the IT_PROG_INTLTOOL macro in it. Then you can do "autorconf --force --install && intltoolize --automake --copy" if you don't want to use gnome-common (for autogen.sh) in your project as well.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.