[GRASS5] The PATH of my own Grass module

Hi,
I succeed in compiling my own GRASS module (temporary name: v.pregeo) but unfortunately it is only executable from its folder
~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/

Here are my questions:
1- Is there a way to let my GRASS shell accept to run my v.pregeo as it does with the other predefind GRASS commands?
2- Is there a way to let me create the executable v.pregeo in the same directory of my source files (I mean: folder ./ ) instead of the default one?
3- How can I extend the environment variable $PATH by adding the folder ~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ ?

Thank you in advance,
Damiano

On Mon, Apr 24, 2006 at 02:45:47PM +0200, Damiano Triglione wrote:

Hi,
I succeed in compiling my own GRASS module (temporary name: v.pregeo) but unfortunately it is only executable from its folder
~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/

Here are my questions:
1- Is there a way to let my GRASS shell accept to run my v.pregeo as it does with the other predefind GRASS commands?

export GRASS_ADDON_PATH=~/bingrass
grass61

2- Is there a way to let me create the executable v.pregeo in the same directory of my source files (I mean: folder ./ ) instead of the default one?

3- How can I extend the environment variable $PATH by adding the folder ~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ ?

Thank you in advance,
Damiano

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

I would urge you to look at Benjamin Ducke’s new GRASS Extensions Manager http://www.uni-kiel.de/ufg/ufg_BerDucke.htm. This will be going into GRASS for the upcoming version 6.2 release. It allows people to create GRASS modules, distribute them independently of the main GRASS source package, and have them automatically install into GRASS and the GUI menu system.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


From: Damiano Triglione damiano.triglione@polimi.it
Date: Mon, 24 Apr 2006 14:45:47 +0200
To: grass5@grass.itc.it
Subject: [GRASS5] The PATH of my own Grass module

Hi,
I succeed in compiling my own GRASS module (temporary name: v.pregeo) but unfortunately it is only executable from its folder
~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/

Here are my questions:
1- Is there a way to let my GRASS shell accept to run my v.pregeo as it does with the other predefind GRASS commands?
2- Is there a way to let me create the executable v.pregeo in the same directory of my source files (I mean: folder ./ ) instead of the default one?
3- How can I extend the environment variable $PATH by adding the folder ~/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ ?

Thank you in advance,
Damiano