Configuring SETEdit v0.5.0 Determining OS: UNIX [Linux] C flags: -march=athlon -Os -pipe -fomit-frame-pointer Special C flags: -O3 -fomit-frame-pointer -ffast-math -pipe C++ flags: -march=athlon -Os -pipe -fomit-frame-pointer Special C++ flags: -O3 -fomit-frame-pointer -ffast-math -pipe Looking for a working gcc: gcc OK Checking Architecture: x86 Looking for prefix: /usr (cached/specified) Checking if this system follows the FHS: yes (cached/specified) Looking for GNU make: make Looking for GNU ar: ar gcc can compile C++ code: yes Looking for installed Turbo Vision: Include dir: ../tvision/include Library dir: ../tvision/linux Checking TV version: 2.0.1 OK Checking for international support: yes OK Looking for PCRE library: v2.0.6 or better OK Looking for zlib: 1.1.4 OK Looking for BZip2 library: 1.0.2, 30-Dec-2001 OK Looking for recode: 3.6 Looking for xgettext: 0.12.1 Looking for makeinfo: 4.5 Looking for gpm library: 1.20.1 OK Looking for X11 libs: yes OK (X11 rev 0) Looking for dl library: yes Looking for AA library: yes (cached) OK Tools for Distrib: tar gzip OK Configuring RHIDE: makes/rhide.env mp3/libamp/rhide.env mp3/mpegsound/rhide.env Configuring .mak files Generating configuration header: created new header Generating Makefile Processing doc/gnumake.in => doc/Makefile Processing internac/gnumake.in => internac/Makefile Processing gettext/Makefile.in => gettext/Makefile Successful configuration! make -C internac make[1]: Entering directory `/var/tmp/portage/rhide-1.5-r1/work/setedit/internac' xgettext --default-domain=dummy --add-comments --keyword=_ \ --keyword=__ --directory=. --omit-header \ --add-location `cat po_list` xgettext: Non-ASCII string at ../setedit/editdiag.cc:127. Please specify the source encoding through --from-code. make[1]: *** [potfiles.po] Error 1 make[1]: Leaving directory `/var/tmp/portage/rhide-1.5-r1/work/setedit/internac' make: *** [internac] Error 2 !!! ERROR: dev-util/rhide-1.5-r1 failed. !!! Function src_compile, Line 124, Exitcode 2 !!! (no error message) gettext is 0.12.1 in case it matters (but it's a x86 system in general)
Appending --from-code=iso-8859-1 to the xgettext argument in setedit/internac/gnumake.in fixes things nicely: $(xgettext) --default-domain=dummy --add-comments --keyword=_ \ --keyword=__ --directory=$(srcdir) --omit-header \ --add-location --from-code=iso-8859-1 $(po_list_l)
This stuff depends on the installed gettext version: it works with 0.11 without the fix and the fix breaks it, 0.12 needs the fix. Stupid gettext. Thanks Brandy, fixed in cvs.