develooper Front page | perl.perl5.porters | Postings from August 2008

Re: Perl-5.8.6 or Perl-5.8.5 Install/Build process on AIX 5.3 Makeproblem make: 1254-002 Cannot find a rule to create target <command-line>from dependencies. Stop.

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
August 31, 2008 23:31
Subject:
Re: Perl-5.8.6 or Perl-5.8.5 Install/Build process on AIX 5.3 Makeproblem make: 1254-002 Cannot find a rule to create target <command-line>from dependencies. Stop.
Message ID:
20080901083137.4a3b807a@pc09.procura.nl
On Mon, 1 Sep 2008 04:40:43 +0530, "Mohammed Arshad"
<arshad.moin@famsoft.com> wrote:

> Hello all,
> 
>                 I am trying to build perl-5.8.6.tar.gz DBI-1.50.tar.gz and
> DBD-Oracle-1.16.tar.gz on AIX 5.3.0.0 downloaded from cpan.org I am trying
> to build the software from the source and running into issues. 

Why an old combination like that?
perl-5.8.6 is from November 2004. The most recent stable version is
either 5.8.8 (Jan 2006) or 5.10.0 (Dec 2007).
DBI-1.50 is from back in Dec 2005. Current is DBI-1.607

I'm not surprised at all that you run into trouble with 5.8.6.

> What steps I ran
> 
> Install perl-5.8.6(downloaded perl source code from capn.org )
> 
> -bash-3.00# oslevel
> 5.3.0.0

Next time, use 'oslevel -r', so we also see the patch level

> -bash-3.00# lslpp -l | grep 'bos.rte '
>   bos.rte          5.3.7.0   COMMITTED  Base Operating System Runtime
>   bos.rte          5.3.0.60  COMMITTED  Base Operating System Runtime
> -bash-3.00# lslpp -l | egrep "syscalls|libm"
>   bos.adt.libm     5.3.7.0   COMMITTED  Base Application Development
>   bos.adt.syscalls 5.3.7.0   COMMITTED  System Calls Application
> -bash-3.00# gcc -v
> gcc version 4.2.0
> -bash-3.00#
> 
> I have GCC and I am trying to build perl-5.8.6 using gcc and running into
> issues.. 
> 
> #sh Configure -Dcc=gcc
> 
> #configure.sh success.png

The way you include images in this post is counter-productive. Most of
us here use ASCII mail clients, and including images of ASCII-terminal
screenshots is kinda useless.

The first, and main problem is the the missing filter for
<command-line>, which has been fixed when gcc-4.2 came out, so using
5.8.8 or 5.10.0 should fix that. If you *have to* use 5.8.6, add that
line to makedepend.SH

--- makedepend.SH.org   2008-08-26 13:48:21 +0200
+++ makedepend.SH       2008-08-26 13:48:22 +0200
@@ -167,6 +167,7 @@ for file in `$cat .clist`; do
             -e '/^#.*<builtin>/d' \
             -e '/^#.*<built-in>/d' \
             -e '/^#.*<command line>/d' \
+            -e '/^#.*<command-line>/d' \
            -e '/^#.*"-"/d' \
            -e '/: file path prefix .* never used$/d' \
            -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \



-- 
H.Merijn Brand          Amsterdam Perl Mongers  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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