develooper Front page | perl.perl5.porters | Postings from November 2003

Re: Perl earlier versions installation

Thread Previous
From:
Nicholas Clark
Date:
November 7, 2003 12:50
Subject:
Re: Perl earlier versions installation
Message ID:
20031107204924.GR6287@plum.flirble.org
On Fri, Nov 07, 2003 at 03:44:49PM -0500, Andy Dougherty wrote:
> > On Sun, Nov 02, 2003 at 09:20:38AM +0330, s_karimi@laleh.itrc.ac.ir wrote:
> > > Hi,
> > >
> > > It's almost one year that I write programs with perl
> > > The version I use is 5.8.0.
> > > But I have a package that runs only on perl version 5.6 or earlier.
> > > In perl.com I got the version 5.003
> > > But I didn't remove the last one and tried to install this. I
> > > run config.sh but when I type make, the following error appears.
> > >
> > > [root@itrcprox2 perl5.005_03]# make
> > > make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.
> > >  Stop.
> > >
> > > what should I do?
> 
> The problem is that your newer version of gcc is emitting output not
> anticpiated in 5.6.x's build system.  The  simplest fix is to manually
> edit 'makefile'  (not 'Makefile') and simply delete the lines containing
> the phrase 'built-in'.  Then you can type 'make' and all should proceed
> ok.

As you say you already have perl 5.8.0 available, you can do the edit
Andy describes with

perl -ni~ -we 'print unless /: </' x2p/makefile makefile

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About