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 04:58
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:
20080901135811.1b78e949@pc09.procura.nl
On Mon, 1 Sep 2008 16:30:58 +0530, Arshad <arshad.moin@famsoft.com>
wrote:

> Hello,
>             I am building perl-5.8.8 still i get the same err after patching
> file makedepend.SH with the follow lines at the end i added these lines
> 
> 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
> 
> #make
> 
> Finding dependencies for pp_pack.o.
> Finding dependencies for pp_sort.o.
> Finding dependencies for miniperlmain.o.
> Finding dependencies for perlmain.o.
> Finding dependencies for opmini.o.
>         echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH
> makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
> Updating makefile...
>          test -s perlmain.c && touch perlmain.c
>         cd x2p; make depend
>         sh ../makedepend MAKE=make
>         echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
> Finding dependencies for hash.o.
> Finding dependencies for str.o.
> Finding dependencies for util.o.
> Finding dependencies for walk.o.
>         echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
> Updating makefile...
> -bash-3.00# make
> make: 1254-002 Cannot find a rule to create target <command-line> from
> dependencies.
> Stop.

Quick question: Are you using AIX' make or GNU make?
If the first, could you re-try using GNU make ?

> Tell me..how to apply patch please...i need this working... thanks again for
> very quick reply....

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