Skip Menu |

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

Report information
The Basics
Id: 56473
Status: open
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: deeelwy [...] yahoo.com
Cc:
AdminCc:

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



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
I always have the following perl oneliner in my toolbox when compiling old perls with newer compilers: perl -i~ -nle 'print unless /<(built-in|command line|command-line)>/' makefile x2p/makefile You use it whenever the make command complains about a strange looking target between angle brackets.
Thanks, I'll add it to my toolbox.
On Mon May 17 15:22:17 2010, DLY wrote: Show quoted text
> Thanks, I'll add it to my toolbox.
Also check out this thread: http://groups.google.com/group/perl.perl5.porters/browse_thread/thread/cb f29f795b28b057 You could be wrapping your perl building with this: http://search.cpan.org/~mhx/Devel-PPPort-3.19_02/devel/buildperl.pl That'd allow you to build ancient perls. Also check out the source for Bisect::Perl::UsingGit (and maybe my fork of it on GitHub). It has similar hacks needed for bisecting Perl.
On Mon May 17 16:37:26 2010, AVAR wrote: Show quoted text
> On Mon May 17 15:22:17 2010, DLY wrote:
> > Thanks, I'll add it to my toolbox.
> > Also check out this thread: > http://groups.google.com/group/perl.perl5.porters/browse_thread/thread/cb > f29f795b28b057
I'd like to point out that according to cpan.org/src/README.html there have all ready been releases of Perl 5.005 and 5.6 with build fixes--"Also, there are 5.005_04 and 5.6.2 releases which enabled compiling 5.005 and 5.6 with some of the more current platforms and compilers, for those who need backward compatibility." If the perl 5 porters already did it once 6 years ago, is it time for another release? Show quoted text
> You could be wrapping your Perl building with this: > http://search.cpan.org/~mhx/Devel-PPPort-3.19_02/devel/buildperl.pl > > That'd allow you to build ancient perls.
I downloaded and tried buildperl.pl, but I always ran into weird build issues about 'asm' stuff or an ld error about '-lgcc_s', but I'm not interested in ancient Perls enough to debug these problems. Show quoted text
> Also check out the source for Bisect::Perl::UsingGit (and maybe my fork > of it on GitHub). It has similar hacks needed for bisecting Perl.
Yeah it does, it's source code mentions a patch that fixes the weird <command-line> errors. # Allow recent gccs (4.2.0 20060715 onwards) to build perl. # It switched from '<command line>' to '<command-line>'. # http://perl5.git.perl.org/perl.git/commit/d64920