After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577336 - gnumeric.mo is not installed causing translations to be missing
gnumeric.mo is not installed causing translations to be missing
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Installation
1.8.x
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-03-30 18:03 UTC by Pacho Ramos
Modified: 2009-10-26 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.log (153.96 KB, text/plain)
2009-04-01 07:02 UTC, Pacho Ramos
Details
make.log (975.67 KB, text/plain)
2009-04-01 18:01 UTC, Pacho Ramos
Details
make-install.log (716.24 KB, text/plain)
2009-04-01 18:01 UTC, Pacho Ramos
Details
po/Makefile (20.09 KB, text/plain)
2009-04-02 06:03 UTC, Pacho Ramos
Details

Description Pacho Ramos 2009-03-30 18:03:28 UTC
After simply installing gnumeric-1.8.4 with:
./configure --prefix=/home/pacho/gnumeric && make && make install-strip

I only get:
/hpme/pacho/gnumeric/usr/share/locale/es/LC_MESSAGES/gnumeric-functions.mo

gnumeric.mo is not installed causing gnumeric to be in english

I have hit this problem also when emerging gnumeric under gentoo

Thanks for fixing this
Comment 1 Morten Welinder 2009-03-30 21:05:10 UTC
ls -l ~/gnome/share/locale/es/LC_MESSAGES/gnumeric.mo 
-rw-r--r-- 1 welinder research 261458 2009-03-29 12:36 /home/welinder/gnome/share/locale/es/LC_MESSAGES/gnumeric.mo


Clearly installed.  Either this has been fixed, or it is specific to your
setup in which case you should reopen and provide more information.
Comment 2 Pacho Ramos 2009-03-31 07:33:54 UTC
What more information do you need?
Comment 3 Morten Welinder 2009-03-31 12:47:36 UTC
The configuration log
The "make" log
the "make install" log
Comment 4 Pacho Ramos 2009-04-01 07:02:28 UTC
Created attachment 131828 [details]
config.log
Comment 5 Pacho Ramos 2009-04-01 07:03:53 UTC
(In reply to comment #3)
> The "make" log
> the "make install" log
> 

Where can I get these logs? Should I simply drop all their outputs to a file? Thanks a lot
Comment 6 Morten Welinder 2009-04-01 14:57:47 UTC
> Where can I get these logs? Should I simply drop all their outputs to a file?

Yes.  Preferably from a fresh tree.

"make >/tmp/make.log 2>&1"
Comment 7 Pacho Ramos 2009-04-01 18:01:09 UTC
Created attachment 131855 [details]
make.log
Comment 8 Pacho Ramos 2009-04-01 18:01:36 UTC
Created attachment 131856 [details]
make-install.log
Comment 9 Morten Welinder 2009-04-01 22:14:26 UTC
Strange.  Please also attach the generated po/Makefile
Comment 10 Pacho Ramos 2009-04-02 06:03:29 UTC
Created attachment 131895 [details]
po/Makefile

Thanks :-)
Comment 11 Morten Welinder 2009-04-04 02:41:57 UTC
For some reason the Makefile lacks the "CATALOGS = ..." line.  Here's what
I see in my copy:

welinder@toshiba:~/gnome/1.8> grep ^CATALOG po/Makefile 
CATALOGS =  am.gmo ar.gmo az.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo dz.gmo el.gmo en_CA.gmo en_GB.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo he.gmo hr.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mk.gmo ml.gmo mr.gmo ms.gmo nb.gmo ne.gmo nl.gmo nn.gmo oc.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sk.gmo sr.gmo sr@Latn.gmo sv.gmo te.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo


Do you have such a line in po/Makefile.in or po/Makefile.in.in
Comment 12 Pacho Ramos 2009-04-07 09:00:00 UTC
This is the output:
$ grep ^CATALOG po/Makefile*
po/Makefile.in:CATALOGS =  am.gmo ar.gmo az.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo dz.gmo el.gmo en_CA.gmo en_GB.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo he.gmo hr.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mk.gmo ml.gmo mr.gmo ms.gmo nb.gmo ne.gmo nl.gmo nn.gmo oc.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sk.gmo sr.gmo sr@Latn.gmo sv.gmo te.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo
po/Makefile.in.in:CATALOGS = @CATALOGS@
Comment 13 J.H.M. Dassen (Ray) 2009-04-07 11:28:10 UTC
(In reply to comment #11)
> For some reason the Makefile lacks the "CATALOGS = ..." line.

I ran into this (or a very similar) issue a while back when building 1.8.4
packages again a while back: http://bugs.debian.org/513199. My workaround
was to change po/Makefile.in.in by adding a dummy definition for POTFILES
like so:

	[...]
	POTFILES = \
		this will be defined through a sed script fragment in config.status \
		and this text prevents that fragment from deleting the definition of \
		CATALOGS immediately below

	CATALOGS = @CATALOGS@
	[...]
Comment 14 Pacho Ramos 2009-07-12 14:12:14 UTC
Any news on this? Thanks :-D
Comment 15 Andreas J. Guelzow 2009-10-25 19:16:55 UTC
Pacho, do you still have this issue with one of the newer 1.9.x pacakges (1.9.14 or 1.9.13)?
Comment 16 Pacho Ramos 2009-10-26 13:47:12 UTC
This was solved downstream some time ago, sorry but I didn't remember to close this:
  28 Jun 2009; Romain Perier <mrpouet@gentoo.org>
  gnumeric-1.8.4-r1.ebuild:
  Fix bug #275352, tarball was generated with a broken version of
  intltoolize, so po/Makefile.in.in was broken and translations was not
  installed correctly

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnumeric/gnumeric-1.8.4-r1.ebuild?r1=1.11&r2=1.12