[GRASS5] [bug #2433] (grass) compile error: Missing dependency operator

this bug's URL: http://intevation.de/rt/webrt?serial_num=2433
-------------------------------------------------------------------------

Subject: compile error: Missing dependency operator

Platform: other
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20040524

We downloaded grass57src_cvs_snapshot_exp_2004_05_24.tar.gz and
grass53src_cvs_snapshot_exp_2004_05_25.tar.gz

After installation of requirements from ports successful 5.3 compile we did:

CFLAGS="-g -Wall" ./configure
--with-grass50=/usr/local/src/grass53_exp_2004_05_25/
--with-tcltk-includes="/usr/local/include/tcl8.4 /usr/local/include/tk8.4"
--with-postgres=no --with-odbc=no --with-includes=/usr/local/include
--with-libs=/usr/local/lib

This went OK, so we did
gmake mix
which also was OK.

But:
gmake

returns:

mkdir -p /usr/local/src/grass57_exp_2004_05_24/bin.i386-unknown-freebsd5.2.1
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/include
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/lib
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/bin
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/etc
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/etc/bin/cmd
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/etc/bin/inter
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/driver
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/driver/db
mkdir
-p /usr/local/src/grass57_exp_2004_05_24/dist.i386-unknown-freebsd5.2.1/fonts
"../include/Make/Grass.make", line 235: Missing dependency operator
"../include/Make/Grass.make", line 308: Need an operator
"../include/Make/Rules.make", line 8: Need an operator
"../include/Make/Rules.make", line 10: Need an operator
"Makefile", line 39: Missing dependency operator
"Makefile", line 41: Need an operator
make: fatal errors encountered -- cannot continue
gmake: *** [default] Error 1

5.3 compiled and installed without problems, but we need the S-57 import
feature from 5.7.

Any help will be much appreciated.

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2433
-------------------------------------------------------------------------

Subject: compile error: Missing dependency operator

Platform: other
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20040524

We downloaded grass57src_cvs_snapshot_exp_2004_05_24.tar.gz and
grass53src_cvs_snapshot_exp_2004_05_25.tar.gz

After installation of requirements from ports successful 5.3 compile we did:

CFLAGS="-g -Wall" ./configure
--with-grass50=/usr/local/src/grass53_exp_2004_05_25/
--with-tcltk-includes="/usr/local/include/tcl8.4 /usr/local/include/tk8.4"
--with-postgres=no --with-odbc=no --with-includes=/usr/local/include
--with-libs=/usr/local/lib

This went OK, so we did
gmake mix
which also was OK.

But:
gmake

returns:

"../include/Make/Grass.make", line 235: Missing dependency operator
"../include/Make/Grass.make", line 308: Need an operator
"../include/Make/Rules.make", line 8: Need an operator
"../include/Make/Rules.make", line 10: Need an operator
"Makefile", line 39: Missing dependency operator
"Makefile", line 41: Need an operator

This is due to the use of "make" in rules such as:

default:
  @list='$(SUBDIRS)'; \
  for subdir in $$list; do \
    (cd $$subdir && make) || exit 1; \
  done

The make program should always be invoked as $(MAKE).

--
Glynn Clements <glynn.clements@virgin.net>