#18 Syntax error with $(MAKE) ... <variable>=<override> ...

v2.0
closed-accepted
nobody
None
7
2014-08-05
2008-08-06
Jason Kankiewicz
No

I and, probably, a lot of other people would prefer to use makepp over GNU Make but failures such as this are preventing us from doing so.

% tar -xvjf openmpi-1.2.6.tar.bz2
% cd openmpi-1.2.6
% ./configure
% makepp
makepp: Loading makefile `/usr/home/jkankiewicz/openmpi-1.2.6/Makefile'
makepp: no update necessary
/usr/home/jkankiewicz/openmpi-1.2.6/Makefile:1217: syntax error in line
'="$(INSTALL_STRIP_PROGRAM)" install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)"
INSTALL_STRIP_FLAG=-s `test -z '$(STRIP)' || echo
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install'
% makepp --version
makepp version 1.50-08049-07304-07191
Makepp may be copied only under the terms of either the Artistic License
or
the GNU General Public License, either version 2, or (at your option) any
later version.
For more details, see the makepp homepage at
http://makepp.sourceforge.net.
% make
Making all in config
make[1]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/home/jkankiewicz/openmpi-1.2.6/config'
Making all in contrib
make[1]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/contrib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/home/jkankiewicz/openmpi-1.2.6/contrib'
Making all in opal
make[1]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal'
Making all in include
make[2]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/include'
make all-am
make[3]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/include'
make[3]: Leaving directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/include'
make[2]: Leaving directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/include'
Making all in libltdl
make[2]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/libltdl'
make all-am
make[3]: Entering directory `/usr/home/jkankiewicz/openmpi-1.2.6/opal/libltdl'
make[3]: *** [event.lo] Error 1
make[2]: *** [all-recursive] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all-recursive] Interrupt
% make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-redhat-linux-gnu

Discussion

    • priority: 5 --> 7
     
  • Logged In: YES
    user_id=2169730
    Originator: YES

    After further research, it appears that makepp doesn't handle commandline variable assignments to recursive invocations of make.
    OpenMPI's generated makefile probably isn't the only one that invokes make this way so makepp's implementation of $(MAKE) should be reexamined.

     
    • summary: makepp 1.50 can't build OpenMPI 1.2.6, GNU Make 3.81 can --> Syntax error with $(MAKE) ... <variable>=<override> ...
     
  • $(MAKE) handling has since changed, but I'm not sure it would affect this. However in a small experiment passing variables works fine.

    I'm trying to translate openmpi but failing, because Ubuntu doesn't provide vtf and tau says it doesn't support mpi, leading to 2 missing headers.

    Much has changed over the years, so could you please try with a current cvs release of makepp?

     
    • status: open --> pending
     
    • status: pending --> closed-accepted
    • Group: --> v2.0