Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Locale-Maketext-Lexicon CPAN distribution.

Report information
The Basics
Id: 14687
Status: resolved
Priority: 0/
Queue: Locale-Maketext-Lexicon

People
Owner: Nobody in particular
Requestors: steve.hay [...] uk.radan.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.49
Fixed in: (no value)



Subject: xgettext's -D option doesn't work on Win32
I'm running perl-5.8.7 on Windows XP. If I create a directory called "dir" in C:\Temp and place an empty file called "file" in C:\Temp\dir and then run the command: xgettext -D dir file from C:\Temp then I get the error: No such file or directory at C:/perl5/site/lib/Locale/Maketext/Extract.pm line 298. I do not see any reason for this error. If I run the following command instead: xgettext dir\file then I do not get any error. I tried the "long option" version instead: xgettext --directory=dir file but this gives the same error.
On Wed Sep 21 10:51:21 2005, SHAY wrote: Show quoted text
> I'm running perl-5.8.7 on Windows XP. > > If I create a directory called "dir" in C:\Temp and place an empty > file called "file" in C:\Temp\dir and then run the command: > > xgettext -D dir file > > from C:\Temp then I get the error: > > No such file or directory at > C:/perl5/site/lib/Locale/Maketext/Extract.pm line 298. > > I do not see any reason for this error. If I run the following > command instead: > > xgettext dir\file > > then I do not get any error. > > I tried the "long option" version instead: > > xgettext --directory=dir file > > but this gives the same error.
Hiya I've just become a maintainer of Locale::Maketext::Lexicon - is this bug still present? I don't have access to a windows machine - any chance you can debug this further? thanks Clint
This is a case of it not doing what you expect. It is not searching that directory for that file, it searches the specified directories for any possible files, plus it processes the file you specified. I'll improve the error message to make this more obvious. Clint