[GRASS-dev] some backports to 6.3.0-CVS branch
benjamin.ducke at ufg.uni-kiel.de
Mon Oct 29 05:32:34 EDT 2007
I am compiling using MinGW 5.1.3 (GCC 3.4.2 and Make 3.79)
on Windows 2000 in an MSYS 1.0.11 shell.
I know that there are some problems with the GRASS
Makefiles and Make < 3.81.
For example, it fails parsing lib/form/Makefile because
it cannot interpret the "¦" correctly.
Make 3.81 can handle the pipe correctly. However, it fails
miserably with plenty of error messages about not being
able to find some path, mostly like this:
process_begin: CreateProcess(NULL, /bin/install -c -m 644
/src/grass6/dist.i686-pc-mingw32/etc/form/html_library.tcl, ...) failed.
make (e=3): System cannot find the path specified.
make: *** [/src/grass6/dist.i686-pc-mingw32/etc/form/html_library.tcl]
There are other, equally idiotic error messages.
The worst thing is that I can't kill it with CTRL+C.
It spans multiple instances and keeps coming back up.
What a nuisance.
So, unless someone can tell me what's wrong with
MinGW 3.81 and GRASS 6.3, I am stuck with Make 3.79.
Anyhow, the untidy error output discussed below persists
also with make 3.81.
> Glynn wrote:
>> There is a check, hence the 'if [ "" != "" ] ...' part. But the shell
>> seems to be complaining about being unable to parse the command even
>> though it isn't going to execute it.
>> The command in question is the last one for the "clean" target in
>> -rm -rf $(OBJDIR) $(EXTRA_CLEAN_DIRS)
>> -rm -f $(EXTRA_CLEAN_FILES) *.tmp.html
>> -if [ "$(CLEAN_SUBDIRS)" != "" ] ; then \
>> for dir in $(CLEAN_SUBDIRS) ; do \
>> $(MAKE) -C $$dir clean ; \
>> done ; \
> how about
> - -if [ "$(CLEAN_SUBDIRS)" != "" ] ; then \
> + -if [ -n "$(CLEAN_SUBDIRS)" ] ; then \
> What OS & make version are you running Benjamin?
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
Benjamin Ducke, M.A.
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
D 24098 Kiel
Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
More information about the grass-dev