SID-00581: xgettext
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.8.8 |
| Category: |
|
Server OS: |
Windows Server 2003 |
Last update: |
16 years ago |
Im executing tools/xgettext in MS-DOS mode and I get the followind error
My tools/xgettext is attached
here.......
What could be the reason????
--
RajeshN - 2009-10-20
Discussion and Answer
Apparently that tools calls `pwd` which gets the current directory on Linux. Install Unix tools on your Windows machine or patch xgettext to hardcode the path.
When you run a script in the tools directory you need to specify the lib path, something like:
perl -I d:/twiki/twiki/lib -w d:/twiki/twiki/tools/xgettext
If needed, see
HowToInstallCpanModules.
--
PeterThoeny - 2009-10-20
Hi Peter,
The problem was coming from ` character. Windows does not understand ` character.
xgettext gave me some output when I change all the ` character with '
Now my $cwd = `pwd` ; looked like my $cwd = 'pwd' ;
--
RajeshN - 2009-10-21
--
RajeshN - 2009-10-21
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Topic revision: r3 - 2009-10-21
- RajeshN