[GRASS-user] Additional notes g.extension problems on Mac

Johannes Radinger JRadinger at gmx.at
Wed Oct 5 10:54:33 EDT 2011


Hello again!

There are some good news to tell!

I just tried as Hamish recommended to use g.extension on
the GRASS 6.4SVN ... and it seems to work!! 

My system:
Mac OS 10.6.8
GRASS 6.4.2svn48574

I installed the r.fuzzy AddOn as an example. There was only one error
message during installation:
ERROR: G_getenv(): Variable LOCATION_NAME not set
(the whole output below)

After the installation I called r.fuzzy from the command console
in the GRASS GUI and the r.fuzzy GUI popped up, so it seems
that it works... There is just no html-help in the gui but I can
call the help with r.fuzzy --help.

So I am looking forward that this feature will be ported to GRASS 7.0.
As I don't know how porting works etc. maybe a stupid question, but when do you think g.extension will be working on GRASS 7.0SVN? In the meanwhile I probably have to compile GRASS 7.0 together with the AddOns.

Just to come back to the Windows-g.extension issue: I understand the problem with the spaces in the paths and believe that this can be really difficult in programming. Anyway from the point of a normal GRASS GIS user: A lot of people in my surrounding are interested in some very useful GRASS GIS AddOns (r.stream.* and an AddOn I am developing at the moment (fish dispersal)). But nearly all of them are working on Windows so it is a kind of barrier to them to have a look into the usefulness of such GRASS GIS AddOns as they are not willing to learn how to compile it. Anyway I think this is of course a known issue and will be at least easier to solve in future. I am really happy about the features of GRASS GIS, its AddOns but also its helpful community!

cheers
Johannes

PS: Here the output of the successful Add-On installation in GRASS6.4SVN:
g.extension extension=r.fuzzy                                                   
Fetching <r.fuzzy> from GRASS-Addons SVN (be patient)...
A    r.fuzzy/local_proto.h
A    r.fuzzy/shape.png
A    r.fuzzy/main.c
A    r.fuzzy/boundary.png
A    r.fuzzy/description.html
A    r.fuzzy/fuzzy.c
A    r.fuzzy/Makefile
A    r.fuzzy/set.png
 U   r.fuzzy
Checked out revision 48643.
Compiling <r.fuzzy>...
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/include/grass
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/etc
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/driver
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/driver/db
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/fonts
test -d OBJ.i386-apple-darwin10.8.0 || mkdir -p OBJ.i386-apple-darwin10.8.0
gcc -I/Applications/GRASS-6.4.app/Contents/MacOS/include -I/Users/admin/Library/GRASS/6.4/Modules/bin/include -I/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/include  -g -O2   -arch i386 -arch x86_64   -I/Library/Frameworks/GDAL.framework/Versions/1.8/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include    -DPACKAGE=\""grassmods"\"  -I/Applications/GRASS-6.4.app/Contents/MacOS/include -I/Users/admin/Library/GRASS/6.4/Modules/bin/include -I/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/include -o OBJ.i386-apple-darwin10.8.0/fuzzy.o -c fuzzy.c
gcc -I/Applications/GRASS-6.4.app/Contents/MacOS/include -I/Users/admin/Library/GRASS/6.4/Modules/bin/include -I/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/include  -g -O2   -arch i386 -arch x86_64   -I/Library/Frameworks/GDAL.framework/Versions/1.8/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include    -DPACKAGE=\""grassmods"\"  -I/Applications/GRASS-6.4.app/Contents/MacOS/include -I/Users/admin/Library/GRASS/6.4/Modules/bin/include -I/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/include -o OBJ.i386-apple-darwin10.8.0/main.o -c main.c
gcc -L/Applications/GRASS-6.4.app/Contents/MacOS/lib -L/Users/admin/Library/GRASS/6.4/Modules/bin/lib -L/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/lib -arch i386 -arch x86_64   -arch i386 -arch x86_64     -o /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy OBJ.i386-apple-darwin10.8.0/fuzzy.o OBJ.i386-apple-darwin10.8.0/main.o  -lgrass_vect.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_dbmiclient.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_dgl.6.4.2svn -lgrass_dig2.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz     -lgrass_rtree.6.4.2svn  -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz     -lgrass_linkm.6.4.2svn -lgrass_rtree.6.4.2svn  -lgrass_dig2.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz     -lgrass_rtree.6.4.2svn  -lgrass_dgl.6.4.2svn -lgrass_rtree.6.4.2svn -lgrass_linkm.6.4.2svn -lgrass_dbmiclient.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz       -framework GDAL -L/Library/Frameworks/GEOS.framework/Versions/3/unix/lib -lgeos -lgeos_c  -lgrass_dbmiclient.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz       -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lz      -lz 
ld: warning: directory
'/Users/admin/Library/GRASS/6.4/Modules/bin/lib' following
-L not found
ld: warning: directory '/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/lib'
following -L not found
ld: warning: directory
'/Users/admin/Library/GRASS/6.4/Modules/bin/lib' following
-L not found
ld: warning: directory '/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/lib'
following -L not found
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
make htmlcmd
make /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html HTMLSRC=/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy
if [ "/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy" != "" ] ; then GISRC=/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/demolocation/.grassrc64 GISBASE=/users/admin/documents/GRASS-Source/grass-6.4.svn_src_snapshot_2011_10_01/dist.i386-apple-darwin10.8.0 PATH="/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin:$PATH" DYLD_LIBRARY_PATH="/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin:/Applications/GRASS-6.4.app/Contents/MacOS/lib:/Applications/GRASS-6.4.app/Contents/MacOS/lib:/Users/admin/Library/GRASS/6.4/Modules/lib:/Library/GRASS/6.4/Modules/lib" LC_ALL=C /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy --html-description < /dev/null | grep -v '</body>\|</html>' > r.fuzzy.tmp.html ; true ; fi
/Applications/GRASS-6.4.app/Contents/MacOS/tools/mkhtml.sh r.fuzzy ; mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html ; /usr/bin/install -c  -m 644 r.fuzzy.tmp.html /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.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/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html ; fi done 2> /dev/null ; true
ERROR: G_getenv(): Variable LOCATION_NAME not set
make mancmd
make /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1 MANSRC=/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html
mkdir -p /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2svn sh /Applications/GRASS-6.4.app/Contents/MacOS/tools/g.html2man/g.html2man /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1 1
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
Converting: /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html to /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1
INST_NOW= make
make htmlcmd
make /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html HTMLSRC=/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy
make[4]: `/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html' is up to date.
make mancmd
make /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1 MANSRC=/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html
make[4]: `/Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1' is up to date.
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:422: warning: overriding commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Gras
s.make:413: warning: ignoring old commands for target
`/Users/admin/Documents/GRASS-
GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-
Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
Installing <r.fuzzy>...
/usr/bin/install -c  /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/bin/r.fuzzy /Users/admin/Library/GRASS/6.4/Modules/bin/bin/
/usr/bin/install -c  -m 644 /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/docs/html/r.fuzzy.html /Users/admin/Library/GRASS/6.4/Modules/bin/docs/html/
/usr/bin/install -c  -m 644 /Users/admin/Documents/GRASS-GIS/Test_Location/PERMANENT/.tmp/Johannes-Snow-Leopard.local/70683.0/dist.x86_64-apple-darwin10.0/man/man1/r.fuzzy.1 /Users/admin/Library/GRASS/6.4/Modules/bin/man/man1/
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Modu
le.make:25: warning: overriding commands for target
`install'
/Applications/GRASS-6.4.app/Contents/MacOS/include/Make/Rule
s.make:90: warning: ignoring old commands for target
`install'
Installation of <r.fuzzy> in </Users/admin/Library/GRASS/6.4/Modules/bin> complete.
(Wed Oct  5 16:35:50 2011) Command finished (15 sec) 


-------- Original-Nachricht --------
> Datum: Wed, 5 Oct 2011 06:27:55 -0700 (PDT)
> Von: Hamish <hamish_b at yahoo.com>
> An: Johannes Radinger <JRadinger at gmx.at>
> CC: grass-user at lists.osgeo.org
> Betreff: Re: [GRASS-user] Additional notes g.extension problems on Mac

> Johannes wrote:
> > I just wanted to post some addtional information about
> > using g.extension on Mac OSX (10.6.8) with GRASS
> > 7.0.svn48327.
> > 
> > This follows probably this bug report:
> http://trac.osgeo.org/grass/ticket/1406
> 
> the root cause of the two are unrelated AFAICT.
> 
> 
> > I tried to install the r.fuzzy AddOn with following
> > command:
> > g.extension extension=r.fuzzy
> > 
> > I get back following lines which include the problem:
> [...]
> > fuzzy.c:1:27: error: grass/glocale.h: No such file or
> > directory
> > In file included from fuzzy.c:2:
> > local_proto.h:5:26: error: grass/raster.h: No such file or
> > directory
> > local_proto.h:6:23: error: grass/gis.h: No such file or
> > directory
> 
> it can't find the grass include header files.
> 
> William has applied a Mac fix to the shell script version in
> grass 6.4svn, can you try that?   (ARCH_INC and ARCH_LIBPATH)
> this has not been set in the grass 7 yet; if the grass 6 method
> works it should be ported over. please let us know.
> 
> 
> > Maybe this helps you analysing the problem. Is there any
> > plan when g.extension should work on Mac as well as on
> > Windows?
> 
> As far as I know it doesn't work well on Windows due to the
> commonality of spaces in path names, the build system we rely
> on doesn't like that, and there's not much we can do to change
> the situation. Mac and Linux should be made to work most of the
> time, but the hard truth is that g.extension is never going to
> work 100% for end-users. the big question is how far into the
> 90%s can we get?
> 
> 
> Hamish
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the grass-user mailing list