Fri Mar 13 16:17:04 2009porton@narod.ru - Ticket created
Subject:
Colons in directory names mess things
Date:
Fri, 13 Mar 2009 22:16:36 +0200
To:
bug-ExtUtils-MakeMaker [...] rt.cpan.org
From:
Victor Porton <porton [...] narod.ru>
When there are colons (':') in a parent directory of the directory where
Makefile is placed, then running "make test" runs into bugs that colons
are replaced with spaces and so all dirs are messed up.
--
Victor Porton - http://portonvictor.org
Sat Mar 14 01:28:13 2009schwern [...] pobox.com - Correspondence added
Subject:
Re: [rt.cpan.org #44109] Colons in directory names mess things
Date:
Fri, 13 Mar 2009 22:27:38 -0700
To:
bug-ExtUtils-MakeMaker [...] rt.cpan.org
From:
Michael G Schwern <schwern [...] pobox.com>
porton@narod.ru via RT wrote:
Show quoted text
> When there are colons (':') in a parent directory of the directory where
> Makefile is placed, then running "make test" runs into bugs that colons
> are replaced with spaces and so all dirs are messed up.
Can you attach the output of "perl Makefile.PL" and the resulting Makefile please?
--
Defender of Lexical Encapsulation
Sat Mar 14 01:28:13 2009The RT System itself - Status changed from 'new' to 'open'
Sat Mar 14 07:35:06 2009porton@narod.ru - Correspondence added
Subject:
Re: [rt.cpan.org #44109] Colons in directory names mess things
Date:
Sat, 14 Mar 2009 14:34:45 +0300
To:
"Michael G Schwern via RT"<bug-extutils-makemaker [...] rt.cpan.org>
From:
Victor Porton <porton [...] narod.ru>
$ perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
META.yml
Please inform the author.
Warning: prerequisite XML::TreePP 0.38 not found.
Writing Makefile for XML-FeedPP
Makefile is attached.
14.03.09, 08:28, "Michael G Schwern via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org>:
Show quoted text
> > When there are colons (':') in a parent directory of the directory where
> > Makefile is placed, then running "make test" runs into bugs that colons
> > are replaced with spaces and so all dirs are messed up.
> Can you attach the output of "perl Makefile.PL" and the resulting Makefile please?
> --
> Defender of Lexical Encapsulation
Sat Mar 14 07:36:06 2009porton@narod.ru - Correspondence added
Subject:
Re: [rt.cpan.org #44109] Colons in directory names mess things
Date:
Sat, 14 Mar 2009 14:35:49 +0300
To:
"Michael G Schwern via RT"<bug-extutils-makemaker [...] rt.cpan.org>
From:
Victor Porton <porton [...] narod.ru>
$ perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
META.yml
Please inform the author.
Warning: prerequisite XML::TreePP 0.38 not found.
Writing Makefile for XML-FeedPP
Makefile is attached.
14.03.09, 08:28, "Michael G Schwern via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org>:
Show quoted text
> > When there are colons (':') in a parent directory of the directory where
> > Makefile is placed, then running "make test" runs into bugs that colons
> > are replaced with spaces and so all dirs are messed up.
> Can you attach the output of "perl Makefile.PL" and the resulting Makefile please?
> --
> Defender of Lexical Encapsulation
I've managed to get the MakeMaker tests to act differently when it's
inside a directory with a colon in it, I just haven't worked out why.
But I have something reproducible.
I can't reproduce any problems with XML::FeedPP 0.38 and MakeMaker 6.50
but I did work out what's interfering with MakeMaker's own tests. It
makes use of PERL5LIB which separates directories with colons on Unix.
PERL5LIB=/some/dir/foo:bar/baz adds "/some/dir/foo" and "bar/baz" onto
@INC. So you can see how that might mess with things and I suspect
that's what's happened to you.
There's no easy work around. There doesn't appear to be any way to
escape the separator in PERL5LIB. So I'm sorry to say the solution is
to just rename your directories so as not to have colons in them. It's
likely to mess with other Perl modules.
Thu Apr 02 21:33:38 2009mschwern [...] cpan.org - Status changed from 'open' to 'rejected'