[GRASS-dev] wingrass: problems with some Makefiles

Moritz Lennert mlennert at club.worldonline.be
Wed Oct 17 18:35:18 EDT 2007


Hello,

It took me awhile to respond to this, as I had the feeling that I did
something wrong reinstalling mingw/msys since I was getting more
compilation errors than before.
However, after double-checking with Benjamin's notes (thanks!), whether my
installation was the problem. I currently use mingw 5.1.3 and
MSYS-1.0.11-2004.04.30-1, flex-2.5.33-MSYS-1.0.11, bison-2.3-MSYS-1.0.11,
make-3.81-MSYS-1.0.11-1, reinstalled from scratch.

See attached error.log for all the errors. I erased the log of the
"normal" errors (i.* commands, and database drivers which fail because of
the failure of sqlp).

On Sat, October 13, 2007 18:21, Glynn Clements wrote:
>
> Moritz Lennert wrote:
>
>> > Trying to recompile in windows (mingw), I get the errors in the
>> attached
>> > log, which I never saw before and which seem to be linked to recent
changes in Makefiles.
>> These errors go away if I revert to the previous version of the Makefile:
>> /c/grasssrc/grass6/general/manage/lister
>> make: *** No rule to make target `|', needed by
>> `/c/grasssrc/grass6/dist.i686-pc-mingw32/etc/lister/cell'.  Stop.
>
> What version of make do you have? The project page indicates that 3.81
is available:
>
> 	http://sourceforge.net/project/showfiles.php?group_id=2435

I installed 3.81 and still have the same errors.

>
>> After reverting to previous version of Makefile, the error in d.frame
compilation is different:
>
>> make /c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html
HTMLSRC=/c/grasssrc/grass6/dist.i686-pc-mingw32/bin/d.frame.exe
make[1]: Entering directory `/c/grasssrc/grass6/display/d.frame'
make[1]: *** No rule to make target
>> `/c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html'.
Stop.
>
> Try "make -p -C display/d.frame".

log attached.

>> It seems to have some difficulty separating v.voronoi and v.delaunoy
builds...
>
> Try moving the lines:
>
> 	VORONOI = v.voronoi$(EXE)
> 	DELAUNAY = v.delaunay$(EXE)
>
> 	PROGRAMS = $(VORONOI) $(DELAUNAY)
>
> to after Module.make is included. I think that it's not getting the .exe
extension, so it's try to use the default compilation rule (which uses
all .o files) rather than those at the bottom of the Makefile.

I did that and no difference (see error.log).

A bit frustrated here, having gone from a perfectly functioning
compilation to something that leaves me with an unusable GRASS in windows.

Benjamin, do you see any of these errors ?

Moritz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log.gz
Type: application/gzip
Size: 2321 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20071018/666ecc5e/error.log.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d.frame.log.gz
Type: application/gzip
Size: 23613 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20071018/666ecc5e/d.frame.log.bin


More information about the grass-dev mailing list