Hi Markus, I am running Ubuntu 12.10. I am not sure what that means, g.extension being used outside of a GRASS session?
I could perhaps also be related to how I installed grass? Below my set of .configure - make - make install and some further details (not sure they are useful info, but adding just in case). ./configure --enable-64bit --prefix=/usr/local/grass6.4.current --with-sqlite --with-postgres --with-postgres-libs=/usr/include/postgresql/libpq --with-postgres-includes=/usr/include/postgresql --with-odbc --with-geos --with-cairo --with-cxx=yes --with-gdal=/usr/local/gdal1.9/bin/gdal-config --with-libs=/lib64 --with-python=yes --with-wxwidgets=/usr/bin/wx-config --with-tcltk-includes=/usr/include/tcl8.5 --with-readline --with-freetype --with-freetype-includes=/usr/include/freetype2 --enable-largefile --with-motif --with-motif-includes=/usr/include --with-proj-share=/usr/share/proj make sudo make install I also created a shortcut in the /usr/bin: sudo ln -s /usr/local/grass6.4.current/bin/grass64 /usr/bin/grass6.4 + Added a configuration file in /etc/ld.so with the following line: /usr/local/grass6.4.current/grass-6.4.3svn/lib. Your help is much appreciated. I am happy it all runs, so this isn't a major issue, but it would obviously be good if I could solve this. On Sun, Jan 27, 2013 at 9:16 PM, Markus Neteler <nete...@osgeo.org> wrote: > On Sun, Jan 27, 2013 at 2:23 PM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > > Hi Markus, > > > > Thanks for looking into this. It didn't work in first instance, but > after a > > completely clean install it works, > > (yes, g.extension in GRASS 6 doesn't handle properly the case of > reinstallation) > > > with one caveat. The help file shows now, > > but without the parameter info (which supposedly should be extracted from > > the script?). > > Yes, caused by the error below: > > > I am also getting the following error message: > > > > Fetching <r.mess> from GRASS-Addons SVN (be patient)... > > Compiling... > > /usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: > > warning: overriding commands for target `install' > ... > > ERROR: G_getenv(): Variable LOCATION_NAME not set > > To me it looks like g.extension being used outside of a GRASS session. > > ... > > I tried a few other extensions, and the same happens, so this does not > seem > > to be something specific to r.mess > > On Fedora 17 no problem, it installs properly. > > > (but I don't know if it is something specific to my system?). > > Apparently yes: which OS is it? > > Markus >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev