Re: gnome-utils does not compile



On Tue, Jul 31, 2001 at 12:12:55AM -0400, Bill Day wrote:
> I am trying to compile gnome-utils from cvs so that I can work on the
> logview documentation.  I am using the following commands in bash on
> RedHat 7.1 with Ximian Gnome:
> 
> ./autogen.sh --prefix='gnome-config --prefix' --sysconfdir='gnome-config
> --sysconfdir'
> 
> make dist
> 
> The compiler quits with the following error messages:
> .................................................................................. done.
> 688 translated messages, 43 fuzzy translations, 88 untranslated messages.
> .................................................................................. done.
> 528 translated messages, 113 fuzzy translations, 178 untranslated messages.
> zh_TW.Big5.po.old:995: illegal control sequence
> zh_TW.Big5.po.old:2462: illegal control sequence
> zh_TW.Big5.po.old:3439: illegal control sequence
> found 3 fatal errors
> zh_TW.Big5.po:995: illegal control sequence
> zh_TW.Big5.po:2462: illegal control sequence
> zh_TW.Big5.po:3439: illegal control sequence
> found 3 fatal errors
> .................................................................................. done.
> 338 translated messages, 161 fuzzy translations, 320 untranslated messages.
> zh_TW.Big5.po:995: illegal control sequence
> zh_TW.Big5.po:2462: illegal control sequence
> zh_TW.Big5.po:3439: illegal control sequence
> found 3 fatal errors
> make[1]: *** [zh_TW.Big5.gmo] Error 1
> make: *** [distdir] Error 1
> 
> 
> Any suggestions would be much appreciated.

OK, This is caused by mismatched versions of gettext that you have and
that the po files are expecting.

Case #1: you have a gettext earlier than 10.38 (probably 10.35 if you
haven't upgraded from the standard Red Hat 7.1 install).

	Solution: upgrade to gettext 10.38 which handles some multibyte
	combinations better (a.k.a "correctly"), especially in the Big 5
	case.

Case #2: You already have gettext 10.38. In this case, the po files
haven't been upgraded.

	Solution: Open up the zh_TW.Big5.po file and on each line numbe
	that is reported in the error, look for a \\ sequence (two
	backslashes in a row). Remove one of the the backslashes in each
	occurrence. Try again and it should work this time.

Cheers,
Malcolm

-- 
Save the whales. Collect the whole set.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]