perl - CPAN 1.61 has issue with embedded space in path within Cygwin on Win7 -


i’m mere mortal using cygwin on win7 , wanting develop perl scripts using soap::lite. installation instructions found @ soaplite.com directed me start perl –mcpan –e shell before attempting > install soap::lite

the newb in me didn’t appreciate windows user profile has space character in , cpan set-up seemed go horribly wrong around point script writing make files local::lib, mymeta.yml , myymeta.json. got “no such file or directory” messages quoting portion of the path followed space in user profile.

$ uname -a cygwin_nt-6.1 uklhrl00020 2.0.4(0.287/5/3) 2015-06-09 12:22 x86_64 cygwin $ cpan --version loading internal null logger. install log::log4perl logging messages /usr/bin/cpan version 1.61 calling getopt::std::getopts (version 1.06 [paranoid]), running under perl version 5.14.4. [now continuing due backward compatibility , excessive paranoia. see ``perldoc getopt::std'' $getopt::std::standard_help_version.] nothing install! 

when ran perl –mcpan –e shell first time, did report “warning: not have write permission perl library directories.” , elected default option [local::lib] approach taken.

so can next?

looking closer @ cygwin’s setup-x86_64.exe, search “cpan” lists 8 packages under perl category perl-cpan-* , perl-parse-cpan*, set “skip”. package perl-cpanmeta: perl distribution cpan-meta version 2.150001-1 cygwin.mirrors.pair.com. since not installed yet, installed perl5 has knowledge of old cpan, need know if safe install latest , work space in profile? need remove old cpan, , how?

you want update latest version of extutils::makemaker, recent versions contain various fixes paths containing spaces. should fix these issues.


Comments