[GRASS-dev] macosx compilation error in d.m
Glynn Clements
glynn at gclements.plus.com
Tue Oct 2 04:56:30 EDT 2007
Agustin Diez Castillo wrote:
> > Can you please try the following:
> >
> > 1. Delete the files:
> >
> > dist.i686-apple-darwin8.10.1/docs/html/d.m.html
> it does exist
> > dist.i686-apple-darwin8.10.1/scripts/d.m
> it does exist
> > gui/tcltk/d.m/d.m.tmp.html
> it doesn't exist
> >
> > 2. Run "make -C gui/tcltk/d.m"
> >
> > 3. Report any errors, and whether any of the files mentioned in #1
> > above exist.
> No errors
> make -C gui/tcltk/d.m
> if [ ! -d /Users/Shared/grasssource/grass6/dist.i686-apple-
> darwin8.10.1/scripts ]; then mkdir -p /Users/Shared/grasssource/
> grass6/dist.i686-apple-darwin8.10.1/scripts; fi
> /usr/bin/install -c d.m /Users/Shared/grasssource/grass6/dist.i686-
> apple-darwin8.10.1/scripts/d.m
> GISRC=/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.10.1/
> demolocation/.grassrc63 GISBASE=/Users/Shared/grasssource/grass6/
> dist.i686-apple-darwin8.10.1 PATH="/Users/Shared/grasssource/grass6/
> dist.i686-apple-darwin8.10.1/bin:$PATH" DYLD_LIBRARY_PATH="/Users/
> Shared/grasssource/grass6/dist.i686-apple-darwin8.10.1/bin:/Users/
> Shared/grasssource/grass6/dist.i686-apple-darwin8.10.1/lib:"
> LC_ALL=C /Users/Shared/grasssource/grass6/dist.i686-apple-
> darwin8.10.1/scripts/d.m --html-description < /dev/null | grep -v '</
> body>\|</html>' > d.m.tmp.html ; true
> ../../../tools/mkhtml.sh d.m ; mkdir -p /Users/Shared/grasssource/
> grass6/dist.i686-apple-darwin8.10.1/docs/html ; /usr/bin/install -c -
> m 644 d.m.tmp.html /Users/Shared/grasssource/grass6/dist.i686-apple-
> darwin8.10.1/docs/html/d.m.html ; for file in *.png *.jpg ; do head -
> n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/
> install -c -m 644 $file /Users/Shared/grasssource/grass6/dist.i686-
> apple-darwin8.10.1/docs/html ; fi done 2> /dev/null ; true
> rm d.m.tmp.html
>
> >
> > 4. Repeat steps 2 and 3.
> No problem the second time
> >
> > This problem only occurs on certain systems (possibly depending upon
> > the version of "make"). I can't reproduce it here. Also, it has only
> > been reported with regard to d.m and gis.m, although exactly the same
> > rules are used for other scripts.
>
> This has been the first and only time it occurs. I did "make
> distclean" before ./configure
Can you clarify? Are you saying that even after "make distclean" and
"configure", the problem with d.m.html doesn't always occur?
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list