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

grass at intevation.de grass at intevation.de
Fri Jan 14 13:11:03 EST 2005


Author: markus

Update of /grassrepository/web/grass60/binary/linux/snapshot
In directory doto:/tmp/cvs-serv30248

Added Files:
	README.html 
Log Message:
added

--- NEW FILE: README.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
 <HEAD>
   <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.0.CVS experimental GNU/Linux binaries</TITLE>
 </HEAD>
 <BODY>
<H1>GRASS 6.0.CVS experimental GNU/Linux binaries</H1>

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

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

<h3>Installation:</h3>
<ol>
  <li>get the file  <br>grass-6.0.cvs-ARCH-DD_MM_YYYY.tar.gz</li>
  <li>get the installation script <br> grass-6.0.cvs-ARCH-DD_MM_YYYY-install.sh</li>
</ol>
<h4>where</h4>
<ul>
  <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>
</ul>
<P>
For installation, run the install script with --help option:<br>

    <ul>
  <li>sh grass-6.0.cvs-ARCH-DD_MM_YYYY-install.sh --help  </li>
  or
  <li>./grass-6.0.cvs-ARCH-DD_MM_YYYY-install.sh --help  </li>
</ul><br>

Or without help, directly:<br>
    <ul>
  <li>sh grass-6.0.cvs-ARCH-DD_MM_YYYY-install.sh grass60-DD-MM-YYYY-arc-bin.tar.gz</li>
  or
  <li>./grass-6.0.cvs-ARCH-DD_MM_YYYY-install.sh grass60-DD-MM-YYYY-arc-bin.tar.gz</li>
</ul>
<h3>Libraries</h3>
The following libraries and programs are required:
<ul>
  <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>
  <li>xterm</li>
</ul>

and, recommended, also:
<ul>
  <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>
</ul>

<h3>NOTE:</h3>
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>
libtk.so.0<br>
libtcl.so.0<br>
libpq.so.2<br>
libgdal.so.1<br>
libdfftw.so.2<br>
<br>
then you should type:<br><br>
    su<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>
    ldconfig<br>
<p>
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>
    ldconfig<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>
	/usr/local/grass-6.0.cvs-i686-pc-linux-gnu-14_01_2005/lib<br>
	then<br>
	ldconfig<br>

<h1>How to uninstall</h1>
sh /usr/local/bin/grass60uninstall.sh<br>
If it's not there, then:<br>
rm -rf /usr/local/bin/grass60<br>
rm -rf /usr/local/bin/grass60-DD-MM-YYYY<br>
rm -rf /usr/local/grass60-DD-MM-YYYY<br>
<P>
<hr>
This snapshot was configured as follows:
<pre>
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 \
  --with-nls
</pre>

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





More information about the grass-web mailing list