Tags:
create new tag
view all tags

SID-00581: xgettext

Status: Answered 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

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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title xgettext
SupportCategory

TWiki version 4.2.4
Server OS Windows Server 2003
Web server Apache 2.2
Perl version 5.8.8
Topic attachments
I Attachment History Action Size Date Who Comment
Bitmapbmp untitled.bmp r1 manage 152.9 K 2009-10-20 - 11:59 RajeshN  
Unknown file formatext xgettext r1 manage 3.7 K 2009-10-20 - 11:56 RajeshN  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-10-21 - RajeshN
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.