[GRASS-dev] WinGRASS RC5 man/man1/d.ask.1 Error 127

Glynn Clements glynn at gclements.plus.com
Tue Mar 11 23:10:49 EDT 2008

Marco Pasetti wrote:

> I just finished to recompile GRASS 6.3.0RC5 with Tcl/Tk 8.5.1;
> I made a quick test with sample data of North-Carolina (SRTM elevation
> raster 30m) and it seems bo be OK (but it's the first time for me using
> NVIZ, I don't what's the feature intended to not work)
> Anyway, the reason of the mail is another: in the last few lines of
> compiling I have the following error:
> make[1]: ***
> [/usr/local/src/grass-6.3.0RC5/dist.i686-pc-mingw32/man/man1/d.ask.1] Error
> 127
> And then at the end a Make error I don't remember in the previous
> compilations I did:
> Finished compilation: Mon Mar  3 22:52:36 GMT 2008
> make: *** [default] Error 1
> What is it?
> In WinGRASS current status I read:
> You also have to erase $(MANDIR) $(MANPAGES) from line 13 of man/Makefile,
> i.e. 'default: $(MANDIR) $(MANPAGES)' -> 'default:'
> At line 13 of man/Makefile I have:
> default: $(MANPAGES)
> That could be the reason of the error?

My first guess would be that you lack Perl, which is required for the
g.html2man script. Check the PERL line in include/Make/Platform.make.

Given that man pages aren't likely to be used on Windows, I wouldn't
bother about it.

We can probably avoid the error with:

--- man/Makefile	(revision 30532)
+++ man/Makefile	(working copy)
@@ -10,7 +10,11 @@
 MANPAGES := $(patsubst $(HTMLDIR)/%.html,$(MANDIR)/%.$(SECT),$(wildcard $(HTMLDIR)/*.html))
+ifeq ($(PERL),no)
 default: $(MANPAGES)

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list