[GRASS-dev] GRASS 6.4.svn Makefile problem in forms (OSGeo4W)
Glynn Clements
glynn at gclements.plus.com
Wed Dec 19 17:08:42 PST 2012
Markus Neteler wrote:
> Hi,
>
> any idea about this?
>
> -> make: o: Command not found
> $ make
> o /osgeo4w/usr/src/grass643RC2/dist.i686-pc-msys/lib/libgrass_form.6.4.3RC2
$(SHLIB_LD) and $(SHLIB_SUFFIX) are empty.
The above command is the result of expanding:
$(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(EXTRA_LIBS) $(DLLMAIN_OBJ)
from Shlib.make. If $(SHLIB_LD) is empty, the - will be the first
character in the command, and a leading - indicates that errors are
ignored. The executed command will start with the "o ".
The fact that the filename refers to dist.i686-pc-msys suggests that
this is a consequence of the system name (as reported by uname)
changing from "mingw32" to "msys"; see the grass-dev thread at the
beginning of this month entitled:
Error compiling GRASS 7 on Windows - Unknown platform i686-pc-msys
for a similar issue with GRASS 7.
6.x's aclocal.m4 still has the old platform-detection code (taken from
Tcl/Tk). As this uses uname directly, using --host won't help (the 7.x
version uses $host, which is set by config.guess based upon uname but
can be overridden by --host).
It can probably be fixed with something like:
- MINGW*)
+ MINGW* | MSYS*)
followed by re-generating configure.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list