[GRASSweb-list]markus: web/grass5/binary/mac_os_x README.html,1.3,1.4
grass at intevation.de
grass at intevation.de
Fri Nov 15 07:39:25 EST 2002
Author: markus
Update of /grassrepository/web/grass5/binary/mac_os_x
In directory doto:/tmp/cvs-serv8980
Modified Files:
README.html
Log Message:
Jeshua Lacock: updated to new version
Index: README.html
===================================================================
RCS file: /grassrepository/web/grass5/binary/mac_os_x/README.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.html 28 Oct 2002 10:19:46 -0000 1.3
+++ README.html 15 Nov 2002 12:39:22 -0000 1.4
@@ -1,61 +1,76 @@
-<HTML> <BODY BGCOLOR=#FFFFFF>
-<font face="Arial, Helvetica">
-
-<pre>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head>
+<title>Index of /grass5/binary/mac_os_x</title></head>
+<body bgcolor="#ffffff">
+<em>Control-Click on the 'grass5install.sh' and choose 'save link to disk'.</em>
-This directory contains GRASS GIS 5.0.X binary code for the <a href=http://www.apple.com/macosx/>MacOS X platform</a>:
+<P>
+Please use the nearest mirror sites:
+Mirror List: <a href="../../..grass.mirrors.html">grass.mirrors.html</a></pre>
-[<a href=#FAQ>NEW FAQ below!</a>]
+<p>These binaries are distributed in the hope that they will be useful, but WITHOUT<br>
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or<br>
+ FITNESS FOR A PARTICULAR PURPOSE. Installation support for GRASS on<br>
+ Mac OS X shall be <b>guaranteed</b> to be provided only to <a href="http://openosx.com/grass">OpenOSX GRASS</a> customers.</p>
+<hr>
+<pre>
+This directory contains GRASS GIS 5.0.0 binary code for the Mac OS X 10.2.x
+platform. <em>These binaries have ONLY been tested with Mac OS 10.2.1
+(current version at the time of writing).</em>
-Please use the nearest mirror sites:
- Mirror List: <a href=../../../grass.mirrors.html>grass.mirrors.html</a>
+[<a href="#FAQ">NEW FAQ below!</a>]
-Note for Netscape users: Press "Shift"-"Left Mouse Button" to download the files
-grass5.0.X.tar.gz and grass5install.sh
+These binaries have been ported, compiled and contributed by Jeshua Lacock, the
+Owner of <a href="http://openosx.com/">OpenOSX</a>. The fastest and easiest way (<em>by far</em>) to install a complete
+installation of GRASS on Mac OS X is accomplished with OpenOSX's <a href="http://openosx.com/grass">GRASS
+5.0.0 Package.</a> The OpenOSX Package will install all required and optional
+libraries (<em>more than 20</em>) within minutes by simply double-clicking an icon. All of the
+libraries (Xfree, Tcl/TK, Mesa, gdal, etc) have been compiled with gcc 3.1 for at least
+a 20% gain in performance over previous versions (which used gcc 2.95).
-Check here for <a href=http://SierraMaps.com/grass>GRASS/MacOS X on CDROM</a>.
+The OpenOSX CD will eliminate all the instructions and downloads outlined on this page.
-<hr>
+Note that <em>in theory</em>, these binaries should <em>only</em> work on Mac OS 10.2.1 or later systems.
+<em>All</em> required and optional libraries <em>must</em> be built on Mac OS 10.2.1 or (perhaps) later.
+<hr width="100%">
Requirements for graphical user interface (GUI):
a) X-Windows:
-There are different ways to install X-Windows. The easiest way is the package from
-<a href=http://www.osxgnu.org/>OS X GNU</a>, also listed on the <a href=http://www.apple.com/downloads/macosx/unix_apps_utilities/xfree86.html>mac OS X downloads page of Apple</a>
-They come both with XDarwin, to run X-Windows conveniently side-by-side with the
-quartz engine of OS X (which means you don't have to log out to start it up).
+There are many different ways to install X-Windows. One option is the package from
+OS X GNU, also listed on <a href="http://www.apple.com/downloads/macosx/unix_apps_utilities/xfree86.html">Apple's Mac OS X downloads page</a>
-Another way is through <a href=http://fink.sourceforge.net>fink</a>. This is a CLI installer
-that uses debian packages and apt-get. The site also lists more detailed info
-about running X-Windows on mac OS X.
+<a href="http://orborosx.sf.net/">OroborOSX</a> is a modified X-Window manager that has been modified for native Mac
+OS X like features. It requires an installation of X-Free. The site also lists more detailed
+infomation about running X-Windows on mac OS X.
b) tcltkgrass GUI:
- The above files should copied to / (root) and installed from here:
- tcltk_macosX_lib.tar.gz
- tcltkbin_macosX.tar.gz
+The above files should be moved/copied or downloaded to / (root) and installed
+from there:
- cd \; gunzip *.gz; tar -xvf *.tar;
-
-You can also install the complete tcl/tk library with fink (see above), or get it from
-<a href=http://www.apple.com/downloads/macosx/unix_apps_utilities/tcltk.html>Apple's website</a>
-
+ % cd \
+ % gunzip tcltk8.4_macosX_lib.tar.gz
+ % tar -xvf tcltk8.4_macosX_lib.tar.gz
+ % gunzip tcltk8.4_macosX_bin.tar.gz
+ % tar -xvf tcltk8.4_macosX_bin.tar.gz
+You may also install the complete tcl/tk library with from <a href="http://tcl.sourceforge.net/">http://tcl.sourceforge.net/</a>.
-<hr>
+Not that these binaries have been compiled with Tcl/Tk 8.4 and has not been tested with
+previous versions.<hr width="100%">
GRASS 5 Installation:
-1. Get the GRASS package (currently 50.8MB):
+1. Get the GRASS binary distribution (currently 26MB):
- grass5.0.0_powerpc-apple-darwin_bin.tar.gz (all files)
+ grass5.0.0_powerpc-apple-darwin6.1_bin.tar.bz2 (all files)
-2. Get additionally the installation script:
- grass5_powerpc-apple-darwin_install.sh
+2. Also download the installation script:
+ grass5_powerpc-apple-darwin6.1_install.sh
- Then you only need to type the following for installation (use current package name!):
+Then type the following for installation (use current package name!):
- sh grass5_powerpc-apple-darwin_install.sh grass5.0.0_powerpc-apple-darwin_bin.tar.gz
+ % sh grass5_powerpc-apple-darwin6.1_install.sh grass5.0.0_powerpc-apple-darwin6.1_bin.tar.bz2
This will create the necessary directories and
files for you to run GRASS. The default install path is
@@ -64,40 +79,111 @@
To install in a different directory, specify it in the
command line:
- sh grass5_powerpc-apple-darwin_install.sh grass5.0.0_powerpc-apple-darwin_bin.tar.gz /opt/grass5
+ % sh grass5_powerpc-apple-darwin6.1_install.sh grass5.0.0_powerpc-apple-darwin6.1_bin.tar.bz2 /opt/grass5
+
+You will likely need to add X11R6/bin to your search path and set your DISPLAY
+variable if you are using the Terminal application.
+
+If you want to use the native Mac OS X Tcl/Tk interface you will also need to
+download and apply the gui.tcl.MacOSX.TclTk.patch.
+
+If you want to use NVIZ, you will need to download and apply the
+widgets.tcl.OpenOSX.patch.
After installation please enter:
- source /etc/csh.cshrc /etc/csh.login
+ % source /etc/csh.cshrc /etc/csh.login
(Mac won't find the start script otherwise).
Then start GRASS with
- grass5
+ % grass5
The user interface is started within GRASS:
- tcltkgrass&
+ % tcltkgrass&
-Note: If you are starting from beginning, you have
+Note: If you are starting from the beginning, you have
to define your project area within GRASS before
accessing the "tcltkgrass" user interface.
-For some funcionalities of GRASS (e.g. the PNG driver) you need to install
-additional UNIX-libraries. Most of them can be installed through <a href=http://fink.sourceforge.net>fink</a>.
+For some funcionalities of GRASS (e.g. the PNG or GDAL driver) you need to install
+additional UNIX-libraries. (All of the optional and required libraries are installed by the
+OpenOSX <a href="http://openosx.com/grass/">GRASS Package</a>). The most recent stable version must be used, and all
+libraries must be built with gcc 3.1. The list of optional libraries and their home pages are:</pre>
+<ul>
+ <li><code>libncurses4.x/5.x (already installed on modern systems)<br>
+ <a href="http://www.gnu.org/software/ncurses/ncurses.html">http://www.gnu.org/software/ncurses/ncurses.html</a> <br>
+ <a href="ftp://ftp.gnu.org/pub/gnu/ncurses/">ftp://ftp.gnu.org/pub/gnu/ncurses/</a><br>
+ </code></li>
+ <li><code>Mesa-3.x (openGL clone) required for NVIZ2.2<br>
+ <a href="http://mesa3d.sourceforge.net/">http://mesa3d.sourceforge.net/</a><br>
+ Special compile instructions:<br>
+ <a href="http://grass.itc.it/grass5/README.mesa31">http://grass.itc.it/grass5/README.mesa31</a> <br>
+ </code></li>
+ <li><code>FFTW (library for computing the Discrete Fourier Transform)
+ required for i.fft and i.ifft modules<br>
+ <a href="http://www.fftw.org/">http://www.fftw.org</a> <br>
+ </code></li>
+ <li><code>libpng (for r.in.png, r.out.png), usually already
+ installed.<br>
+ <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a> <br>
+ </code></li>
+ <li><code>libjpeg (for r.in.tiff, r.out.tiff), usually already
+ installed.<br>
+ <a href="http://www.ijg.org/">http://www.ijg.org</a><br>
+ <a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg/</a> <br>
+ </code></li>
+ <li><code>libtiff (for r.in.tiff, r.out.tiff), usually already
+ installed.<br>
+ <a href="http://www.libtiff.org/">http://www.libtiff.org</a> <br>
+ </code></li>
+ <li><code>libgd (for PNG driver), preferably GD 2.x.<br>
+ <a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a> <br>
+ </code></li>
+ <li><code>netpbm-tools/libraries (for r.in.png/r.out.png), usually
+ already installed.<br>
+ [please look at any decent software mirror near you!]<br>
+ <a href="http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM">http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM</a><br>
+ <a href="http://www.sourceforge.net/projects/netpbm/">http://www.sourceforge.net/projects/netpbm/</a> <br>
+ </code></li>
+ <li><code>PostgreSQL libraries (for the PostgreSQL database
+ interface)<br>
+ <a href="http://www.postgresql.org/">http://www.postgresql.org</a> <br>
+ </code></li>
+ <li><code>Unix ODBC (for the ODBC database interface)<br>
+ <a href="http://www.unixodbc.org/">http://www.unixodbc.org</a> <br>
+ </code></li>
+ <li><code>Only required for "xanim" and "ogl3d": the Motif or
+ Lesstif libraries<br>
+ <a href="http://www.lesstif.org/">http://www.lesstif.org</a> <br>
+ </code></li>
+ <li><code>r.in.gdal requires GDAL - Geospatial Data Abstraction
+ Library<br>
+ <a href="http://www.remotesensing.org/gdal/">http://www.remotesensing.org/gdal/</a> <br>
+ </code></li>
+ <li><code>R language (for the R language interface)<br>
+ <a href="http://cran.r-project.org/">http://cran.r-project.org</a> <br>
+ </code></li>
+ <li><code>FreeType2 (for d.text.freetype)<br>
+ <a href="http://www.freetype.org/">http://www.freetype.org/</a> </code></li>
+</ul>
+ <pre>
+
+
Note that for packages that need to be compiled, you need the most recent developer tools,
that are provided on the apple website (free registration as developer required)
-IMPORTANT: if grass can't find wish (from tcl/tk), you should make a link to wish8.0,
+IMPORTANT: if grass can't find wish (from tcl/tk), you should make a link to wish8.4,
or whatever version you have installed, in /usr/local/bin/:
-ln -s /usr/local/bin/wish8.0 /usr/local/bin/wish
+ % ln -s /usr/local/bin/wish8.4 /usr/local/bin/wish
-<hr><a name=FAQ>
+<hr width="100%"><a name="FAQ"></a>
FAQs:
Question:
- I recently installed Grass 5.0.0 precompiled binaries on Mac OSX,
+ I recently installed GRASS 5 pre3 precompiled binaries on Mac OSX,
and am getting an error when I start NVIZ:
@@ -151,7 +237,7 @@
/usr/local/grass5/etc/nviz2.2/../../../tk8.3/library
There is, however, an installation of tk8.3 at /usr/X11R6/lib. Where
- in Mac OSX do can I tell the system to look here for tk8.3? I don't
+ in Mac OSX can I tell the system to look for tk8.3? I don't
see it in any of the GRASS startup scripts; I think it's somewhere in
OSX.
@@ -164,7 +250,7 @@
The simplest workaround would be to try making a symlink within
$GISBASE/lib, e.g.
- ln -s /usr/X11R6/lib/tk8.3 /usr/local/grass5/lib/tk8.3
+ % ln -s /usr/X11R6/lib/tk8.3 /usr/local/grass5/lib/tk8.3
Question:
@@ -174,46 +260,29 @@
Error opening terminal: vt100
Answer:
+
+ % grass5 -tcltk
+
The solution (kudos to strobe) is to cd to the directory where your
spearfish directory is (i.e. if its found in /opt/spearfish, cd /opt)
and enter the following:
- grass5 spearfish/PERMANENT
+ % grass5 spearfish/PERMANENT
Question:
- I downloaded Grass for Mac OS X as many other people ;-). I realized
+ I downloaded GRASS for Mac OS X as many other people ;-). I realized
however that for running the interface I need to logout and enter as
- >console (and subsequently start the X-Windows manager) . Do you hear about
+ >console (and subsequently start the X-Windows manager) . Do you know of
any solution that let me stay inside the normal Mac OS X environment?
Answer:
- Try <a href=http://www.xdarwin.org>XDarwin</a>. It makes Xfree86 run side by side with
- the quartz engine. More information can be found on:
- <a href=http://fink.sourceforge.net/doc/x11/index.php>fink.sourceforge.net/doc/x11/index.php</a>
+Try <a href="http://oroborosx.sourceforge.net/">OroborOSX</a>. It makes Xfree86 run side by side within
+ the quartz engine. More information can be found at that site. OrborOSX and
+XFree are installed by OpenOSX's GRASS Package.
-Question:
- I have run into a problem d.mon:
-
- Sorry, </usr/local/grass-5.0b/dev/fifo.1a> not available
- Have GRASS adminstrator check etc/monitorcap file
- Can't stat /usr/local/grass-5.0b/dev/fifo.1a
- Problem selecting x0. Will try once more
- Can't stat /usr/local/grass-5.0b/dev/fifo.1a
-
- I used the binaries you posted, but I think its this problem of the "grass5"
- directory I have versus the "grass-5.0b" that d.mon is looking for.
- Do you remember how to fix this?
-
-Answer (updated 30 Nov 2000):
- Yes, just go to a shell:
-
- cd /usr/local; ln -s grass5 grass-5.0b;
-
- That should do it...
-
-<hr>
+<hr width="100%">
Paint driver notes:
1) If you have local paint devices, you will need
@@ -258,20 +327,16 @@
***********************************************
-If you experience any problems, please email
+If you experience any problems, you may email
us at:
- jeshua at SierraMaps.com
- Jeshua Lacock
+ <a href="mailto://GrassDownload@OpenOSX.com">GrassDownload at OpenOSX.com</a>
+ <a href="http://openosx.com/grass/">http://OpenOSX.com/grass/</a>
+ Jeshua Lacock, OpenOSX
-Bug report form: <a href=../../../bugtracking/bugreport.html>go here!</a>
-
-
-
-Get this <a href=README.html>file.</a>
-
-Updated 2002/03/22
+Bug report form: <a href="../../../bugtracking/bugreport.html">go here!</a>.
-</pre>
+Get this <a href="README.html">file.</a>
-</HTML>
+Updated 2002/10/15</pre>
+</body></html>
\ No newline at end of file
More information about the grass-web
mailing list