[GRASSweb-list]william: web/platforms/macgrass geotiff122patches.tar.gz,NONE,1.1 jpegpatch.tar.gz,NONE,1.1 libtool135update.tar.gz,NONE,1.1 fftw.php,1.1,1.2 gdal.php,1.1,1.2 geos.php,1.1,1.2 geotiff.php,1.1,1.2 giflib.php,1.1,1.2 grass.php,1.1,1.2 grassalt

grass at intevation.de grass at intevation.de
Tue Jul 19 01:06:43 EDT 2005


Author: william

Update of /grassrepository/web/platforms/macgrass
In directory doto:/tmp/cvs-serv4293/macgrass

Modified Files:
	fftw.php gdal.php geos.php geotiff.php giflib.php grass.php 
	grassalt.php grassinstall.php hdf.php lesstif.php libgd.php 
	libjasper.php libjpeg.php libpng.php libtiff.php mrsid.php 
	mysql.php netcdf.php ogdi.php postgresql.php proj4.php 
	shell.php tcltk.php x11.php 
Added Files:
	geotiff122patches.tar.gz jpegpatch.tar.gz 
	libtool135update.tar.gz 
Log Message:
Fine-tune Mac build instructions

--- NEW FILE: geotiff122patches.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: jpegpatch.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: libtool135update.tar.gz ---
(This appears to be a binary file; contents omitted.)

Index: fftw.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/fftw.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fftw.php	16 Jul 2005 20:25:01 -0000	1.1
+++ fftw.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Information</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>FFTW</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>libfftw version:</b> 2.1.5<br>

Index: gdal.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/gdal.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gdal.php	16 Jul 2005 20:25:01 -0000	1.1
+++ gdal.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GDAL/OGR</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>GDAL/OGR</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>GDAL version:</b> 1.2.6<br>
@@ -30,11 +30,11 @@
 
 <p>The more difficult, but useful, option is with GRASS raster support.  This requires GRASS 6 to be installed.  But GRASS also requires GDAL - a circular problem.  So, this is what we do:</p>
 
-<blockquote>Install GDAL without GRASS, to get things started.</blockquote>
+<blockquote>Install GDAL without GRASS, to get things started.  That is, leave out the <code>--with-grass=</code> option below.</blockquote>
 
 <blockquote>Install <a href="grass.php">GRASS</a> with GDAL support.  This works because GRASS doesn't care if GDAL has GRASS support, tho the r.out.gdal module will fail if you try it at this point.</blockquote>
 
-<blockquote>Then install GDAL + GRASS by adding the <code> --with-grass=</code> option below.</blockquote>
+<blockquote>Then rebuild and install GDAL + GRASS by adding the <code> --with-grass=</code> option below.  Before building GDAL this second time, run a <code>make distclean</code> to clean out the source.</blockquote>
 
 <p>Once you have completed that cycle, you shouldn't need to go back to 'GDAL no GRASS' when updating either GDAL or GRASS.</p>
 
@@ -60,7 +60,7 @@
 <tr valign="top"><td>MrSID Geo DSDK</td>
 <td><code> --with-mrsid=</code><br>
 and drag the MrSID Geo DSDK folder from the Finder to the Terminal window.</td></tr>
-<tr><td colspan="2">&nbsp;&nbsp;NOTE: The MrSID DSDK does <b>NOT</b> work in Tiger yet</td></tr>
+<tr><td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;NOTE: The MrSID DSDK does <b>NOT</b> work in Tiger yet</td></tr>
 
 <tr valign="top"><td>NetCDF</td>
 <td><code> --with-netcdf=</code><br>

Index: geos.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/geos.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- geos.php	16 Jul 2005 20:25:01 -0000	1.1
+++ geos.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GEOS</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>GEOS</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>GEOS version:</b> 2.1.3<br>

Index: geotiff.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/geotiff.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- geotiff.php	16 Jul 2005 20:25:01 -0000	1.1
+++ geotiff.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GeoTIFF</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>GeoTIFF</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>libgeotiff version:</b> 1.2.2<br>
@@ -29,7 +29,7 @@
 <blockquote><code>$ cd <i>path_to_folder_containing_geotiff_source.tar.gz</i><br>
 $ tar -zxf libgeotiff-1.2.2.tar.gz</code></blockquote>
 
-<p>Grab these <a href="geotiff122patches.zip">patches</a>.  Unzip them into the geotiff source folder (make sure they aren't in a subfolder after unzipping).  Note: these are made for geotiff 1.2.2, and fix Mac OS X dynamic library building.</p>
+<p>Grab these <a href="geotiff122patches.tar.gz">patches</a>.  Unzip them into the geotiff source folder (make sure they aren't in a subfolder after unzipping).  Note: these are made for geotiff 1.2.2, and fix Mac OS X dynamic library building.</p>
 
 <p>Then continue:</p>
 

Index: giflib.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/giflib.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- giflib.php	16 Jul 2005 20:25:01 -0000	1.1
+++ giflib.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GIFlib</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>giflib/libungif</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>giflib/libungif version:</b> 4.1.3<br>

Index: grass.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/grass.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- grass.php	16 Jul 2005 20:25:01 -0000	1.1
+++ grass.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GRASS</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>GRASS</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>GRASS version:</b> 6.0.0<br>
@@ -29,7 +29,7 @@
 
 <p>A few patches if you are building on Mac OS X Tiger (GRASS 6.0.0 only!  hopefully it will be fixed in 6.0.1): edit lib/gmath/numerical.h.  Delete line 47.  There is also a line 12 in imagery/i.cca/globals.h to delete.  And in raster/r.grow2/main.c, delete lines 11-14 (the abs() function).  You're out of luck for r.terraflow in Tiger, the patch necessary is a bit too involved (I just waited until it was fixed in CVS).  Maybe that fix will make it into 6.0.1.</p>
 
-<p>One patch you must do. (Still hasn't been fixed with the 6.0.0 release!)  It seems the 6.0 libraries build with the embedded lib path pointing to the source copies.  In most cases this isn't a big deal, but if you build inside your home/Documents folder, or other similarly restricted folder, MapServer won't run if the patched GDAL + GRASS is used.  Also, another recent change breaks the i.orthophoto modules.  So, here's what to do in configure.</p>
+<p>One patch you must do. (Still hasn't been fixed with the 6.0.0 release!)  It seems the 6.0 libraries build with the embedded lib path pointing to the source copies.  In most cases this isn't a big deal, but if you build inside your home/Documents folder, or other similarly restricted folder, MapServer won't run if the patched GDAL + GRASS is used.  So, here's what to do in configure.</p>
 
 <p>Edit configure.  Around line 2200 find a block that starts with <code>Rhapsody-*|Darwin-*)</code> (it's the first one in the file).  Change the SHLIB_LD line to:</p>
 
@@ -39,7 +39,7 @@
 
 <blockquote><code>SHLIB_CFLAGS="-fno-common"</code></blockquote>
 
-<p>Another change you can make if you like.  If you installed libtiff with LZW support, you can enable GRASS to write LZW compressed TIFFs.  In raster/r.out.tiff/r.out.tiff.c, change line 95 to read:</p>
+<p>Another change you can make if you like.  If you installed libtiff with LZW support, you can enable GRASS to write LZW compressed TIFFs (reading them requires no changes). This is independent of r.out.gdal's ability to export LZW compressed TIFFs.  In raster/r.out.tiff/r.out.tiff.c, change line 95 to read:</p>
 
 <pre>compopt->options        = "none,packbit,deflate,lzw";</pre>
 

Index: grassalt.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/grassalt.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- grassalt.php	16 Jul 2005 20:25:01 -0000	1.1
+++ grassalt.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - GRASS Alternate</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>GRASS Alternate</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>GRASS version:</b> 6.0.0<br>
@@ -29,7 +29,7 @@
 
 <p>A few patches if you are building on Mac OS X Tiger (GRASS 6.0.0 only!  hopefully it will be fixed in 6.0.1): edit lib/gmath/numerical.h.  Delete line 47.  There is also a line 12 in imagery/i.cca/globals.h to delete.  And in raster/r.grow2/main.c, delete lines 11-14 (the abs() function).  You're out of luck for r.terraflow in Tiger, the patch necessary is a bit too involved (I just waited until it was fixed in CVS).  Maybe that fix will make it into 6.0.1.</p>
 
-<p>One patch you must do. (Still hasn't been fixed with the 6.0.0 release!)  It seems the 6.0 libraries build with the embedded lib path pointing to the source copies.  In most cases this isn't a big deal, but if you build inside your home/Documents folder, or other similarly restricted folder, MapServer won't run if the patched GDAL + GRASS is used.  Also, another recent change breaks the i.orthophoto modules.  So, here's what to do in configure.</p>
+<p>One patch you must do. (Still hasn't been fixed with the 6.0.0 release!)  It seems the 6.0 libraries build with the embedded lib path pointing to the source copies.  In most cases this isn't a big deal, but if you build inside your home/Documents folder, or other similarly restricted folder, MapServer won't run if the patched GDAL + GRASS is used.  So, here's what to do in configure.</p>
 
 <p>Edit configure.  Around line 2200 find a block that starts with <code>Rhapsody-*|Darwin-*)</code> (it's the first one in the file).  Change the SHLIB_LD line to:</p>
 
@@ -39,7 +39,7 @@
 
 <blockquote><code>SHLIB_CFLAGS="-fno-common"</code></blockquote>
 
-<p>Another change you can make if you like.  If you installed libtiff with LZW support, you can enable GRASS to write LZW compressed TIFFs.  In raster/r.out.tiff/r.out.tiff.c, change line 95 to read:</p>
+<p>Another change you can make if you like.  If you installed libtiff with LZW support, you can enable GRASS to write LZW compressed TIFFs (reading them requires no changes). This is independent of r.out.gdal's ability to export LZW compressed TIFFs.  In raster/r.out.tiff/r.out.tiff.c, change line 95 to read:</p>
 
 <pre>compopt->options        = "none,packbit,deflate,lzw";</pre>
 

Index: grassinstall.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/grassinstall.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- grassinstall.php	16 Jul 2005 20:25:01 -0000	1.1
+++ grassinstall.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Main</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h1 align="Center">Installation Main</h1>
 <p align="Center"><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>NOTE:</b> These instructions are for GRASS v6.0.0, but should work with little or no change for GRASS CVS.</p>
@@ -35,7 +35,7 @@
 
 <h3>General Requirements</h3>
 
-<p><b>Mac OS X 10.3 or 10.4</b>.  You should have installed the BSD support with a custom install (it's default now in 10.3).  You can use Mac OS X Server if you like, but you should install X11 (it's not a part of a normal Server installation).</p>
+<p><b>Mac OS X 10.3 (Panther) or 10.4 (Tiger)</b>.  You should have installed the BSD support with a custom install (it's default now in 10.3).  It is recommended to update Panther to 10.3.9 and keep up on security updates.  You can use Mac OS X Server if you like, but you should install X11 (it's not a part of a normal Server installation).</p>
 
 <p>Apple's <b><a href="http://www.apple.com/software">X11</a></b> + X11 SDK (for 10.3+, the X11 SDK is included in Xcode).  Needed to use the Tcl/Tk GUI and to run NVIZ in GRASS.  Tcl/Tk Aqua is mostly supported, but to get full Tcl/Tk support, X11 is best, for now.  Here are a few <a href="x11.php">notes on setting up X11</a>.</p>
 
@@ -43,27 +43,27 @@
 
 <p><b>Admin access</b> to your Mac is recommended.  But, it is possible to install all this in another location without admin privileges, like your home folder.</p>
 
-<p>A <b>text editor</b>.  If you can afford it, <a href="http://www.barebones.com/">BBEdit</a> is your best choice.  Their free TextWrangler also works well.  Both have command-line tools to open a file in their applications.  Tex-Edit Plus is also a good choice.  If you're up to it, you're welcome to the command line editors like pico.</p>
+<p>A <b>text editor</b>.  If you can afford it, <a href="http://www.barebones.com/">BBEdit</a> is your best choice.  Their free TextWrangler also works well.  Both have command-line tools to open a file in their applications, and both can easily open invisible (dot) files, and edit administrator-privileged files.  Tex-Edit Plus is also a good choice, but it's hard to open invisible files.  If you're up to it, you're welcome to the command line editors like pico.</p>
 
 <p><a href="shell.php">Setup your shell</a> for easy user command access.</p>
 
 <h3>Notes on the Command Line (CLI)</h3>
 
-<p>In the instructions, everything after the shell prompt until the next prompt should be typed on a single line followed by a &lt;Return&gt;.</p>
+<p>In the instructions, everything after the shell prompt until the next prompt should be typed on a single line followed by a &lt;Return&gt;.  Text in <i>italics</i> should not be typed literally, but fill in with appropriate text as explained in the intructions or by the label.</p>
 
 <p>Where a command needs a full path to something, you can save a lot of typing by dragging the folder or file from a Finder window to the Terminal. The full path will be inserted where the cursor is. Quotes are not needed around the path in this case, special characters are properly escaped.</p>
 
 <p>Generally, a lot of text scrolls by after starting 'make'. You can usually just ignore this - as long as make doesn't end with an error message (warnings are OK), you can proceed to 'make install' and it should have been successful. For problems in 'configure', the output in the Terminal window often doesn't have enough about why, you should look in the file 'config.log' for more details.  REPEAT: look in config.log if there are configure errors.</p>
 
-<p>Everything is installed in <code>/usr/local</code>.  This is hidden on Mac systems, but you get easily get to it in the Finder by <b>Go-&gt;Go to folder</b>.  If you want to avoid using admin provileges (or can't), you can install most of this by adding <code>--prefix=<i>path_to_install_folder</i></code> to the configure step.  A couple libraries require patches instead <b>[*** need to find these ***]</b>.
+<p>Everything is installed in <code>/usr/local</code>.  This is hidden on Mac systems, but you get easily get to it in the Finder by <b>Go-&gt;Go to folder</b>.</p>
 
 <p>When installing in the default <code>/usr/local</code>, you will be asked to <code>sudo</code> some commands, like installing.  After entering a sudo'd command it will ask you for an admin password.  This is your user password, and you should have admin privileges to your Mac.  Just type the password when asked by the Terminal.  But do pay attention, nothing here should be dangerous or a security problem, and Macs are known for being virus-free, but it IS possible.</p>
 
 <p>Specific versions are listed, but unless there are major changes, later versions can be used.  You just need to make small adjustments in the commands given here for a new version.</p>
 
-<h3>Dependencies required</h3>
+<h3>Build Steps</h3>
 
-<p>Note: some of these may not be used by GRASS, at least not directly, but are included for maximum flexibility.</p>
+<p>Notes: some of these may not be used by GRASS, at least not directly, but are included for maximum flexibility.  When updating GRASS or most of the libraries, you don't have to rebuild everything else.  Some libraries (MrSID, NetCDF, HDF) require you to rebuild anything that uses them directly (GDAL).</p>
 
 <ol>
 <li><a href="giflib.php">giflib/libungif</a>.</li>
@@ -83,11 +83,8 @@
 <li><a href="lesstif.php">LessTif</a> (recommended).  Used for the xganim module.</li>
 <li><a href="postgresql.php">PostGreSQL + PostGIS</a> (recommended).  Full vector feature support.</li>
 <li><a href="gdal.php">GDAL/OGR</a>.  Make sure to install with GRASS support to be able to export raster data with GDAL.</li>
+<li><big><a href="grass.php">GRASS</a>.</big>  This is what you've been waiting for!  The instructions are for GRASS 6.0.x, but should work just as well for GRASS 6.1 CVS.</li>
 </ol>
-
-<h3>GRASS</h3>
-
-<p>Source: <b><a href="/download/index.php">GRASS</a></b>.  Get the release source for GRASS 6.0.  <a href="grass.php">Installation instructions</a>.</p>
 
 <h3>Alternative Install</h3>
 

Index: hdf.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/hdf.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hdf.php	16 Jul 2005 20:25:01 -0000	1.1
+++ hdf.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - HDF</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>HDF</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>HDF version:</b> 4.2r1<br>
@@ -30,7 +30,9 @@
 <blockquote><code>$ cd <i>path_to_folder_containing_hdf_source.tar.gz</i><br>
 $ tar -zxf HDF4.2r1.tar.gz</code></blockquote>
 
-<p>There is one configuration patch to do.  Edit <code>configure</code>.  Find a line that says <code>DEFS=-DHAVE_CONFIG_H</code> and change it to <code>DEFS=&quot;-DHAVE_CONFIG_H -DHAVE_NETCDF&quot;</code>.</p>
+<p>There is one configuration patch to do.  Edit <code>configure</code>.  Find a line that says <code>DEFS=-DHAVE_CONFIG_H</code> and change it to:</p>
+
+<p><code>DEFS=&quot;-DHAVE_CONFIG_H -DHAVE_NETCDF&quot;</code>.</p>
 
 <p>Then continue:</p>
 

Index: lesstif.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/lesstif.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lesstif.php	16 Jul 2005 20:25:01 -0000	1.1
+++ lesstif.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - LessTif</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>LessTif</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>LessTif version:</b> 0.94.4<br>

Index: libgd.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/libgd.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libgd.php	16 Jul 2005 20:25:01 -0000	1.1
+++ libgd.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Information</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <p>Original author: Scott Mitchell; redone by: William Kyngesburye</p>
 <p><b>In progress</b> - 2005-7-10</p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <h1 align="Center">Mac Software Installation - GD</h1>

Index: libjasper.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/libjasper.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libjasper.php	16 Jul 2005 20:25:01 -0000	1.1
+++ libjasper.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - JasPer</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
-<h1>JasPer</h1>
+<h2>JasPer</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>JasPer version:</b> 1.701.0<br>

Index: libjpeg.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/libjpeg.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libjpeg.php	16 Jul 2005 20:25:01 -0000	1.1
+++ libjpeg.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - JPEG</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>JPEG</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>libjpeg version:</b> 6b<br>
@@ -27,7 +27,7 @@
 <blockquote><code>$ cd <i>path_to_folder_containing_libjpeg_source_tar_gz</i><br>
 $ tar -zxf jpegsrc.v6b.tar.gz</code></blockquote>
 
-<p>Then, you need to update the <a href="libtool135update.zip">libtool</a> file in the source.  This contains a couple Mac OS X patches to this version of libtool.  Also, download this <a href="jpegpatch.zip">patch</a> for the makefile and unzip it into the source folder.</p>
+<p>Then, replace ltconfig and ltmain.sh with these <a href="libtool135update.tar.gz">patched</a> versions.  They contain a couple Mac OS X patches to the version of libtool in the kpeg source.  Also, download this <a href="jpegpatch.tar.gz">patch</a> for the makefile and unzip it into the source folder.</p>
 
 <p>Then continue:</p>
 

Index: libpng.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/libpng.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libpng.php	16 Jul 2005 20:25:01 -0000	1.1
+++ libpng.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,23 +6,23 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - PNG</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>PNG</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>libpng version:</b> 1.2.8<br>
 <a href="http://www.libpng.org/pub/png/libpng.html">libpng.org</a></p>
 
-<p><font color="#FF0000">Important note:</font> There are some security holes in earlier versions of linpng.  These have been fixed starting with 1.2.6rc1.  Please make sure to get the latest.</p>
+<p><font color="#FF0000">Important note:</font> There are some security holes in earlier versions of libpng.  These have been fixed starting with 1.2.6rc1.  Please make sure to get the latest.</p>
 
 <p>libpng doesn't use a configure script, so there's a bit of editing to do.  In a Terminal type:</p>
 
@@ -31,7 +31,7 @@
 
 <p>From the scripts folder, copy the file <i>makefile.darwin</i> to the top level of the source (ie directly inside <code>libpng-1.2.8</code>), and remove the </i>.darwin</i> extension.  Now edit that makefile.  Near the top, change the lines that set ZLIBLIB and ZLIBINC to:</p>
 
-<code>ZLIBLIB=/usr/lib
+<code>ZLIBLIB=/usr/lib<br>
 ZLIBINC=/usr/include</code>
 
 <p>And farther down, change the MANPATH line to:</p>

Index: libtiff.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/libtiff.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libtiff.php	16 Jul 2005 20:25:01 -0000	1.1
+++ libtiff.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - TIFF</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
-<h2>TIFF</h1>
+<h2>TIFF</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>libtiff version:</b> 3.7.3<br>

Index: mrsid.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/mrsid.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mrsid.php	16 Jul 2005 20:25:01 -0000	1.1
+++ mrsid.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - MrSID</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
-<h2>MrSID (Geo DSDK)</h1>
+<h2>MrSID (Geo DSDK)</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>Geo_DSDK version:</b> 5.0.6.955<br>

Index: mysql.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/mysql.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mysql.php	16 Jul 2005 20:25:01 -0000	1.1
+++ mysql.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Information</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <p>Original author: Scott Mitchell; redone by: William Kyngesburye</p>
 <p><b>In progress</b> - 2005-7-10</p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <h1 align="Center">Mac Software Installation - MySQL</h1>

Index: netcdf.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/netcdf.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- netcdf.php	16 Jul 2005 20:25:01 -0000	1.1
+++ netcdf.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - NetCDF</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>NetCDF</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>NetCDF version:</b> 3.6.0p1<br>

Index: ogdi.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/ogdi.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ogdi.php	16 Jul 2005 20:25:01 -0000	1.1
+++ ogdi.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - OGDI</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>OGDI</h2>
-<p align="Center"><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p align="Center"><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>OGDI version:</b> 3.1.5<br>
@@ -44,6 +44,8 @@
 <p>to</p>
 
 <p><code>if ((temp = (char *) malloc(strlen(libname)+10)) == NULL)</code></p>
+
+<p>With this patch, you will be able to use the driver name as specified in the GDAL format documentation for OGDI (ie: gltp:/vrf).  Without it, you would have to type the whole library name for the driver (ie: gltp:/libvrf.dylib).
 
 <p>Then edit <code>config/darwin.mak</code>.  Add these lines after <code>BIG_ENDIAN = 1</code>:</p>
 

Index: postgresql.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/postgresql.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- postgresql.php	16 Jul 2005 20:25:01 -0000	1.1
+++ postgresql.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,17 +6,17 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - PostgreSQL + PostGIS</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>PostgreSQL + PostGIS</h2>
-<p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>PostgreSQL version:</b> 8.0.3<br>
@@ -36,7 +36,7 @@
 $ tar -zxf postgresql-8.0.3.tar.gz<br>
 $ cd postgresql-8.0.3</code></blockquote>
 
-<p>If you are building with a GCC version below 3.3 (use 'gcc_select' to find out), you shouldn't unless you are on Mac OS 10.2, you may need to add -lstdc++ to LDFLAGS.  Otherwise you will get a link error in PostGIS after PostgreSQL succeeds.  Like so:</p>
+<p>If you are building with a GCC version below 3.3 (use 'gcc_select' to find out), you shouldn't unless you are on Mac OS 10.2, you may need to add <code>-lstdc++</code> to LDFLAGS.  Otherwise you will get a link error in PostGIS after PostgreSQL succeeds.  Like so:</p>
 
 <blockquote><code>$ export LDFLAGS=-lstdc++</code></blockquote>
 
@@ -46,7 +46,7 @@
 % make<br>
 % sudo make install</code></blockquote>
 
-<h3>PostGIS</h3>
+<h3>for PostGIS</h3>
 
 <blockquote><code>$ cd <i>path_to_folder_containing_postgis_source.tar.gz</i><br>
 $ tar -zxf postgis-1.0.2.tar.gz</code></blockquote>

Index: proj4.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/proj4.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- proj4.php	16 Jul 2005 20:25:01 -0000	1.1
+++ proj4.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,31 +6,31 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - PROJ.4</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>PROJ.4</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>PROJ.4 version:</b> 4.4.9<br>
 <b>datum version:</b> 1.3<br>
 <a href="http://www.remotesensing.org/proj/">remotesensing.org</a></p>
 
-<p>NOTE: Make sure you have the latest PROJ source.  PostGIS may have problems otherwise.  Also, make sure to grab the <code>proj-datumshift</code>> file for useful datums for the U.S., Canada and New Zealand.</p>
+<p>NOTE: Make sure you have the latest PROJ source.  PostGIS may have problems otherwise.  Also, make sure to grab the <code>proj-datumshift</code> file for useful datums for the U.S., Canada and New Zealand.</p>
 
 <p>In a Terminal type:</p>
 
 <blockquote><code>$ cd <i>path_to_folder_containing_proj4_source.tar.gz</i><br>
 $ tar -zxf proj-4.4.9.tar.gz</code></blockquote>
 
-<p>Then unzip the proj-datumshift zip into the proj/nad folder.  And continue:</p>
+<p>Then unzip the proj-datumshift zip into the <code>proj/nad</code> folder.  And continue:</p>
 
 <blockquote><code>$ cd proj-4.4.9<br>
 $ ./configure --mandir=/usr/local/share/man<br>

Index: shell.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/shell.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- shell.php	16 Jul 2005 20:25:01 -0000	1.1
+++ shell.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,28 +6,27 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Shell Setup</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
-<hr width="90%" noshade="noshade" size="3">
+<h2>Shell Setup</h2>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
-<h1 align="Center">Mac OS X - Shell Setup</h1>
-
-<p>The default startup files for the Terminal don't allow you to easily run applications from /usr/local/bin or ~/bin (Home /bin).  To change this, and set up some other basic shell stuff, you need to change your user startup scripts.  If any of these files already exist in your home folder (use <code>ls -a</a> in a new Terminal), use BBEdit to add the quoted lines to the appropriate files.  You only need to do this once.</p>
+<p>The default startup files for the Terminal don't allow you to easily run applications from /usr/local/bin or ~/bin (Home /bin).  To change this, and set up some other basic shell stuff, you need to change your user startup scripts.  If any of these files already exist in your home folder (use <code>ls -a</a> in a new Terminal), use BBEdit or TextWrangler to add the quoted lines to the appropriate files.  You only need to do this once.</p>
 
-<p>Open a Terminal and type the following (in bold) (in a new terminal you should be in your Home folder, stay there):</p>
+<p>Open a Terminal and type the following (in a new terminal you should be in your Home folder, stay there):</p>
 
-<p><b>For bash (default shell starting with Mac OS 10.3):</b></p>
+<p><b>For bash (default shell starting with Mac OS 10.3)</b> (fill in your login username in the PATH statement):</p>
 
 <blockquote>
 <code>
-$ echo "export PATH=/Users/<i>your_user_name</i>/bin:/usr/local/bin:/usr/local/sbin:\$PATH" &gt; .bash_profile<br>
+$ echo "export PATH=/Users/<i>[your_user_name]</i>/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:\$PATH" &gt; .bash_profile<br>
 $ chmod 644 .bash_profile<br>
 </code>
 </blockquote>

Index: tcltk.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/tcltk.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tcltk.php	16 Jul 2005 20:25:01 -0000	1.1
+++ tcltk.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,25 +6,25 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
   <title>GRASS GIS on Mac OS X - Tcl/Tk</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
 <h2>Tcl/Tk (UNIX)</h2>
 <p><i>Last change: 2005/7/16</i></p>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
 <p><b>Tcl/Tk version:</b> 8.4.11<br>
 <a href="http://www.tcl.tk/">Tcl/Tk</a></p>
 
-<p>This is for an X11/XWindows build of Tcl/Tk.  Apple provides a fairly current Aqua-based version that doesn't include Tk or the Wish shell (on Panther at least), and it's sort of a mix of unix and framework.  (tcltkgrass is currently being revamped, and may soon support tcltk aqua, tho NVIZ will probably continue to require an X11 Tcl/Tk.)  I chose to install this in the X11 directory, so Apple system updates don't mess it up.</p>
+<p>This is for an X11/XWindows build of Tcl/Tk.  Apple provides a fairly current Aqua-based version that doesn't include Tk or the Wish shell (Tiger now has Wish), and it's sort of a mix of unix and framework.  (Tcltkgrass is currently being revamped, and may support Tcl/Tk Aqua in the future, but NVIZ will probably continue to require an X11 Tcl/Tk.)  I chose to install this in the X11 directory, so Apple system updates don't mess it up.</p>
 
-<p>There are two parts to the source: tcl and tk are separate.  Put both tarballs in the same folder.  In a Terminal type:</p>
+<p>There are two parts to the source: Tcl and Tk are separate.  Put both tarballs in the same folder.  In a Terminal type:</p>
 
 <blockquote><code>$ cd <i>path_to_folder_containing_tcltk_sources.tar.gz</i><br>
 $ tar -zxf tcl8.4.11-src.tar.gz<br>

Index: x11.php
===================================================================
RCS file: /grassrepository/web/platforms/macgrass/x11.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- x11.php	16 Jul 2005 20:25:01 -0000	1.1
+++ x11.php	19 Jul 2005 05:06:41 -0000	1.2
@@ -6,38 +6,28 @@
   <DEFANGED_meta content="William Kyngesburye" name="Author">
   <DEFANGED_meta content="GRASS, GIS, Macintosh" name="KeyWords">
 
-  <DEFANGED_link href="../sitestyle.css" type="text/css" rel="stylesheet">
-  <title>GRASS GIS on Mac OS X - Information</title>
+  <DEFANGED_link href="/sitestyle.css" type="text/css" rel="stylesheet">
+  <title>GRASS GIS on Mac OS X - X11 Setup</title>
 </head>
 <body>
 
 <center>
-<hr width="90%" noshade="noshade" size="3">
+<hr width="100%" noshade="noshade" size="3">
 <h1>GRASS GIS on Mac OS X</h1>
-<p>Original author: Scott Mitchell; redone by: William Kyngesburye</p>
-<p><b>In progress</b> - 2005-7-10</p>
-<hr width="90%" noshade="noshade" size="3">
+<h2>X11 Setup</h2>
+<p><i>Last change: 2005/7/18</i></p>
+<hr width="100%" noshade="noshade" size="3">
 </center>
 
-<h1 align="Center">Mac Software Setup - X11</h1>
-
-<p align="Center"><i>Last change: 2004/12/20</i></p>
-
 <h3>A few setup notes for Apple's X11</h3>
 
 <p>- Add X11 as a startup item to your account preferences.  It takes minimal memory and processor when idle, so there's no harm leaving it running.  Another option would be to create an AppleScript to start X11 and Terminal together.</p>
 
 <p>- As installed, Apple's X11 starts up an xterm when X11 is started.  I prefer the Mac OS X Terminal, so this is annoying.  Edit <code>/etc/X11/xinit/xinitrc</code>.  Add a # to the beginning of the line <code>xterm &</code> (or delete it if you like).</p>
 
-<p>- When using the Terminal (instead of an xterm in X11), add the following to your <code>.cshrc</code> (for the tcsh shell).  This will enable apps started in Terminal to open graphic displays in an X11 window.  This only works in a single login environment.</p>
+<p>- When using the Terminal (instead of an xterm in X11), and you use the old tcsh, add the following to your <code>.cshrc</code>.  This will enable apps started in Terminal to open graphic displays in an X11 window.  This only works in a single login environment.  The bash shell works without this.</p>
 
 <blockquote><code>setenv DISPLAY :0.0</code></blockquote>
-
-<p>NOTE: I've found info saying that DISPLAY should never be set in login scripts.  This is because in a multi-user environment, you never know who gets which display number.  And there's no need anyways, the X11 startup takes care of this - DISPLAY is set automatically.  Well, that's what they say - maybe it only works for an xterm.</p>
-
-<p>Also, X11's bin folder is not in the bin path by default, so you must add it.  Add this to your ~/.login:</p>
-
-<blockquote><code>set path = ( $path /usr/X11R6/bin )</code></blockquote>
 
 <!-- FOOTER -->
 <hr>





More information about the grass-web mailing list