I have an older RedHat 7.3 system, so I've got in the habit of building
rpms from source when possible.
My problem is probably an out-of-date gettext package.
(which didn't stop 0.92.1c from building fine)
Currently using gettext-0.11.1-2.
my build process:
tar xjf gtk-gnutella-0.92.1.tar.bz2
cd gtk-gnutella-0.92.1
./Configure -ders
cd ..
tar czf gtk-gnutella-0.92.1.tar.gz gtk-gnutella-0.92.1
rpm -ta gtk-gnutella-0.92.1.tar.gz
Error message
----------------------
/usr/bin/xgettext --default-domain=gtk-gnutella --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --from-code=UTF-8 \
--files-from=./POTFILES.in \
--copyright-holder='Raphael Manfredi' \
--msgid-bugs-address='[EMAIL PROTECTED]'
/usr/bin/xgettext: unrecognized option `--from-code=UTF-8'
Try `/usr/bin/xgettext --help' for more information.
make[3]: *** [gtk-gnutella.pot-update] Error 1
make[3]: Leaving directory `/home/xx/build/packages/BUILD/gtk-gnutella-0.92.1/po'
make[2]: *** [gtk-gnutella.pot] Error 2
make[2]: Leaving directory `/home/xx/build/packages/BUILD/gtk-gnutella-0.92.1/po'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/xx/build/packages/BUILD/gtk-gnutella-0.92.1'
make: *** [sub_install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.29208 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.29208 (%install)
----------------------
I thought I saw something about xgettext in the mailing list, but I
can't find it now.
[research research ....]
the latest release of gettext (0.11.5) still gives
lt-xgettext: unrecognized option `--from-code=UTF-8'
where did this option come from??!? Which version of what package that
looks like GNU gettext's xgettext supports "--from-code=" ?
As an attempted workaround, I thought I'd try disabling NLS :( The
Configure questionaire is entertaining, but a little tedious.
I'm having difficulty finding the "cryptic defines" to disable NLS
from the command-line. Here's the best try I came up with:
./Configure -Oders -Uenablenls -Unls
It maybe time to add a COMPILING file to gtk-gnutella to describe
useful/relevant metaconfig defines.
(note : I'm not shouting, I'm talking about the standard files you find
in packages e.g. : README, TODO, MANIFEST, LICENSE, AUTHORS, COMPILING )
I know it's probably not necessary as this is all temporary bumpiness.
TIA for any help.
-- just another smith
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel