Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 62691
Status: resolved
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: CALDRIN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: perlbrew fails to build perl 5.12.2
I tried to install perl-5.12.2 by doing the following: export LANG=C export PERLBREW_ROOT=/opt/artemis/perl curl -LO http://xrl.us/perlbrew chmod +x perlbrew ./perlbrew install /opt/artemis/perl/bin/perlbrew init echo "source /opt/artemis/perl/etc/bashrc" >> $HOME/.bashrc source /opt/artemis/perl/etc/bashrc perlbrew install perl-5.12.1 perlbrew switch perl-5.12.1 This fails with the following error message: Only http is supported by HTTP::Lite at /opt/artemis/perl/bin/ perlbrew line 149. Fail to get https://github.com/miyagawa/cpanminus/raw/master/cpanm (error: ) at /opt/artemis/perl/bin/perlbrew line 1433. It looks like perlbrew tries to fetch data from github using http. Now github always forwards to https which is not supported by HTTP::Lite. I suggest using a different HTTP module or convincing github to provide public data via http.
It has been rewritten such that fetching https URLs is changed to use curl or wget. Also cpanm is not auto-installed anymore.