On Wed, Jul 28, 2010 at 15:25, Kartik Thakore <thakore.kar...@gmail.com> wrote:
> Oh I didn't know you had perl 5.8 ... App::perlbrew would be a simple, non
> intrusive way of upgrading just.
OMG! I wish it were simple && non-intrusive. ;)

> http://search.cpan.org/dist/App-perlbrew/
>
> perlbrew init
This command presumptuously created a perl5/perlbrew/* sub-dirs in my
$HOME! I moved it to ~/.perlbrew/ instead then had to export
PERLBREW_ROOT to the latter.

> perlbrew install perl-5.12.1 -D=useithreads
<r...@ryua7snajl~>perlbrew installed
<r...@ryua7snab2~>perlbrew install perl-5.12.1 -D=useithreads
Attempting to load conf from /home/pip/.perlbrew/Conf.pm
Fetching perl-5.12.1 as /home/pip/.perlbrew/dists/perl-5.12.1.tar.gz
Installing perl-5.12.1 into /home/pip/.perlbrew/perls/perl-5.12.1
This could take a while. You can run the following command on another
shell to track the status:

  tail -f /home/pip/.perlbrew/build.log

(cd /home/pip/.perlbrew/build; tar xzf
/home/pip/.perlbrew/dists/perl-5.12.1.tar.gz;cd
/home/pip/.perlbrew/build/perl-5.12.1;rm -f config.sh Policy.sh;sh
Configure -de -Dprefix=/home/pip/.perlbrew/perls/perl-5.12.1
-Duseithreads;make;make test && make install) >>
'/home/pip/.perlbrew/build.log' 2>&1
Installing perl-5.12.1 failed. See /home/pip/.perlbrew/build.log to see why.
If you want to force install the distribution, try:

  perlbrew --force install perl

<r...@ryua7snb2g~>tail -f .perlbrew/build.log

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
sh: line 0: cd: /home/pip/.perlbrew/build/perl-5.12.1: No such file or directory
sh: Configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `test'.  Stop.

<r...@ryua7sndup~>echo "Yipes!"

> perlbrew switch perl-5.12.1
>
> cpan/pip the stuff again.
>
> You can switch back to old perl with:
>
> perlswitch /usr/bin/perlbrew
>
> Kartik Thakore
-Pip

Reply via email to