On Sun, 20 Nov 2005 04:58:14 +0000 Ben Fowler <ben.the.mole@...400...> wrote:
Are you that you need intltool at all? I was under the impression that intltool was needed by translators (generating new .po and .pot files) and possibly some developers - when working form CVS; but just to compile from source, one only needs msgfmt, as per earlier mails.
I am not sure that I know exactly what you are doing!
Ben
Hello, Ben Well, let's see. What I am trying to do is find differences between the release tarballs and the CVS tree. One of the first differences that I found was relating to intltool. autogen.sh and configure picked up a version that was not installed on my system, so I upgraded to the FC4 version. Now inkscape compiles. Can I explain it? No. Now I am not saying that Inkscape requires intltool, but I have had Fedora Core specific problems before, so the blame could likely lie in the direction of Fedora, not Inkscape. But I do have an idea for three experiements that I am going to try: 1. I will uninstall intltool altogether and grab a fresh copy of Inkscape from CVS. I will see if/how Inkscape from CVS will compile without intltool installed.
The result was that autogen.sh bailed almost immediately with the following error:
I am testing that you have the required versions of libtool, autoconf, automake, glib-gettextize and intltoolize. This test is not foolproof and if anything goes wrong, there may be guidance in the file HACKING.txt
checking for autoconf >= 2.52 ... yes (version 2.59) checking for automake >= 1.7 ... yes (version 1.7.9) checking for glib-gettextize >= 2.0.0 ... yes (version 2.8.2) checking for intltool >= 0.17 ... You must have intltool installed to compile Inkscape. Get the latest version from ftp://ftp.gnome.org/pub/GNOME/sources/intltool/
Please install/upgrade the missing tools and call me again.
So autogen.sh bailed without intltool installed.
Just for fun, I ran ./configure in inkscape-0.42+0.43pre3, still without intltool installed. It STILL picks up version 0.33, which it seems to pick up on my system even when I don't have a version of it installed!
2. Now I will install the intltool that comes with FC3 and attempt to recompile. Ok, I just did "yum install intltool" and ran ./autogen.sh. This time autogen.sh did not bail, and it picked up the version that is installed when you install Fedora Core, which is the same one that was installed when I just ran "yum install intltool" I will have to wait awhile to see what happens. While I am waiting, I will be real annoyed at Fedora Core 3 if Inkscape from CVS won't compile this time, since the only difference on my system now is the version of intltool. Also, even if Inkscape is not supposed to depend on it, autogen.sh Does bail on my system when it is not installed.
The result was that "make" bailed with the following error, which is the same one that it has been bailing with for a few weeks now:
Making all in po make[2]: Entering directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' file=./`echo am | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file am.po
<snip>
file=./`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po ja.po:1889: message catalog has plural form translations... ja.po:12: ...but header entry lacks a "plural=EXPRESSION" attribute ja.po:1889: message catalog has plural form translations... ja.po:12: ...but header entry lacks a "nplurals=INTEGER" attribute Try using the following, valid for Japanese: "Plural-Forms: nplurals=1; plural=0;\n" make[2]: *** [ja.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
3. Since steps one and two seem to show, respectively, that Inkscape from CVS will hardly even start to compile on my system if intltool is not installed, and that it will start, but not finish, if the version of intltool that ships with FC3 is installed, it follows that the next thing to try is grabbing a fresh copy of Inkscape from CVS, upgrade to intltool 0.33 from FC4 (which is the same version that an Inkscape release tarball picks up even if I have just did "rpm -e --nodeps intltool" as root. I risked --nodeps just for the sake of this experiment. The dependencies that came up from attempting to remove intltool from my FC3 system would have taken a good portion of GNOME with it.) and then re-compile with the FC4 version of intltool installed.
The results of step three are that Inkscape from CVS compiled & installed perfectly, just like it did the first time I updated my version of intltool.
My relatively unlearned conclusion to all of this is that maybe intltool is not Supposed to be required just to build and install Inkscape from CVS, but it's absence on MY system forces autogen.sh to bail mere seconds after it starts. And, upgrading via RPM to a version similar to the version that Inkscape release tarballs detect (which is NOT in my RPM data base, and is not installed with Fedora Core 3) at least seems to cause the end result of being able to successfully compile Inkscape from CVS on Fedora Core 3. This could very well be a Fedora Core 3 issue, I have not a clue.
Steven P. Ulrick