Thu, Aug 3 2006
09:07:54
|
|
Request created by guest
|
|
Subject: make fails on processing grasstcl*.po files
Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1.0RC1
make tries to write in nonexisting directory. There is no msgs directory in
dist.i686-pc-linux-gnu/etc/
grasstcl_de.po: msgfmt: error while
opening "/home/maris/soft/grass-6.1.0RC1/dist.i686-pc-linux-gnu/etc/msgs/de.msg"
for writing: No such file or directory |
|
Thu, Aug 3 2006
10:29:36
|
|
Mail sent by mneteler
|
|
I just compiled it as well, no such problem here:
Converting: /tmp/grass-6.1.0RC1/dist.x86_64-unknown-linux-gnu/docs/html/xganim.html
to /tmp/grass-6.1.0RC1/dist.x86_64-unknown-linux-gnu/man/man1/xganim.1
make[1]: Leaving directory `/tmp/grass-6.1.0RC1/man'
if [ 1 -eq 1 ] ; then make -C locale; fi
make[1]: Entering directory `/tmp/grass-6.1.0RC1/locale'
Creating translations (= 'make mo')
make[2]: Entering directory `/tmp/grass-6.1.0RC1/locale'
grasslibs_cs.po: 439 translated messages, 10 fuzzy translations, 23
untranslated messages.
grasslibs_de.po: 496 translated messages.
...
What's your gettext version? You need at least 0.14.5 due
to bugs in the tcl part of gettext in earlier versions.
Markus
|
|
Thu, Aug 3 2006
11:05:12
|
|
Mail sent by guest
|
|
gettext (GNU gettext-runtime) 0.14.5
it worked fine AFTER I executed 'mkdir dist.i686-pc-linux-gnu/etc/msgs'
problem is - there is no msgs dir under dist.i686-pc-linux-gnu/etc/ and
msgfmt will not create one if it is missing. |
|
Sun, Aug 13 2006
23:57:20
|
|
Taken by mneteler
|
|
Sun, Aug 13 2006
23:57:20
|
|
Mail sent by mneteler
|
|
Ah! Probably I got it:
cd locale/
cat Makefile
...
# Directory for installing tcl .msg files:
MSG_DIR = $(GISBASE)/etc/msgs
MO_DIR = $(GISBASE)/locale
PO_DIR = po
...
Please try if this patch helps:
cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /home/grass/grassrepository/grass6/locale/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 16 May 2006 17:27:46 -0000 1.9
+++ Makefile 13 Aug 2006 21:56:33 -0000
@@ -67,6 +67,7 @@
install -d $(MO_DIR)/$$lingua/LC_MESSAGES/ ; \
echo -n $$po": "; \
if [ $$prefix = $(TCLDOMAIN) ]; then\
+ install -d $(MSG_DIR) ; \
msgfmt --statistics --tcl -l $$lingua \
-d $(MSG_DIR)/ $$po ;\
else \
Markus |
|
Tue, Aug 15 2006
23:06:23
|
|
Mail sent by mneteler
|
|
Hi,
since I believe that this patch is right, I have applied it.
Feel free to reopen the bug if that didn't help.
Also fixed for 6.2.
Markus |
|
Tue, Aug 15 2006
23:06:25
|
|
Status changed to resolved by mneteler
|
|