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

Hi,

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?

Thanks and goodnight,

Marco

Marco Pasetti wrote:

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?

(no idea, d.ask.html builds fine for me and the man page looks ok too)

FYI d.ask is not needed for the MS Windows port. It requires an xmon
and will not be ported to GRASS 7.

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Hi,

I modified …/man/Makefile at line 13 replacing

default: $(MANPAGES)

with

default:

then I rebuilt GRASS, and man/man1/d.ask.1 Error 127 disappeared… along with …/man/man1 directory!
Anyway I don’t care that, because in previous built it was always empty!

Aa a consequence, I decided to add this Makefile hacking to the building guide, now updated.

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Marco Pasetti
Inviato: mar 04/03/2008 0.55
A: GRASS Developer Mailing List
Oggetto: [GRASS-dev] WinGRASS RC5 man/man1/d.ask.1 Error 127

Hi,

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?

Thanks and goodnight,

Marco


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On 04/03/08 15:07, marco.pasetti@alice.it wrote:

Hi,
I modified ../man/Makefile at line 13 replacing

|default: $(MANPAGES)|

with

|default:|

then I rebuilt GRASS, and man/man1/d.ask.1 Error 127 disappeared... along with ../man/man1 directory!
Anyway I don't care that, because in previous built it was always empty!

I don't think that man pages are of any use in Windows...

Moritz

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@gclements.plus.com>

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@gclements.plus.com]
Inviato: mer 12/03/2008 4.10
A: marco.pasetti@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@gclements.plus.com