[GRASS-dev] Re: winGRASS

Moritz Lennert mlennert at club.worldonline.be
Thu Dec 14 11:35:43 EST 2006


On Thu, December 14, 2006 16:15, Paul Kelly wrote:
>
>
> On Thu, 14 Dec 2006, Moritz Lennert wrote:
>
>>>>> It is in /mingw/share/bison/m4sugar/m4sugar.m4. I don't know why it
>>>>> is
>>>>> looking for it in msys ? This causes an error in the compilation of
>>>>> libvect and so many consequent errors.
>>>> Ah OK. I think I hacked about with that a little bit come to think of
>>>> it.
>>>> Just put it where it's looking for it ;)
>>>
>>> I'll try as mentioned above. If that doesn't help, I'll move it around.
>>
>> It is installed in c:\msys\1.0\share.
>> I copied everything to c:\msys\share.
>>
>> But I still get the same error. When I try to access /msys from within
>> the
>> msys shell window, I also get an error. I actually have to do /c/msys to
>> get
>> there. But I just can't find where the path is coded...
>
> Hmm I think when I had the problem it was looking for /usr/share/bison/...
> So I don't understand. Must be some installation thing; really don't know.

Solved th

>
>>> Yes, saw an error on that. Will try to figure out how to change the
>>> makefile.
>>
>> I haven't really found out how to change this. Currently the Makefile
>> contains:
>>
>> # some definitions
>> SECT = 1
>> MANDIR  = $(GISBASE)/man/man$(SECT)
>> HTMLDIR = $(GISBASE)/docs/html
>> HTML2MAN = GRASS_PERL=${PERL} VERSION_NUMBER=${GRASS_VERSION_NUMBER} sh
>> $(GRASS_HOME)/tools/g.html2man/g.html2man
>>
>> MANPAGES := $(patsubst $(HTMLDIR)/%.html,$(MANDIR)/%.$(SECT),$(wildcard
>> $(HTMLDIR)/*.html))
>>
>> default: $(MANDIR) $(MANPAGES)
>>
>> $(MANDIR):
>>        $(MKDIR) $(MANDIR)
>>
>> $(MANDIR)/%.$(SECT): $(HTMLDIR)/%.html
>>        $(HTML2MAN) $< $@ $(SECT)
>>
>>
>> The problem is in the last line where g.html2man is called. just
>> commenting
>> out the last line doesn't seem to work:
>
> You maybe need the line to still start with a Tab, then comment out the
> rest? I don't know. But tider probably to just delete
> $(MANDIR) $(MANPAGES) after default:
>
>> Other than that I get a running binary which I can launch from within
>> msys.
>> Launching it with grass63.bat does not seem to work. I don't get the
>> startup
>> screen and I get a message about g.dirsep not being found.
>
> Oops - I forgot to add g.dirseps to the list of modules compiled by
> default in general/Makefile. If you just change into the g.dirseps
> directory and run make perhaps it will work after that. Remember to check
> that you need backslashes in the WINGISBASE path in grass63.bat.
>
> Paul
>
>





More information about the grass-dev mailing list