develooper Front page | perl.perl5.porters | Postings from July 2003

Re: [perl #23011] Cwd::cwd() fails during perl-5.8.0 compilation

Slaven Rezic
July 20, 2003 14:22
Re: [perl #23011] Cwd::cwd() fails during perl-5.8.0 compilation
Message ID:
" (via RT)" <> writes:

> # New Ticket Created by 
> # Please include the string:  [perl #23011]
> # in the subject line of all future correspondence about this issue. 
> # <URL: >
> I am compiling perl-5.8.0 in chrooted environment where many
> system tools are not in its proper places. In my case shell
> utility "pwd" is in /usr/local/bin.
> While compiling perl, Cwd::cwd() fails. After some probing
> I found that /usr/local/bin is not in the lists of locations
> where "pwd" is searched. Once I made a symlink of 
> /usr/local/bin/pwd to /usr/bin/pwd, the compilation proceeded
> smoothly. I am not sure whether /usr/local/bin is not searched
> intentionally. If so, then it is not a bug. Else please fix
> this module.
> should check $ENV{PATH} for an executable pwd, hence you should
set your PATH variable appropriately. As an alternative, you can use
fastcwd() instead, which on many systems use an cwd implementation
which does not need external tools.


Slaven Rezic -
    babybike - routeplanner for cyclists in Berlin
	       handheld (e.g. Compaq iPAQ with Linux) version of bbbike Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About