[GRASS-user] Re: g.extension (e.g. to install i.landsat.toar)

2010-11-02 Thread Gabriele N.

Hi Markus.
I have installed grass-dev but now there is another problem (there is a
problem of permissions for the folder creation and does not solve if I
create the folder before launching g.extension):

 g.extension i.landsat.toar 
Fetching i.landsat.toar from GRASS-Addons SVN (be patient)...
Ai.landsat.toar/landsat_set.c
Ai.landsat.toar/local_proto.h
Ai.landsat.toar/main.c
Ai.landsat.toar/description.html
Ai.landsat.toar/landsat.c
Ai.landsat.toar/earth_sun.c
Ai.landsat.toar/landsat.h
Ai.landsat.toar/landsat_met.c
Ai.landsat.toar/Makefile
Ai.landsat.toar/earth_sun.h
 U   i.landsat.toar
Estratta revisione 44172.
Compiling i.landsat.toar...
mkdir -p /build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu/include/grass
mkdir: impossibile creare la directory
`/build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu': Permesso negato
make: *** [/build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu/include/grass]
Errore 1
ERRORE: Compilation failed, sorry. Please check above error messages.


Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-e-g-to-install-i-landsat-toar-tp5662708p5698083.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: g.extension (e.g. to install i.landsat.toar)

2010-11-02 Thread Markus Neteler
On Tue, Nov 2, 2010 at 5:16 PM, Gabriele N. gis...@libero.it wrote:

 Hi Markus.
 I have installed grass-dev but now there is another problem (there is a
 problem of permissions for the folder creation and does not solve if I
 create the folder before launching g.extension):

 g.extension i.landsat.toar
 Fetching i.landsat.toar from GRASS-Addons SVN (be patient)...
 A    i.landsat.toar/landsat_set.c
 A    i.landsat.toar/local_proto.h
 A    i.landsat.toar/main.c
 A    i.landsat.toar/description.html
 A    i.landsat.toar/landsat.c
 A    i.landsat.toar/earth_sun.c
 A    i.landsat.toar/landsat.h
 A    i.landsat.toar/landsat_met.c
 A    i.landsat.toar/Makefile
 A    i.landsat.toar/earth_sun.h
  U   i.landsat.toar
 Estratta revisione 44172.
 Compiling i.landsat.toar...
 mkdir -p /build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu/include/grass
 mkdir: impossibile creare la directory
 `/build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu': Permesso negato
 make: *** [/build/buildd/grass-6.4.0/dist.i686-pc-linux-gnu/include/grass]
 Errore 1
 ERRORE: Compilation failed, sorry. Please check above error messages.

I have fixed this 1-2 weeks ago (for 6.4.1 and later). Please get the
updated script here:
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/scripts/g.extension/

and try again with this version. You can simply replace the one you have with
this one or rename it or whatever you prefer.
Please let me know if it helps (maybe more tweaks are needed but we are getting
closer!).

Cheers
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: g.extension (e.g. to install i.landsat.toar)

2010-11-02 Thread Gabriele N.

Markus, still does not work.
I saw some differences compared to the old script. To understand ... which
is the part that has been changed to fix this?


GRASS 6.4.0 (utm_wgs84):~  g.extension i.landsat.toar 
Fetching i.landsat.toar from GRASS-Addons SVN (be patient)...
Ai.landsat.toar/landsat_set.c
Ai.landsat.toar/local_proto.h
Ai.landsat.toar/main.c
Ai.landsat.toar/description.html
Ai.landsat.toar/landsat.c
Ai.landsat.toar/earth_sun.c
Ai.landsat.toar/landsat.h
Ai.landsat.toar/landsat_met.c
Ai.landsat.toar/Makefile
Ai.landsat.toar/earth_sun.h
 U   i.landsat.toar
Estratta revisione 44172.
Compiling i.landsat.toar...
mkdir -p /build/buildd/grass-6.4.0/bin.i686-pc-linux-gnu
mkdir: impossibile creare la directory `/build': Permesso negato
make: *** [/build/buildd/grass-6.4.0/bin.i686-pc-linux-gnu] Errore 1
ERRORE: Compilation failed, sorry. Please check above error messages.
GRASS 6.4.0 (utm_wgs84):~  g.extension i.landsat.acca
Fetching i.landsat.acca from GRASS-Addons SVN (be patient)...
Ai.landsat.acca/tools.c
Ai.landsat.acca/local_proto.h
Ai.landsat.acca/main.c
Ai.landsat.acca/description.html
Ai.landsat.acca/algorithm.c
Ai.landsat.acca/Makefile
 U   i.landsat.acca
Estratta revisione 44172.
Compiling i.landsat.acca...
mkdir -p /build/buildd/grass-6.4.0/bin.i686-pc-linux-gnu
mkdir: impossibile creare la directory `/build': Permesso negato
make: *** [/build/buildd/grass-6.4.0/bin.i686-pc-linux-gnu] Errore 1
ERRORE: Compilation failed, sorry. Please check above error messages.

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-e-g-to-install-i-landsat-toar-tp5662708p5699112.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: g.extension (e.g. to install i.landsat.toar)

2010-11-01 Thread Gabriele N.

I have the same problem (ubuntu 10.10, with repo ubuntugis)

GRASS 6.4.0 (utm_wgs84):~  g.extension i.landsat.toar 
Fetching i.landsat.toar from GRASS-Addons SVN (be patient)...
Ai.landsat.toar/landsat_set.c
Ai.landsat.toar/local_proto.h
Ai.landsat.toar/main.c
Ai.landsat.toar/description.html
Ai.landsat.toar/landsat.c
Ai.landsat.toar/earth_sun.c
Ai.landsat.toar/landsat.h
Ai.landsat.toar/landsat_met.c
Ai.landsat.toar/Makefile
Ai.landsat.toar/earth_sun.h
 U   i.landsat.toar
Estratta revisione 44145.
Compiling i.landsat.toar...
Makefile:8: /usr/lib/grass64/include/Make/Module.make: Nessun file o
directory
make: *** Nessuna regola per generare l'obiettivo
«/usr/lib/grass64/include/Make/Module.make».  Stop.
ERRORE: Compilation failed, sorry. Please check above error messages.


/usr/lib/grass64$ ls
AUTHORS.gz  bwidget  docsetcGPL.TXT  locale
bin COPYING  driver  fonts  lib  scripts

Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-e-g-to-install-i-landsat-toar-tp5662708p5693486.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: g.extension (e.g. to install i.landsat.toar)

2010-11-01 Thread Markus Neteler
On Mon, Nov 1, 2010 at 12:24 PM, Gabriele N. gis...@libero.it wrote:

 I have the same problem (ubuntu 10.10, with repo ubuntugis)

 GRASS 6.4.0 (utm_wgs84):~  g.extension i.landsat.toar
 Fetching i.landsat.toar from GRASS-Addons SVN (be patient)...
 A    i.landsat.toar/landsat_set.c
 A    i.landsat.toar/local_proto.h
 A    i.landsat.toar/main.c
 A    i.landsat.toar/description.html
 A    i.landsat.toar/landsat.c
 A    i.landsat.toar/earth_sun.c
 A    i.landsat.toar/landsat.h
 A    i.landsat.toar/landsat_met.c
 A    i.landsat.toar/Makefile
 A    i.landsat.toar/earth_sun.h
  U   i.landsat.toar
 Estratta revisione 44145.
 Compiling i.landsat.toar...
 Makefile:8: /usr/lib/grass64/include/Make/Module.make: Nessun file o
 directory
 make: *** Nessuna regola per generare l'obiettivo
 «/usr/lib/grass64/include/Make/Module.make».  Stop.
 ERRORE: Compilation failed, sorry. Please check above error messages.


 /usr/lib/grass64$ ls
 AUTHORS.gz  bwidget  docs    etc    GPL.TXT  locale
 bin         COPYING  driver  fonts  lib      scripts


The include/ directory is missing which suggests that the grass-devel
package is not installed.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user