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 html_library_grass.tcl /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] Error 3 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. Benjamin Hamish wrote: > 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 >> Rules.make: >> >> clean: >> -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 ; \ >> fi > > > how about > - -if [ "$(CLEAN_SUBDIRS)" != "" ] ; then \ > + -if [ -n "$(CLEAN_SUBDIRS)" ] ; then \ > > > What OS & make version are you running Benjamin? > > > Hamish > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- Benjamin Ducke, M.A. Archäoinformatik (Archaeoinformation Science) Institut für Ur- und Frühgeschichte (Inst. of Prehistoric and Historic Archaeology) Christian-Albrechts-Universität zu Kiel Johanna-Mestorf-Straße 2-6 D 24098 Kiel Germany Tel.: ++49 (0)431 880-3378 / -3379 Fax : ++49 (0)431 880-7300 www.uni-kiel.de/ufg _______________________________________________ grass-dev mailing list grass-dev@grass.itc.it http://grass.itc.it/mailman/listinfo/grass-dev