Subject: | perlbrew install cannot install perl 5.6, and it cannot even download any perls starting at 5.5 or older. |
Date: | Sat, 10 Apr 2010 14:57:52 -0700 (PDT) |
To: | bug-App-perlbrew [...] rt.cpan.org |
From: | David Yingling <deeelwy [...] yahoo.com> |
The subject says it all. If I try to install 5.6.2 using perlbrew -v install perl-5.6.2 it fails with the error messages:
make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.
make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.
I have no idea how to fix this, but that's the error message I get everytime. You might be wondering why I would want to install such an old perl. Well, perlbrew makes installing and switching between them so easy that I may as well install older versions of perl too.
Also, if I try to install a ancient version of perl starting with 5.5.4, which was when perl used weird version numbers like 5005_04 as shown on the web page http://www.cpan.org/src/README.html, perlbrew cannot even download the distribution as it gets the error message:
Fetching perl-5.5.4 as /home/dly/perl5/perlbrew/dists/
Only http is supported by HTTP::Lite at /home/dly/perl5/perlbrew/bin/perlbrew line 149.
Fail to get http://search.cpan.org at /home/dly/perl5/perlbrew/bin/perlbrew line 900.
I don't know if you intend to add support for installing ancient versions of perl before 5.8, but I think it would be cool if perlbrew supported installing every version of perl. If you don't want to support older releases please update perlbrew documentation saying which versions it does support.
Thanks for perlbrew again, and below are my perl -V and uname -a,
Dave.
perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.29.6-aacraid, archname=x86_64-linux
uname='linux betty 2.6.29.6-aacraid #2 smp mon sep 28 01:40:26 edt 2009 x86_64 intel(r) core(tm)2 duo cpu e8400 @ 3.00ghz genuineintel gnulinux '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.3.3', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.9.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.9'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Oct 5 2009 00:52:42
@INC:
/usr/local/lib/perl5/5.10.1/x86_64-linux
/usr/local/lib/perl5/5.10.1
/usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux
/usr/local/lib/perl5/site_perl/5.10.1
.
uname -a
Linux betty 2.6.29.6-aacraid #3 SMP Tue Dec 8 23:31:28 EST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux