threads / discuss / 36353

Makefile: Another "make" command is used when going into SUBDIR perl

Subject: Makefile: Another "make" command is used when going into SUBDIR perl

## tl;dr

3 messages between Apr 5, 2014 and Apr 8, 2014.

replies: 2people: 2as markdown or json

Bjarni Ingi Gislason· Apr 5, 2014, 23:10 UTC · lore
Package: git-1.9.0
  Another make command is used in the Makefile when it enters subdir
PERL.
  The used "make" command is a link in my home directory to
"/usr/sfw/bin/gmake".  Other make commands are "/usr/ccs/bin/make" and
"/usr/xpg4/bin/make".
My PATH variable has these directories in this order
$HOME, /usr/sfw/bin, /usr/xpg4/bin and /usr/ccs/bin
  The used variables for make are

CPPFLAGS=-I/usr/local/ssl/include NO_GETTEXT=YesPlease NO_TCLTK=YesPlease

  Last part of compilation:
    * new script parameters
    GEN git-am
    GEN git-bisect
    GEN git-difftool--helper
    GEN git-filter-branch
    GEN git-merge-octopus
    GEN git-merge-one-file
    GEN git-merge-resolve
    GEN git-mergetool
    GEN git-pull
    GEN git-quiltimport
    GEN git-rebase
    GEN git-request-pull
    GEN git-stash
    GEN git-submodule
    GEN git-web--browse
    GEN perl/PM.stamp
    SUBDIR perl
make: Warning: Ignoring DistributedMake -o option
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
             [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
make: *** [perl/perl.mak] Error 1
  The error comes from "/usr/ccs/bin/make" or "/usr/xpg4/bin/make".
René Scharfe· Apr 6, 2014, 14:33 UTC · re: Bjarni Ingi Gislason · lore

Re: Makefile: Another "make" command is used when going into SUBDIR perl

Am 06.04.2014 01:10, schrieb Bjarni Ingi Gislason:
Show 18 quoted lines
> Package: git-1.9.0
>
>    Another make command is used in the Makefile when it enters subdir
> PERL.
>
>    The used "make" command is a link in my home directory to
> "/usr/sfw/bin/gmake".  Other make commands are "/usr/ccs/bin/make" and
> "/usr/xpg4/bin/make".
>
> My PATH variable has these directories in this order
>
> $HOME, /usr/sfw/bin, /usr/xpg4/bin and /usr/ccs/bin
>
>    The used variables for make are
>
> CPPFLAGS=-I/usr/local/ssl/include
> NO_GETTEXT=YesPlease
> NO_TCLTK=YesPlease
Try adding "MAKE = /usr/sfw/bin/gmake".
René
Bjarni Ingi Gislason· Apr 8, 2014, 23:34 UTC · re: René Scharfe · lore

Re: Makefile: Another "make" command is used when going into SUBDIR perl

On Sun, Apr 06, 2014 at 04:33:17PM +0200, René Scharfe wrote:
Show 22 quoted lines
> Am 06.04.2014 01:10, schrieb Bjarni Ingi Gislason:
> >Package: git-1.9.0
> >
> >   Another make command is used in the Makefile when it enters subdir
> >PERL.
> >
> >   The used "make" command is a link in my home directory to
> >"/usr/sfw/bin/gmake".  Other make commands are "/usr/ccs/bin/make" and
> >"/usr/xpg4/bin/make".
> >
> >My PATH variable has these directories in this order
> >
> >$HOME, /usr/sfw/bin, /usr/xpg4/bin and /usr/ccs/bin
> >
> >   The used variables for make are
> >
> >CPPFLAGS=-I/usr/local/ssl/include
> >NO_GETTEXT=YesPlease
> >NO_TCLTK=YesPlease
> 
> Try adding "MAKE = /usr/sfw/bin/gmake".
> 
  I used "gmake" instead of "make" in my script.  I later compiled
"make-4.0" and this bug did not show itself there.  "gmake" was version
3.81.
-- 
Bjarni I. Gislason

← back to recent threads