compiling svn on slack, en_GB.po problems!
Well I don't know what changed but before I was getting errors on ja.po and zh_*.po (and equivalent .gmo files). Now it's en_GB.po that's not playing fair. Googling turned up a foreign language page that mentioned aspell so I updated that. I've also recently slapt-get updated gettext and gettext-tools (which provide msgfmt I gather). I still can't compile ... Making all in po make[2]: Entering directory `/usr/local/svn/inkscape/po' file=./`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file en_GB.po en_GB.po:12:27: parse error /usr/bin/msgfmt: en_GB.po: warning: PO file header missing or invalid warning: charset conversion will not work /usr/bin/msgfmt: found 2 fatal errors make[2]: *** [en_GB.gmo] Error 1 make[2]: Leaving directory `/usr/local/svn/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/svn/inkscape' make: *** [all] Error 2 In fact I've been trying to compile an SVN since before 0.44 came out and haven't yet managed. The only reason I tried in the first place was that the wiki mentions that svn are made to at least compile even if they then bork out. I'm not new to compiling either ... I've rolled my own kernel and can make minor source changes, I've even installed transcode(!) before. Any thoughts on what to do ... perhaps just give up!?
On 15/08/06, pbhj <pbhj@...1029...> wrote:
... Now it's en_GB.po that's not playing fair. ... I still can't compile ...
Making all in po make[2]: Entering directory `/usr/local/svn/inkscape/po' file=./`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file en_GB.po en_GB.po:12:27: parse error ... Any thoughts on what to do ... perhaps just give up!?
Are you trying to execute the three commands $ cd /usr/local/svn/inkscape/po $ rm -f en_GB.gmo $ /usr/bin/msgfmt -c -o en_GB.gmo en_GB.po
If so, you could try doing this by hand, perhaps getting more verbose error messages? Is there anything special about line 12 of en_GB.po
I get: tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ rm -f en_GB.gmo tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /usr/bin/msgfmt -c -o en_GB.gmo po/en_GB.po -bash: /usr/bin/msgfmt: No such file or directory tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ which msgfmt /sw/bin/msgfmt tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /sw/bin/msgfmt --version msgfmt (GNU gettext-tools) 0.14.5 Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper. tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ !:0 -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt: po/en_GB.po: headerfield `Project-Id-Version' missing in header /sw/bin/msgfmt: po/en_GB.po: field `Language-Team' still has initial default value /sw/bin/msgfmt: po/en_GB.po: warning: PO file header fuzzy warning: older versions of msgfmt will give an error on this /sw/bin/msgfmt: found 2 fatal errors tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$
So I am quite prepared to believe that there is room for improvement!
Ben.
Ben,
Thanks for your response ... executing those commands by hand doesn't help. And there's nothing special about line 12 position 33. Head of the en_GB.po file is like this:
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@...1425...>, YEAR. # #: ../src/widgets/toolbox.cpp:3695 ../src/widgets/toolbox.cpp:3716 #: ../src/widgets/toolbox.cpp:3745 ../src/widgets/toolbox.cpp:3766 #: ../src/widgets/toolbox.cpp:3793 #, fuzzy #msgid "" #msgstr "" "Project-Id-Version: inkscape\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-14 22:31+0200\n" "PO-Revision-Date: 2006-06-19 08:23+GMT+10\n" "Last-Translator: Kingsley Turner <kingsley@...1426...>\n" "Language-Team: LANGUAGE <LL@...1427...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=2; plural=n!=1;\n"
#: ../inkscape.desktop.in.h:1 msgid "Create and edit Scalable Vector Graphics images" msgstr "Create and edit Scalable Vector Graphics images"
But, if that fails, how do I then go on with the compilation (as you appear to intimate I can)? My msgfmt is version 0.15.
On Wednesday 16 August 2006 04:00, Ben Fowler wrote:
On 15/08/06, pbhj <pbhj@...1029...> wrote:
... Now it's en_GB.po that's not playing fair. ... I still can't compile ...
Making all in po make[2]: Entering directory `/usr/local/svn/inkscape/po' file=./`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file en_GB.po en_GB.po:12:27: parse error ... Any thoughts on what to do ... perhaps just give up!?
Are you trying to execute the three commands $ cd /usr/local/svn/inkscape/po $ rm -f en_GB.gmo $ /usr/bin/msgfmt -c -o en_GB.gmo en_GB.po
If so, you could try doing this by hand, perhaps getting more verbose error messages? Is there anything special about line 12 of en_GB.po
I get: tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ rm -f en_GB.gmo tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /usr/bin/msgfmt -c -o en_GB.gmo po/en_GB.po -bash: /usr/bin/msgfmt: No such file or directory tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ which msgfmt /sw/bin/msgfmt tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /sw/bin/msgfmt --version msgfmt (GNU gettext-tools) 0.14.5 Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper. tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ !:0 -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt: po/en_GB.po: headerfield `Project-Id-Version' missing in header /sw/bin/msgfmt: po/en_GB.po: field `Language-Team' still has initial default value /sw/bin/msgfmt: po/en_GB.po: warning: PO file header fuzzy warning: older versions of msgfmt will give an error on this /sw/bin/msgfmt: found 2 fatal errors tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$
So I am quite prepared to believe that there is room for improvement!
Ben.
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 16/08/06, pbhj <pbhj@...1029...> wrote:
Thanks for your response ... executing those commands by hand doesn't help. And there's nothing special about line 12 position 33. Head of the en_GB.po file is like this:
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@...1425...>, YEAR. # #: ../src/widgets/toolbox.cpp:3695 ../src/widgets/toolbox.cpp:3716 #: ../src/widgets/toolbox.cpp:3745 ../src/widgets/toolbox.cpp:3766 #: ../src/widgets/toolbox.cpp:3793 #, fuzzy #msgid "" #msgstr "" "Project-Id-Version: inkscape\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-14 22:31+0200\n" "PO-Revision-Date: 2006-06-19 08:23+GMT+10\n" "Last-Translator: Kingsley Turner <kingsley@...1426...>\n" "Language-Team: LANGUAGE <LL@...1427...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=2; plural=n!=1;\n"
#: ../inkscape.desktop.in.h:1 msgid "Create and edit Scalable Vector Graphics images" msgstr "Create and edit Scalable Vector Graphics images"
But, if that fails, how do I then go on with the compilation (as you appear to intimate I can)? My msgfmt is version 0.15.
(You are top posting and double-spaced your entire message!)
I suspect that there error message that I am getting is genuine, and that someone needs to look at en_GB.po. I will try to do so later today or tomorrow. I don't know why you don't get a helpful message. You may want to try skipping en_GB.po to get back on track.
You certainly don't seem to be doing anything wrong.
Ben.
On Wednesday 16 August 2006 04:00, Ben Fowler wrote:
On 15/08/06, pbhj <pbhj@...1029...> wrote:
... Now it's en_GB.po that's not playing fair. ... I still can't compile ...
Making all in po make[2]: Entering directory `/usr/local/svn/inkscape/po' file=./`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file en_GB.po en_GB.po:12:27: parse error ... Any thoughts on what to do ... perhaps just give up!?
Are you trying to execute the three commands $ cd /usr/local/svn/inkscape/po $ rm -f en_GB.gmo $ /usr/bin/msgfmt -c -o en_GB.gmo en_GB.po
If so, you could try doing this by hand, perhaps getting more verbose error messages? Is there anything special about line 12 of en_GB.po
I get: tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ rm -f en_GB.gmo tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /usr/bin/msgfmt -c -o en_GB.gmo po/en_GB.po -bash: /usr/bin/msgfmt: No such file or directory tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ which msgfmt /sw/bin/msgfmt tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ /sw/bin/msgfmt --version msgfmt (GNU gettext-tools) 0.14.5 Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper. tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$ !:0 -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt -c -o en_GB.gmo po/en_GB.po /sw/bin/msgfmt: po/en_GB.po: headerfield `Project-Id-Version' missing in header /sw/bin/msgfmt: po/en_GB.po: field `Language-Team' still has initial default value /sw/bin/msgfmt: po/en_GB.po: warning: PO file header fuzzy warning: older versions of msgfmt will give an error on this /sw/bin/msgfmt: found 2 fatal errors tit002:/Volumes/Ben/PROG/SF/INKSCAPE/inkscape-P bfowler$
So I am quite prepared to believe that there is room for improvement!
Ben.
pbhj <pbhj@...1029...> writes:
Now it's en_GB.po that's not playing fair.
en_GB.po:12:27: parse error /usr/bin/msgfmt: en_GB.po: warning: PO file header missing or invalid warning: charset conversion will not work /usr/bin/msgfmt: found 2 fatal errors make[2]: *** [en_GB.gmo] Error 1
I just committed a fix for that problem, please update and try again.
Cheers, Colin
On 16/08/06, Colin Marquardt <colin@...384...> wrote:
pbhj <pbhj@...1029...> writes:
Now it's en_GB.po that's not playing fair.
I just committed a fix for that problem, please update and try again.
Thanks Colin, I am not in front of a machine capable of building Inkscape at the moment, but that file looks O.K..
PB, there a page on Slackware, http://wiki.inkscape.org/wiki/index.php/CompilingSlackware, and if you feel that there is a problem with Inkscape and that platform you are invited to add to it, for the benefit of future Slackers.
Ben.
participants (3)
-
Ben Fowler
-
Colin Marquardt
-
pbhj