Today I tried `plenv install-cpanm`
and it failed. I do remember it worked fine a couple of month ago and the only thing I can think of was that I did `yum update openssl`
last month. I'm pretty sure I didn't do anything else nasty.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% plenv install-cpanm | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
113 226 113 226 0 0 144 0 0:00:01 0:00:01 --:--:-- 144 | |
Bareword found where operator expected at - line 3, near "400 Bad" | |
(Missing operator before Bad?) | |
Bareword found where operator expected at - line 6, near "<p>Your" | |
(Missing operator before Your?) | |
syntax error at - line 2, near "html>" | |
Execution of - aborted due to compilation errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% curl --version | |
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.6.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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://curl.haxx.se/download/curl-7.36.0.tar.gz | |
tar zxvf curl-7.36.0.tar.gz | |
cd curl-7.36.0 | |
./configure --prefix=/usr/local --with-openssl | |
configure: Configured to build curl/libcurl: | |
curl version: 7.36.0 | |
Host setup: x86_64-unknown-linux-gnu | |
Install prefix: /usr/local | |
Compiler: gcc | |
SSL support: enabled (OpenSSL) | |
SSH support: no (--with-libssh2) | |
zlib support: enabled | |
GSS-API support: no (--with-gssapi) | |
SPNEGO support: no (--with-spnego) | |
TLS-SRP support: no (--enable-tls-srp) | |
resolver: default (--enable-ares / --enable-threaded-resolver) | |
ipv6 support: enabled | |
IDN support: no (--with-{libidn,winidn}) | |
Build libcurl: Shared=yes, Static=yes | |
Built-in manual: enabled | |
--libcurl option: enabled (--disable-libcurl-option) | |
Verbose errors: enabled (--disable-verbose) | |
SSPI support: no (--enable-sspi) | |
ca cert bundle: /etc/pki/tls/certs/ca-bundle.crt | |
ca cert path: no | |
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) | |
LDAPS support: no (--enable-ldaps) | |
RTSP support: enabled | |
RTMP support: no (--with-librtmp) | |
metalink support: no (--with-libmetalink) | |
HTTP2 support: disabled (--with-nghttp2) | |
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP | |
make && make test && make install |
% plenv install-cpanm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 303 0 303 0 0 509 0 --:--:-- --:--:-- --:--:-- 7973
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 262k 100 262k 0 0 113k 0 0:00:02 0:00:02 --:--:-- 3012k
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7004.tar.gz ... OK
Configuring App-cpanminus-1.7004 ... OK
Building and testing App-cpanminus-1.7004 ... OK
Successfully installed App-cpanminus-1.7004
1 distribution installed