[GRASSLIST:6688] Mac OS X 10.4 and GRASS 6

Has anyone had any luck getting GRASS 6.1 to run under Tiger? I've reinstalled everything following the upgrade (archive and install) but haven't been able to get the 19 April CVS binary working. I can go into the .app package and open the startup screen (where you choose the location), but it fails to launch GRASS from there (i.e. no GRASS prompt in the shell). Any tips or just wait for an update? Thanks.

Tim

________________________________________________
Tim De Chant
     University of California, Berkeley
     Environmental Science, Policy, and Management
     137 Mulford Hall #3114
     Berkeley, CA 94720-3114
     Phone: (510) 643-3910

Not yet Tim. I am waiting for a copy of Tiger server to show up in the mail. When it arrives (probably next week) I will be doing a clean install and re-build of all grass and mapserver bits and pieces. When I have something to report, I'll let you know,

Kirk

On Apr 30, 2005, at 3:17 PM, Tim De Chant wrote:

Has anyone had any luck getting GRASS 6.1 to run under Tiger? I've reinstalled everything following the upgrade (archive and install) but haven't been able to get the 19 April CVS binary working. I can go into the .app package and open the startup screen (where you choose the location), but it fails to launch GRASS from there (i.e. no GRASS prompt in the shell). Any tips or just wait for an update? Thanks.

Tim

________________________________________________
Tim De Chant
    University of California, Berkeley
    Environmental Science, Policy, and Management
    137 Mulford Hall #3114
    Berkeley, CA 94720-3114
    Phone: (510) 643-3910

Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212


Hi Tim

Has anyone had any luck getting GRASS 6.1 to run under Tiger? I’ve reinstalled everything following the upgrade (archive and install) but haven’t been able to get the 19 April CVS binary working. I can go into the .app package and open the startup screen (where you choose the location), but it fails to launch GRASS from there (i.e. no GRASS prompt in the shell). Any tips or just wait for an update?
Thanks.

Tim

I have not Tiger but you test this change.

Exit from Grass and X11.
You open grass61cvs (Ctrl+Mouse clic and Show Package Contents)
Make a copy of “grass61cvs.app/Contents/Resources/Scripts/script.scpt” file.
Double clic on grass61cvs.app/Contents/Resources/Scripts/script.scpt file and it is opened from Script Editor application.
You see the source of Apple Script code. At the bottom you see:

if uscita = “uscita” then
set the totale to unixpathgrass & “Contents/Resources/” & grassversionreal & “/” & grass & mode
tell application “X11”
activate
if osxaqua = “1” then
set results to do shell script “cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH; osxaqua=” & osxaqua & “; export osxaqua; /usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &”
else
set results to do shell script “cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;” & “/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &”
end if
end tell
quit
end if
end «event coVScliI»

property ASDScriptUniqueIdentifier : “script.applescript”

You add 3 rows (after the second row):

if uscita = “uscita” then
set the totale to unixpathgrass & “Contents/Resources/” & grassversionreal & “/” & grass & mode
tell application “Finder”
launch application “X11”
end tell
tell application “X11”
activate
if osxaqua = “1” then
set results to do shell script “cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH; osxaqua=” & osxaqua & “; export osxaqua; /usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &”
else
set results to do shell script “cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;” & “/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &”
end if
end tell
quit
end if
end «event coVScliI»

property ASDScriptUniqueIdentifier : “script.applescript”

Save this file.

Close X11 and Grass.

Double clic on grass61cvs application and press START.

If this change is OK it’s also good for grass60 application.

Bye


|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)

________________________________________________________________________

Thanks, Lorenzo. I won't be able to try this until tonight, but I'll post my results when I do.

Tim

________________________________________________
Tim De Chant
     University of California, Berkeley
     Environmental Science, Policy, and Management
     137 Mulford Hall #3114
     Berkeley, CA 94720-3114
     Phone: (510) 643-3910

On May 2, 2005, at 2:34 AM, Lorenzo Moretti wrote:

Hi Tim

Has anyone had any luck getting GRASS 6.1 to run under Tiger? I've reinstalled everything following the upgrade (archive and install) but haven't been able to get the 19 April CVS binary working. I can go into the .app package and open the startup screen (where you choose the location), but it fails to launch GRASS from there (i.e. no GRASS prompt in the shell). Any tips or just wait for an update?
Thanks.
Tim

I have not Tiger but you test this change.

Exit from Grass and X11.
You open grass61cvs (Ctrl+Mouse clic and Show Package Contents)
Make a copy of "grass61cvs.app/Contents/Resources/Scripts/script.scpt" file.
Double clic on grass61cvs.app/Contents/Resources/Scripts/script.scpt file and it is opened from Script Editor application.
You see the source of Apple Script code. At the bottom you see:

        if uscita = "uscita" then
               set the totale to unixpathgrass & "Contents/Resources/" & grassversionreal & "/" & grass & mode
                tell application "X11"
                  activate
                        if osxaqua = "1" then
                           set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH; osxaqua=" & osxaqua & "; export osxaqua; /usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
                       else
                            set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;" & "/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
                    end if
          end tell
                quit
    end if
end «event coVScliI»

property ASDScriptUniqueIdentifier : "script.applescript"

You add 3 rows (after the second row):

        if uscita = "uscita" then
               set the totale to unixpathgrass & "Contents/Resources/" & grassversionreal & "/" & grass & mode
                tell application "Finder"
                       launch application "X11"
                end tell
                tell application "X11"
                  activate
                        if osxaqua = "1" then
                           set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH; osxaqua=" & osxaqua & "; export osxaqua; /usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
                       else
                            set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;" & "/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
                    end if
          end tell
                quit
    end if
end «event coVScliI»

property ASDScriptUniqueIdentifier : "script.applescript"

Save this file.

Close X11 and Grass.

Double clic on grass61cvs application and press START.

If this change is OK it's also good for grass60 application.

Bye

--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________

Hi all

In the site there are two very small patch (6 kb) for working with grass 5.4 and grass 6.0 in the new Mac OS X 10.4 (Tiger).

http://wwwamb.bologna.enea.it/forgrass/download.htm

This patch is good for ALL MAC OS X: 10.2.8 and higher.

Read the README file for installing the patch.

Future 6.1.cvs version will include this patch.

Thanks to Renato Henriques for the report

Bye

--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (res.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
      Download GRASS for MAC OS X: http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________

On May 3, 2005, at 8:31 AM, Lorenzo Moretti wrote:

Hi all

In the site there are two very small patch (6 kb) for working with grass 5.4 and grass 6.0 in the new Mac OS X 10.4 (Tiger).

http://wwwamb.bologna.enea.it/forgrass/download.htm

This patch is good for ALL MAC OS X: 10.2.8 and higher.

Read the README file for installing the patch.

Future 6.1.cvs version will include this patch.

Lorenzo,

Will you let the list know when this patch goes into cvs?

Thanks,

Kirk

Thanks to Renato Henriques for the report

Bye

-- ________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (res.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
      Download GRASS for MAC OS X: http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________

Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212