[GRASSweb-list]markus: web/grass61/binary/linux/snapshot README.html,NONE,1.1

grass at intevation.de grass at intevation.de
Thu Apr 14 04:58:11 EDT 2005

Author: markus

Update of /grassrepository/web/grass61/binary/linux/snapshot
In directory doto:/tmp/cvs-serv3414

Added Files:
Log Message:
added GRASS 6.1 structure

--- NEW FILE: README.html ---
   <DEFANGED_meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <DEFANGED_meta name="Author" content="GRASS Development Team/MN">
   <TITLE>GRASS 6.1.cvs experimental GNU/Linux binaries</TITLE>
<H1>GRASS 6.1.cvs experimental GNU/Linux binaries</H1>

<h2>How to install the Linux (x86/Intel) binary code for
GRASS 6.1.cvs EXPERIMENTAL in gzipped tar format.</h2>

<b>Note: Occasionally, weekly snapshots may not work properly; in 
case, please revert to a previous version.</b>
You can install and use GRASS 6 in parallel to GRASS 5.0/5.4.

  <li>get the file  <br>grass-6.1.cvs-ARCH-DD_MM_YYYY.tar.gz</li>
  <li>get the installation script <br> grass-6.1.cvs-ARCH-DD_MM_YYYY-install.sh</li>
  <li>ARCH is the architecture of the platform (e.g. i686-pc-linux-gnu)</li>
  <li>DD-MM-YYYY is the date of the release (e.g. 21_06_2004)</li>
For installation, run the install script with --help option:<br>

  <li>sh grass-6.1.cvs-ARCH-DD_MM_YYYY-install.sh --help  </li>
  <li>./grass-6.1.cvs-ARCH-DD_MM_YYYY-install.sh --help  </li>

Or without help, directly:<br>
  <li>sh grass-6.1.cvs-ARCH-DD_MM_YYYY-install.sh grass61-DD-MM-YYYY-arc-bin.tar.gz</li>
  <li>./grass-6.1.cvs-ARCH-DD_MM_YYYY-install.sh grass61-DD-MM-YYYY-arc-bin.tar.gz</li>
The following libraries and programs are required:
  <li>libpq (e.g. libpq3 for Debian, libpq3-7.3.4-2mdk.i586.rpm for Mandrake)  </li>
  <li>libproj (e.g. proj for Debian, libproj0-4.4.7-1mdk.i586.rpm for Mandrake)  </li>
  <li>libgdal (e.g. libgdal1 for Debian, libgdal0-1.1.9-2mdk.i586.rpm for Mandrake)  </li>

and, recommended, also:
  <li>tcl (e.g.tcl8.3 for Debian, tcl-8.3.3-21mdk.i586.rpm for Mandrake or tcl8.4)</li>
  <li>tk (e.g. tk8.3 for Debian, tk-8.3.3-21mdk.i586.rpm for Mandrake or tk8.4)</li>
  <li>gdal tools (e.g. gdal-bin for Debian, gdal-1.1.9-2mdk.i586.rpm for Mandrake)</li>
  <li>libfftw (must be fft2, e.g.  fftw2 for Debian, libfftw2-2.1.5-2mdk.i586.rpm for Mandrake)</li>

In some distributions (e.g. Debian, Mandrake) the names of libraries are slightly different.
Check, and if there is no file of the name:<br>
then you should type:<br><br>
    ln -s /usr/lib/libtk.so /usr/lib/libtk.so.0<br>
    ln -s /usr/lib/libtcl.so /usr/lib/libtcl.so.0<br>
    ln -s /usr/lib/libpq.so.3 /usr/lib/libpq.so.2<br>
    ln -s /usr/lib/libgdal.1.1.so /usr/lib/libgdal.so.1<br>
    ln -s /usr/lib/libfftw.so.2 /usr/lib/libdfftw.so.2<br>
As a first argument, you should put the names of the libraries you have in your distribution.<br>
Instead of (or in addition to) libtk.so and libtcl.so, you might have
libtk8.3.so and libtcl8.3.so (or libtk8.4.so and libtcl8.4.so). In this case, type instead:<br><br>
    ln -s /usr/lib/libtk8.3.so /usr/lib/libtk.so.0<br>
    ln -s /usr/lib/libtcl8.3.so /usr/lib/libtcl.so.0<br>
<h3>Debian NOTES:</h3>
In Debian Sarge, NVIZ does not work with Tcl/Tk8.4 as it is provided. Please install tcl8.3 and tk8.3 instead 
(or in addition to; 8.4 and 8.3 can live side by side), and link to this (not to 8.4).<br>
Also, it is necessary to tell the system the location of grass libraries:<br><br>
	vi /etc/ld.so.conf<br>
	Add grass path, e.g.:<br>

<h1>How to uninstall</h1>
sh /usr/local/bin/grass61uninstall.sh<br>
If it's not there, then:<br>
rm -rf /usr/local/bin/grass61<br>
rm -rf /usr/local/bin/grass61-DD-MM-YYYY<br>
rm -rf /usr/local/grass61-DD-MM-YYYY<br>
This snapshot was configured as follows:
CFLAGS="-O3" LDFLAGS="-s" ./configure \
  --with-libs=/usr/local/lib \
  --with-gdal=/usr/local/bin/gdal-config \
  --with-postgres-includes=/usr/include/pgsql --with-postgres-lib=/usr/lib \
  --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql \
  --with-fftw \
  --with-proj \
  --with-cxx \
  --with-motif \
  --with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include \
  --with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib \
  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
  --with-glw \

Get this <a href=README.html>file.</a>
Please help us and report bugs.<br>
<a href=http://grass.itc.it/bugtracking/bugreport.html>Bug report form</a>

More information about the grass-web mailing list