Description of problem: If I run `intltool-update --pot` inside a po directory, it reports: [taneem@Ankur po]$ intltool-update --pot intltool-update: Unable to determine package name. Make sure to run this script inside the po directory. Version-Release number of selected component (if applicable): 0.25-2 How reproducible: Always Steps to Reproduce: 1. Download a src tree with po directory 2. cd to po directory 3. run command `intltool-update --pot` Actual results: Gives the following message: intltool-update: Unable to determine package name. Make sure to run this script inside the po directory. Expected results: Create/update the pot file. Additional info: This works fine in RH8.x (version 0.22). Also even if the source is downloaded for intltool-0.25 and used on a RH9 the same problem shows up. But non-RH systems works fine with 0.25 version.
Problem is probably in perl package. I'm upgrading my RH 8.0 based computer manually (using rpm -F ...) to RH 9. I've first updated intltool to 0.25-2 and it works ok with perl from RH 8.0 (perl-5.8.0-55). After update perl to 5.8.0-88 (version from RH 9), intltool-update refuses to work.
This is a quick workaround for the problem: LC_ALL=C intltool-update --pot
Old versions of intltool are known to not work correctly in UTF-8 locales. This is fixed in version 0.26 and newer.