(copied here from grass-user) Related to below problem, would it be possible to add a make install target to all Makefiles? Then especially the GRASS Addons installation would be greately simplified.
Markus On Sun, Mar 30, 2008 at 12:57 PM, Gazz1982 <[EMAIL PROTECTED]> wrote: > > That doesn't seem to work, > > Here is my directory structure under grass > > bin > bwidget > docs > driver > etc > fonts > include > lib > scripts > > I copied the r.horizon2 folder into the bin directory and tried to make it > it returned the same error > > I have superuser/root permissions > > I'm sure when i do it once I will be able to do it again and again! > > Thanks for your help > > there isn't an imagery or raster folder should I make one in the grass > directory? > > > > Nikos Alexandris wrote: > > > > > > On Sat, 2008-03-29 at 16:20 -0700, Gazz1982 wrote: > >> I have just been converted to Linux after struggling with cgywin! > >> > >> How do I install a new grass module, in this case I have the file > >> r.horizon2.tar.gz on my desktop and my $GISBASE is /usr/lib/grass > > > > (You might need to be superuser/root to do "make install" in the end) > > > > In general it must be something like: > > 1. copy "add-on" directory to /where/your/grass/source/is under the > > respective generic module category > > > > e.g. for i.pr it would be: > > > > cp -r i.pr /where/your/grass/source/is/imagery/ > > > > 2. configure grass > > > > cd /where/your/source/is/ > > > > ./configure #with your parameters > > > > 3. go to the "add-on" directory and "make it" > > > > e.g. > > > > cd /imagery/i.pr > > > > make > > > > 4. back to grass source directory > > > > make install > > > > > >> > >> I've done this before but I can't remember the commands and where > >> everything > >> should go > >> > >> Thanks > > > > Hope this helps (as it helped me once when somebody told me how make it) > > > > Cheers, > > > > Nikos _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
