Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

It appears that I am having trouble installing certain Cpan modules using Cygwin, including HTML-Parser and Imager. It appears that the use of spaces in my directory path may be contributing to the problem: sh: line 1: /cygdrive/c/Documents: No such file or directory Package seems to come without Makefile.PL. The test -f ("/cygdrive/c/Documents and Settings/.../Makefile.pl" returned false). How do I fix this?

Replies are listed 'Best First'.
Re: Cpan on Cygwin
by ysth (Canon) on Sep 21, 2005 at 04:13 UTC
    Create and use a mount point like:
    $ mount -f "c:\Documents and Settings\username\My Documents" /mydocs $ cd /mydocs
Re: Cpan on Cygwin
by itub (Priest) on Sep 20, 2005 at 22:23 UTC
    Either find and fix the bug yourself, or move all your Perl stuff to directories with no spaces in their names...
Re: Cpan on Cygwin
by mattr (Curate) on Sep 22, 2005 at 09:56 UTC
    I wonder if a symbolic link, or even alias (registered in maybe /etc/profile) would do it?