[GRASS-user] add-ons installation failure

Patrick Schirmer patrick_GIS at gmx.ch
Tue Nov 16 13:11:12 EST 2010


Thanks Markus,

that helped and it will nearly finish installation of add-on 
v.vect.stats. Had to change all rights for the folders grass64 and 
subfolders to allow manipulation. But still one error (tested at home on 
other computer, so in German):

//usr/bin/install: Aufruf von stat für 
„/usr/lib/grass64/bin/v.vect.stats“ nicht möglich: No such file or 
directory.
make: *** [install] Fehler 1

/any idea?/
/
patrick/


/
_complete log:_

GRASS 6.4.0 (swiss_wgs84_unporjected):~ > g.extension ext=v.vect.stats
Fetching <v.vect.stats> from GRASS-Addons SVN (be patient)...
A    v.vect.stats/grass7.patch
A    v.vect.stats/main.c
A    v.vect.stats/description.html
A    v.vect.stats/grass65.patch
A    v.vect.stats/Makefile
  U   v.vect.stats
Ausgecheckt, Revision 44350.
Compiling <v.vect.stats>...
/usr/lib/grass64/include/Make/Grass.make:426: Warnung: Die Befehle für 
das Ziel »/usr/lib/grass64/bin« werden überschrieben
/usr/lib/grass64/include/Make/Grass.make:417: Warnung: Alte Befehle für 
das Ziel »/usr/lib/grass64/bin« werden ignoriert
make: Für das Ziel »/usr/lib/grass64/dist.i486-pc-linux-gnu« ist nichts 
zu tun.
Installing v.vect.stats...
/usr/lib/grass64/include/Make/Grass.make:426: Warnung: Die Befehle für 
das Ziel »/usr/lib/grass64/bin« werden überschrieben
/usr/lib/grass64/include/Make/Grass.make:417: Warnung: Alte Befehle für 
das Ziel »/usr/lib/grass64/bin« werden ignoriert
/usr/bin/install -c  /usr/lib/grass64/bin/v.vect.stats /usr/lib/grass64/bin/
/usr/bin/install: Aufruf von stat für 
„/usr/lib/grass64/bin/v.vect.stats“ nicht möglich: No such file or directory
make: *** [install] Fehler 1
FEHLER: Installation failed, sorry. Please check above error messages.
GRASS 6.4.0 (swiss_wgs84_unporjected):~ > ^C



On 16.11.2010 13:41, Markus Metz wrote:
> I forgot...
>
> On Tue, Nov 16, 2010 at 1:26 PM, Markus Metz
> <markus.metz.giswork at googlemail.com>  wrote:
>    
>> On Tue, Nov 16, 2010 at 12:14 PM, Patrick_schirmer<patrick_GIS at gmx.ch>  wrote:
>>      
>>> Dear list,
>>>
>>> I am trying to install add-ons on GRASS (6.4.0) through g.extension, as
>>> Markus mentioned this should be possible with RC07. Had to import grass-dev
>>> package,
>>>        
>> Some of these grass-dev packages seem to have bugs introduced by the packagers:
>>
>> in /usr/lib/grass64/include/Make/Platform.make, replace
>>
>> # GRASS dirs
>> GRASS_HOME          = /build/buildd/grass-6.4.0
>> RUN_GISBASE         = /build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu
>>
>> with
>>
>> # GRASS dirs
>> GRASS_HOME          = /usr/lib/grass64
>> # not sure what should be here since
>> /usr/lib/grass64/dist.i486-pc-linux-gnu does not exist:
>> RUN_GISBASE         = /usr/lib/grass64
>>
>>      
> and in /usr/lib/grass64/include/Make/GRASS.make, you may need to replace
>
> # GRASS global directories and constants
> # platform specific dirs
> ARCH_DISTDIR	= $(GRASS_HOME)/dist.$(ARCH)
> ARCH_BINDIR     = $(GRASS_HOME)/bin.$(ARCH)
> ERRORLOG        = $(GRASS_HOME)/error.log
>
> with
>
> ARCH_DISTDIR	= $(GRASS_HOME)
> ARCH_BINDIR     = $(GRASS_HOME)/bin
> # point ERRORLOG to somewhere at home, e.g. current dir ???
> ERRORLOG        = grass64_error.log
>
> completely untested, just a guess
>
> Markus M
>
>
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101116/642ebe74/attachment.html


More information about the grass-user mailing list