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

marco.pasetti at alice.it marco.pasetti at alice.it
Wed Mar 12 04:16:22 EDT 2008


Hi Glynn,
 
yes, in fact I did a similar thing, just only static (replaced original line with default: only)
thanks
 
Marco

________________________________

Da: Glynn Clements [mailto:glynn at gclements.plus.com]
Inviato: mer 12/03/2008 4.10
A: marco.pasetti at alice.it
Cc: GRASS Developer Mailing List
Oggetto: Re: [GRASS-dev] WinGRASS RC5 man/man1/d.ask.1 Error 127




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:
+else
 default: $(MANPAGES)
+endif

 $(MANDIR):
        $(MKDIR) $(MANDIR)

--
Glynn Clements <glynn at gclements.plus.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080312/550a2865/attachment-0001.html


More information about the grass-dev mailing list