[GRASS-dev] macosx compilation error in d.m

Agustin Diez Castillo Agustin.Diez at uv.es
Mon Oct 1 15:07:06 EDT 2007




On Oct 1, 2007, at 8:38 PM, Glynn Clements 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20071001/b1314e37/attachment.html


More information about the grass-dev mailing list