Subject: | cpan(1) install fails on OS X |
$ cpan HTML::Tree
[...]
t/00system..........Can't open perl script
""-I/Users/michael/Library/Application
Support/.cpan/build/HTML-Tree-3.23-6Yp3PK/blib/lib"": No such file or
directory
I just got a MacBook. The above message failed at the command line for
"cpan File::Path". After reworking my cpan(1) config in
/Users/michael/Library/Aplication Support/.cpan/CPAN/MyConfig.pm to move
the .cpan directory under my home directory, the install worked. As
much as I despise directories with spaces, that's the OS X default.
I've circumvented it, but fixing this problem will help future OS X users.
In case collaboration, or common root cause analysis may point to
CPAN.pm, I reported identical problem with File::Path. (#41944)