develooper Front page | perl.perl5.porters | Postings from September 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:
September 1, 2008 03:17
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:
20080901121648.2a1b1a81@pc09.procura.nl
On Mon, 1 Sep 2008 03:02:46 -0700, Arshad <arshad.moin@famsoft.com>
wrote:

> Hi,
>       Thanks for the quick reply.
> 
>    When i run make i get this err after patching that makedepend.SH

Then you did not apply the patch correctly.

That section should look somewhat like this after the patch:
--8<---
    else
        $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c >.cout 2>.cerr
        $sed \
            -e '1d' \
            -e '/^#.*<stdin>/d' \
            -e '/^#.*<builtin>/d' \
            -e '/^#.*<built-in>/d' \
            -e '/^#.*<command line>/d' \
            -e '/^#.*<command-line>/d' \
            -e '/^#.*"-"/d' \
            -e '/^#.*"\/.*\/"/d' \
            -e '/: file path prefix .* never used$/d' \
            -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
            -e 's/^[     ]*#[    ]*line/#/' \
            -e '/^# *[0-9][0-9]* *[".\/]/!d' \
            -e 's/^.*"\(.*\)".*$/'$filebase'\$(OBJ_EXT): \1/' \
            -e 's/^# *[0-9][0-9]* \(.*\)$/'$filebase'\$(OBJ_EXT): \1/' \
            -e 's|: \./|: |' \
           -e 's|\.c\.c|.c|' $uwinfix .cout .cerr| \
        $uniq | $sort | $uniq >> .deptmp
-->8---

And you will probably need a 'make distclean' and your configure again
before proceeding, as you changed a basic file.

Still better, please start with perl-5.8.8 or 5.10.0. 5.8.8 might still
need that change.

> I am very close please help me with this issue......
> ~
> ~
> "makedepend.SH" 262 lines, 7528 characters
> -bash-3.00# make
>         sh ./makedepend.SH
> Extracting makedepend (with variable substitutions)
> ./makedepend.SH[255]: 0403-057 Syntax error at line 255 : `do' is not
> expected.
> make: 1254-004 The error code from the last command is 2.

-- 
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