Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
Download (untitled) / with headers
text/plain 546b
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.
Download (untitled) / with headers
text/plain 830b
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
Download (untitled) / with headers
text/plain 267b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.