On 11/5/05, Steven P. Ulrick <lists@...1052...> wrote:
On Sat, 5 Nov 2005 09:05:47 +0000 Ben Fowler <ben.the.mole@...400...> wrote:
My guess is that there is 'something wrong' with some (many) of your .po files.
I "suspect" that nothing is wrong with my .po files. The reason being, I have tried to compile Inkscape on multiple occasions after removing the po directory and re-updating, and I have also tried with completely fresh checkouts of Inkscape from CVS. make still crashes with similar errors, even with fresh checkouts of the po dir, and fresh checkouts of Inkscape.
That is very clear. Re-updating, and as an extreme instance of that, a completely fresh checkout are both excellent and very good, respectively, ways of approaching a problem like this, and are recommended by me without reservation.
I would suggest that you cd to the directory where the problem occurs, e.g.
$ cd /home/steve/CVS/Assorted-CVS-Modules/inkscape/po
(Incidentally, you are more or less unique in using 'CVS' as a directory name, but I doubt that that is the cause of any difficulties here. (I use 'SF' as a place to keep projects that I have checked out of sourceforge)),
and check that your files are up to date with
$ cvs -Q up -dP $ cvs -Q diff
Next, try to make, just to check that things are still not working
$ make
(Incidentally, it looks as if your make operation is bailing out with errors rather than crashing. If you really are getting a crash then you may have a more fundamental problem, and you are not going to be helped (much) by these instructions); and perhaps make -n to look at the commands that are failing
$ make -n > make.out $ head make.out
I am going to make a guess that the first command that fails is:
file=./`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file pt_BR.po
What happens is you run by hand:
$ /usr/bin/gmsgfmt -o pt_BR.gmo pt_BR.po
Do you get an error that you can fix?
What do you get for::
$ /usr/bin/gmsgfmt --version gmsgfmt (GNU gettext-tools) 0.14.4 ....
What do you get for::
$ grep -n plural pt_BR.po 2000:msgid_plural "<b>%d</b> objects found (out of <b>%d</b>), %s match." 3227:msgid_plural "Removed <b>%i</b> unused definitions in <defs>." 3685:msgid_plural "Sending message; %u messages remaining in send queue." 3696:msgid_plural "Receiving change; %u changes left to process." 3802:msgid_plural "%u changes in receive queue." 3809:msgid_plural "%u changes in send queue." 4340:msgid_plural "" 4358:msgid_plural "<b>%i</b> of <b>%i</b> nodes selected; %s. %s." 4365:msgid_plural "<b>%i</b> of <b>%i</b> nodes selected. %s." 4879:msgid_plural "<b>%i</b> objects selected" 4891:msgid_plural "%s in <b>%i</b> layers. %s." 5045:msgid_plural "<b>Group</b> of <b>%d</b> objects" 5081:msgid_plural "<b>Path</b> (%i nodes)" 5100:#. string as needed to deal with an localized plural forms. 5109:msgid_plural "<b>Star</b> with %d vertices" 5116:msgid_plural "<b>Polygon</b> with %d vertices"
I get very similar results for pt.po .
It is possible that your gettext-tools installation can handle plural expressions in some cases, but not in all cases.
Maybe the problem is with Fedora (are other Fedora users able to compile Inkscape?).
Maybe we need to check for versions and/or capabilities of gettext-tools.
I am sorry to give you homework to do when you may be feeling ignored by the Inkscape crew, but could you make it your care and delight to personally download the 0.43 release candidates for us as they appear and check that they work with your installation of Fedora. Whilst Fedora is not as widespread in my part of the world as Ubuntu or Mandrake, it most certainly is one that new Linux users are pointed to, and I am sure that we should walk the extra mile to double check that our realeases work on that distro.
Better still, of course, would be for a Fedora dev to make Fedora rpms and upload them to Inkscape. Perhaps there is a dogfood possibility: Can the Fedora release team be persuaded to use Inkscape for making icons and graphics ...
Do get back to us if there are problems.
Ben