[GRASS-user] GRASS 6.3 Installation Woes on OS X

Hi,

I am using the binary GRASS.app 6.3 CVS 070530 from the KyngChaos.com website. I am having some difficult getting GRASS 6.3 to install correctly.

I believe in my previous version of GRASS on another system, the installer created the directory “/Users/ryan/grass” for me and put the Spearfish dataset in there. This directory does not exist after installing this new version for some reason. When I start GRASS, I get an error:

WARNING: location <> at GISDBASE </Users/ryan> is not a directory or does not exist.

because /Users/ryan/grass does not exist. There is also no Spearfish dataset anywhere. If I manually create the grass folder, I still get the error b/c Grass doesn’t detect it.

For some reason, the .grass6rc file and the executable grass63 will not install.

Am I missing something? I installed all of the frameworks before installing 6.3 but I cannot get it to install completely.

Thanks,
Ryan


Ryan Rosario
Center for Environmental Statistics
Department of Statistics
University of California, Los Angeles

You may have installed Lorenzo's or OpenOSX's GRASS before. I think one of those installed the Spearfish samples and the user/grass folder. Basically, those extras are just for convenience from the packager.

See the GRASS documentation for help setting up GRASS after installation. This build of GRASS now has docs integrated with the OSX help system - open Mac Help from the Finder, then select GRASS from the Library menu. A readme is installed in /Users/Shared.

.grass6rc is not something that must exist for GRASS to run. Create it if you need it. I prefer to use .bash_profile instead, since .grass6rc is loaded *after* the initial mapset selection.

As for the 'grass63' executable, this is embedded in the application bundle, and there is no need to directly run it, this is taken care of when you double-click GRASS-6.3.app. It is possible to run it from a Terminal if you like - it is renamed 'grass.sh' inside the app bundle, in GRASS-6.3.app/Contents/Resources.

On Jul 10, 2007, at 2:15 AM, Ryan Rosario wrote:

Hi,

I am using the binary GRASS.app 6.3 CVS 070530 from the KyngChaos.com website. I am having some difficult getting GRASS 6.3 to install correctly.

I believe in my previous version of GRASS on another system, the installer created the directory "/Users/ryan/grass" for me and put the Spearfish dataset in there. This directory does not exist after installing this new version for some reason. When I start GRASS, I get an error:

WARNING: location <<UNKNOWN>> at GISDBASE </Users/ryan> is not a directory or does not exist.

because /Users/ryan/grass does not exist. There is also no Spearfish dataset anywhere. If I manually create the grass folder, I still get the error b/c Grass doesn't detect it.

For some reason, the .grass6rc file and the executable grass63 will not install.

Am I missing something? I installed all of the frameworks before installing 6.3 but I cannot get it to install completely.

Thanks,
Ryan

----------------------------------------------------------
Ryan Rosario
Center for Environmental Statistics
Department of Statistics
University of California, Los Angeles
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am. Or in my case - I am, therefore I ache."

- Marvin

Just to confirm, you do have X11 installed right?

Here is a link for downloading sample data/mapsets; http://grass.itc.it/download/data6.php

Mars

On 10-Jul-07, at 6:57 AM, William Kyngesburye wrote:

You may have installed Lorenzo's or OpenOSX's GRASS before. I think one of those installed the Spearfish samples and the user/grass folder. Basically, those extras are just for convenience from the packager.

See the GRASS documentation for help setting up GRASS after installation. This build of GRASS now has docs integrated with the OSX help system - open Mac Help from the Finder, then select GRASS from the Library menu. A readme is installed in /Users/Shared.

.grass6rc is not something that must exist for GRASS to run. Create it if you need it. I prefer to use .bash_profile instead, since .grass6rc is loaded *after* the initial mapset selection.

As for the 'grass63' executable, this is embedded in the application bundle, and there is no need to directly run it, this is taken care of when you double-click GRASS-6.3.app. It is possible to run it from a Terminal if you like - it is renamed 'grass.sh' inside the app bundle, in GRASS-6.3.app/Contents/Resources.

On Jul 10, 2007, at 2:15 AM, Ryan Rosario wrote:

Hi,

I am using the binary GRASS.app 6.3 CVS 070530 from the KyngChaos.com website. I am having some difficult getting GRASS 6.3 to install correctly.

I believe in my previous version of GRASS on another system, the installer created the directory "/Users/ryan/grass" for me and put the Spearfish dataset in there. This directory does not exist after installing this new version for some reason. When I start GRASS, I get an error:

WARNING: location <<UNKNOWN>> at GISDBASE </Users/ryan> is not a directory or does not exist.

because /Users/ryan/grass does not exist. There is also no Spearfish dataset anywhere. If I manually create the grass folder, I still get the error b/c Grass doesn't detect it.

For some reason, the .grass6rc file and the executable grass63 will not install.

Am I missing something? I installed all of the frameworks before installing 6.3 but I cannot get it to install completely.

Thanks,
Ryan

----------------------------------------------------------
Ryan Rosario
Center for Environmental Statistics
Department of Statistics
University of California, Los Angeles
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am. Or in my case - I am, therefore I ache."

- Marvin

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

William Kyngesburye wrote:

.grass6rc is not something that must exist for GRASS to run. Create
it if you need it. I prefer to use .bash_profile instead,
since .grass6rc is loaded *after* the initial mapset selection.

little clarification:

.grassrc6 holds the GIS variables. It is not a series of shell commands.
It contains things like "DEBUG: 0".

.grass.bashrc (or .grass.cshrc) contains shell commands to be run at
initial mapset selection (creation of session shell). It contains things
like "export GRASS_WIDTH=800".

Maybe .grass6rc exists on your builds for the Mac, I'm not sure, but did
you mean to say .grass.bashrc not .grass6rc?

Hamish

On Jul 11, 2007, at 3:36 AM, Hamish wrote:

William Kyngesburye wrote:

.grass6rc is not something that must exist for GRASS to run. Create
it if you need it. I prefer to use .bash_profile instead,
since .grass6rc is loaded *after* the initial mapset selection.

little clarification:

.grassrc6 holds the GIS variables. It is not a series of shell commands.
It contains things like "DEBUG: 0".

.grass.bashrc (or .grass.cshrc) contains shell commands to be run at
initial mapset selection (creation of session shell). It contains things
like "export GRASS_WIDTH=800".

Maybe .grass6rc exists on your builds for the Mac, I'm not sure, but did
you mean to say .grass.bashrc not .grass6rc?

Right, .grass.bashrc is what I meant. Don't know if that's what Ryan meant. It's not in the Mac build.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?

-HitchHiker's Guide to the Galaxy

Thanks. All I have seen is .grassrc6 but that must have been from Lorenzo’s build. To get a similar environment I just created a grass directory under /Users/ryan and then entered /Users/ryan/grass into the GIS Data Directory field. I no longer get the error I asked about.

Another user recommended creating my own .grassrc6 file which has apparently worked for other users, but it seems that my way works as well (both methods are probably doing the same thing). I downloaded the Spearfish dataset and all appears good as new.

Thanks!
Ryan

On 7/11/07, William Kyngesburye <woklist@kyngchaos.com> wrote:

On Jul 11, 2007, at 3:36 AM, Hamish wrote:

William Kyngesburye wrote:

.grass6rc is not something that must exist for GRASS to run. Create
it if you need it. I prefer to use .bash_profile instead,
since .grass6rc is loaded after the initial mapset selection.

little clarification:

.grassrc6 holds the GIS variables. It is not a series of shell
commands.
It contains things like “DEBUG: 0”.

.grass.bashrc (or .grass.cshrc) contains shell commands to be run at
initial mapset selection (creation of session shell). It contains
things
like “export GRASS_WIDTH=800”.

Maybe .grass6rc exists on your builds for the Mac, I’m not sure,
but did
you mean to say .grass.bashrc not .grass6rc?

Right, .grass.bashrc is what I meant. Don’t know if that’s what Ryan
meant. It’s not in the Mac build.


William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled
with hyena offal?
Second Pogril: I don’t know. Why IS life like sticking your head in
a bucket filled with hyena offal?
First Pogril: I don’t know either. Wretched, isn’t it?

-HitchHiker’s Guide to the Galaxy


Get Thunderbird!

On Jul 11, 2007, at 12:25 PM, Ryan Rosario wrote:

Thanks. All I have seen is .grassrc6 but that must have been from Lorenzo's build. To get a similar environment I just created a grass directory under /Users/ryan and then entered /Users/ryan/grass into the GIS Data Directory field. I no longer get the error I asked about.

Another user recommended creating my own .grassrc6 file which has apparently worked for other users, but it seems that my way works as well (both methods are probably doing the same thing). I downloaded the Spearfish dataset and all appears good as new.

The .grassrc6 file is (it should be) created automatically the first time you run GRASS. I'm not sure, but it may require a successful location/mapset selection/creation - ie you get the main GRASS command prompt.

There is no need to create .grassrc6 before running GRASS. Or to edit it after creation, GRASS' g.gisenv maintains it.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect