melezhik / cookbooks

perl chef cookbooks
https://github.com/melezhik/cookbooks
21 stars 27 forks source link

issue on some hosts on cpan::bootstrap #22

Closed dmitry-tiger closed 10 years ago

dmitry-tiger commented 10 years ago

curl -L http://cpanmin.us | perl - --sudo App::cpanminus % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 113 226 113 226 0 0 79 0 0:00:02 0:00:02 --:--:-- 79 Bareword found where operator expected at - line 3, near "400 Bad" (Missing operator before Bad?) Bareword found where operator expected at - line 6, near "

Your" (Missing operator before Your?) syntax error at - line 2, near "html>" Execution of - aborted due to compilation errors.

adding option -k to curl fix ussie

curl -V curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

curl -vvvvv -L http://cpanmin.us

dmitry-tiger commented 10 years ago

ussue fixed by cpanmin.us author (changed redirect) https://github.com/miyagawa/cpanminus/issues/71#issuecomment-42438852