/usr/share/doc/grads/html/supplibs.html is in grads 2.0.a9-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | <!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->
<html>
<head>
<title>GrADS Supplibs</title>
<link href="GrADS.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #990000}
-->
</style>
</head>
<body bgcolor="e0f0ff" text="#000000">
<center>
<h3>Supplemental Libraries for GrADS 2.0</h3>
</center>
<p>There are many supplemental libraries that are required to enable various features in the GrADS executable. Building all these libraries from source is not necessarily easy, but this page provides some guidance and suggestions that have led to success on COLA's systems (64-bit linux running CentOS, and Mac OSX). Please post questions about building from source to the <a href="http://iges.org/grads/users.html" target="_parent">GrADS Users Forum</a>. If you have the proper privileges, you may install these anywhere on your system instead of $HOME, just be sure to change the commands listed in the table below to accomodate your own installation. </p>
<p>To begin, make a directory top level directory for the supplibs under your $HOME:<br>
<span class="code">mkdir $HOME/supplibs</span></p>
<p>Make a subdirectory where you will store the tar files containing the library source code:<br>
<span class="code">mkdir -p $HOME/supplibs/src/tarfiles</span></p>
<p>Get the src from COLA's FTP server: <br>
<span class="code">cd $HOME/supplibs/src/tarfiles<br>
ftp iges.org<br>
<login as anonymous><br>
cd grads/Supplibs/2.0/src<br>
mget *<br>
quit </span></p>
<p>These are the directories where you will install the compiled libaries, the necessary include files, and any executable utilities from the libraries that GrADS may need:<br>
<span class="code">mkdir $HOME/supplibs/bin<br>
mkdir $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include</span></p>
<p>Move through the list of libraries in the table below, building them in order listed. Instructions for configuring and installing in the <span class="code">$HOME/supplibs</span> directory are given for each library. </p>
<p>When you are done, unpack the GrADS source code tarball under $HOME. Change into the new GrADS directory you just created, and type<span class="code"> ./configure. </span>When the configuration is done, it will show a summary of which features have been enabled. Then type '<span class="code">make install</span>' and look for your executables in the ./bin directory. </p>
<p>Good Luck!! </p>
<table width="100%" border="0" cellpadding="4" cellspacing="4" class="plaintext">
<tr>
<td valign="top" bgcolor="#CCCCCC">Library</td>
<td valign="top" bgcolor="#CCCCCC">Version</td>
<td valign="top" bgcolor="#CCCCCC" class="plaintext">Why GrADS needs it </td>
<td bgcolor="#CCCCCC" class="plaintext">How to configure and install it for GrADS</td>
</tr>
<tr>
<td width="7%" valign="top" bgcolor="ccdceb">readline</td>
<td width="6%" valign="top" bgcolor="ccdceb">5.0</td>
<td width="28%" valign="top" bgcolor="ccdceb" class="plaintext"><p>Enables command line editing.<br>
Links: <a href="http://tiswww.case.edu/php/chet/readline/rltop.html" target="_parent"><br>
home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/readline-5.0.tar.gz">local copy of source code</a></p> </td>
<td width="59%" bgcolor="ccdceb" class="plaintext"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz ./tarfiles/readline-5.0.tar.gz <br>
cd readline-5.0/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/readline-5.0<br>
make<br>
make install<br>
cp ./lib/libreadline.a $HOME/supplibs/lib<br>
mkdir -p $HOME/supplibs/include/readline<br>
cp ./include/readline/*.h $HOME/supplibs/include/readline</p></td>
</tr>
<tr>
<td valign="top" bgcolor="b8c8d7">ncurses</td>
<td valign="top" bgcolor="b8c8d7">5.7</td>
<td valign="top" bgcolor="b8c8d7" class="plaintext"><p>Required for readline.<br>
Links:<br>
<a href="http://www.gnu.org/software/ncurses/">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/ncurses-5.7.tar.gz">local copy of source code</a></p></td>
<td bgcolor="b8c8d7" class="plaintext"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz ./tarfiles/ncurses-5.7.tar.gz<br>
cd ncurses-5.7/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/ncurses-5.7<br>
make<br>
make install<br>
cp ./lib/libncurses.a $HOME/supplibs/lib</p></td>
</tr>
<tr>
<td valign="top" bgcolor="ccdceb">zlib</td>
<td valign="top" bgcolor="ccdceb">1.2.3</td>
<td valign="top" bgcolor="ccdceb" class="plaintext">General compression library<br>
Links:<br>
<a href="http://www.zlib.net/" target="_parent">home page</a><br> <a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/zlib-1.2.3.tar.gz">local copy of source code</a><br></td>
<td bgcolor="ccdceb" class="code">cd $HOME/supplibs/src/<br>
tar xvfz ./tarfiles/zlib-1.2.3.tar.gz <br>
cd zlib-1.2.3/<br>
./configure --prefix=$HOME/supplibs/src/zlib-1.2.3<br>
make<br>
make install<br>
cp ./lib/libz.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/zlib<br>
cp ./include/zlib.h $HOME/supplibs/include/zlib</td>
</tr>
<tr>
<td valign="top" bgcolor="b8c8d7">libpng</td>
<td valign="top" bgcolor="b8c8d7">1.2.18</td>
<td valign="top" bgcolor="b8c8d7">PNG reference library. <br>
Links:<br>
<a href="http://www.libpng.org/pub/png/libpng.html" target="_parent">home page</a><br> <a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/libpng-1.2.18.tar.gz">local copy of source code</a><br></td>
<td bgcolor="b8c8d7" class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/libpng-1.2.18.tar.gz<br>
cd libpng-1.2.18/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/libpng-1.2.18<br>
make<br>
make install<br>
cp ./lib/libpng12.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/libpng12<br>
cp ./include/libpng12/*.h $HOME/supplibs/include/libpng12</td>
</tr>
<tr bgcolor="ccdceb">
<td valign="top" bgcolor="ccdceb">jpeg</td>
<td valign="top" bgcolor="ccdceb">6b</td>
<td valign="top" class="plaintext">Image compression library. <br>
Links:<br>
<a href="http://www.ijg.org/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/jpegsrc.v6b.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb" class="plaintext"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/jpegsrc.v6b.tar.gz <br>
cd jpeg-6b/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/jpeg-6b<br>
make<br>
mkdir ./bin<br>
mkdir -p ./man/man1<br>
make install<br>
mkdir ./include<br>
cp *.h ./include/<br>
mkdir ./lib<br>
cp libjpep.a ./lib<br>
cp libjpeg.a $HOME/supplibs/lib</p></td>
</tr>
<tr>
<td valign="top" bgcolor="b8c8d7">gd</td>
<td valign="top" bgcolor="b8c8d7">2.0.34</td>
<td valign="top" bgcolor="b8c8d7" class="plaintext">GD Graphics Library. <br>
Requires: zlib, libpng, jpeg<br>
Links: <br>
<a href="http://www.libgd.org/Main_Page" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/gd-2.0.34.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7" class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/gd-2.0.34.tar.gz<br>
cd gd-2.0.34<br>
./configure --disable-shared \<br>
--with-png=$HOME/supplibs/src/libpng-1.2.18 \<br>
--with-jpeg=$HOME/supplibs/src/jpeg-6b \<br>
--prefix=$HOME/supplibs/src/gd-2.0.34<br>
make<br>
make install<br>
cp ./lib/libgd.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/gd<br>
cp ./include/* $HOME/supplibs/include/gd</td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="ccdceb">jasper</td>
<td valign="top" bgcolor="ccdceb">1.701.0</td>
<td valign="top" bgcolor="ccdceb">Library for coding and manipulation of images. <br>
Links:<br>
<a href="http://www.ece.uvic.ca/~mdadams/jasper/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/jasper-1.701.0.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/jasper-1.701.0.tar.gz<br>
cd jasper-1.701.0/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/jasper-1.701.0<br>
make<br>
make install<br>
cp lib/libjasper.a $HOME/supplibs/lib/</p></td>
</tr>
<tr bgcolor="ccdceb">
<td valign="top" bgcolor="b8c8d7">g2clib</td>
<td valign="top" bgcolor="b8c8d7">1.1.8</td>
<td valign="top" bgcolor="b8c8d7"><p>Decodes data in GRIB2 format. <br>
Requires: zlib, png, jasper<br>
Links:<br>
<a href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/" target="_parent">home page</a><br>
<a href="ftp://iges.org/grads/Supplibs/2.0/src/g2clib-1.1.8.tar.gz">local copy of source code</a></p> </td>
<td bgcolor="b8c8d7"><p class="code">There is no configure script in this library, so you must edit the makefile to change three lines identified below (INC, CC and ARFLAGS). Write out $HOME explicitly in the makefile.</p>
<p class="code">INC=-I/usr/include -I$HOME/supplibs/src/jasper-1.701.0/include -I$HOME/supplibs/src/libpng-1.2.18 -I$HOME/supplibs/src/zlib-1.2.3/include<br>
CC=gcc<br>
ARFLAGS=</p>
<p class="code">make<br>
cp libgrib2c.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/grib2c<br>
cp grib2.h $HOME/supplibs/include/grib2c</p></td>
</tr>
<tr bgcolor="ccdceb">
<td valign="top" bgcolor="ccdceb">szip</td>
<td valign="top" bgcolor="ccdceb">2.1</td>
<td valign="top">General purpose lossless compression library. <br>
Links:<br> <a href="http://www.compressconsult.com/szip/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/szip-2.1.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/szip-2.1.tar.gz<br>
cd szip-2.1/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/szip-2.1<br>
make<br>
make install<br>
cp lib/libsz.a $HOME/supplibs/lib</p></td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="b8c8d7">udunits</td>
<td valign="top" bgcolor="b8c8d7">1.11.7</td>
<td valign="top"><p>Supports units of physical quantities. <br>
Links:<br>
<a href="http://www.unidata.ucar.edu/software/udunits/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/udunits-1.11.7.tar.gz">local copy of source code</a></p> </td>
<td bgcolor="b8c8d7"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz ./tarfiles/udunits-1.11.7.tar.gz<br>
cd udunits-1.11.7/src/<br>
make<br>
make install<br>
cd ../<br>
cp ./lib/libudunits.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/udunits<br>
cp ./include/udunits.h $HOME/supplibs/include/udunits</p></td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="ccdceb">hdf</td>
<td valign="top" bgcolor="ccdceb">4.2r3</td>
<td valign="top" bgcolor="ccdceb"> Hierarchical Data Format library, version 4. Requires: zlib, udunits, jpeg, szip<br>
Links:<br> <a href="http://hdfgroup.org/products/hdf4/index.html" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/HDF4.2r3.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb" class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/HDF4.2r3.tar.gz<br>
cd HDF4.2r3/<br>
./configure --disable-netcdf --disable-shared --disable-fortran \<br>
--with-zlib=$HOME/supplibs/src/zlib-1.2.3 \<br>
--with-jpeg=$HOME/supplibs/src/jpeg-6b \<br>
--with-szip=$HOME/supplibs/src/szip-2.1 \<br>
--prefix=$HOME/supplibs/src/HDF4.2r3<br>
make<br>
make install<br>
cp lib/libdf.a $HOME/supplibs/lib<br>
cp lib/libmfhdf.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/hdf<br>
cp ./include/*.h $HOME/supplibs/include/hdf/</td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="b8c8d7">hdf5</td>
<td valign="top" bgcolor="b8c8d7">1.8.4-patch1</td>
<td valign="top">(<span class="style1">GrADS 2.0.a7+</span>) <br>
Hierarchical Data Format library, version 5. Requires: zlib, jpeg, szip<br>
Links:<br><a href="http://www.hdfgroup.org/HDF5/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/hdf5-1.8.4-patch1.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/hdf5-1.8.4-patch1.tar.gz<br>
cd hdf5-1.8.4-patch1/<br>
./configure --disable-shared --disable-fortran \<br>
--with-zlib=$HOME/supplibs/src/zlib-1.2.3 \<br>
--with-jpeg=$HOME/supplibs/src/jpeg-6b \<br>
--with-szlib=$HOME/supplibs/src/szip-2.1 \<br>
--prefix=$HOME/supplibs/src/hdf5-1.8.4-patch1<br>
make<br>
make install<br>
cp ./lib/libhdf5.a $HOME/supplibs/lib<br>
cp ./lib/libhdf5_hl.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/hdf5<br>
cp ./include/*.h $HOME/supplibs/include/hdf5/</p> </td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="ccdceb">curl</td>
<td valign="top" bgcolor="ccdceb">7.19.6</td>
<td valign="top" bgcolor="ccdceb">A library for handling files with URL syntax. <br>
For enabling OPeNDAP access. <br>
Links:<br>
<a href="http://curl.haxx.se/" target="_parent">home page</a><br> <a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/curl-7.19.6.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb" class="code">cd $HOME/supplibs/src<br>
tar xvfz tarfiles/curl-7.19.6.tar.gz<br>
cd curl-7.19.6/<br>
./configure --without-ssl --without-libidn \<br>
--enable-static --disable-shared \<br>
--disable-ldap --prefix=$HOME/supplibs/src/curl-7.19.6<br>
make<br>
make install<br>
cp ./lib/libcurl.a $HOME/supplibs/lib</td>
</tr>
<tr bgcolor="ccdceb">
<td valign="top" bgcolor="b8c8d7">netcdf</td>
<td valign="top" bgcolor="b8c8d7">4.1.1</td>
<td valign="top" bgcolor="b8c8d7">(<span class="style1">GrADS 2.0.a8+</span>) <br>
Network Common Data Form library. <br>
Requires hdf5, zlib, szip, curl. <br>
Links:<br> <a href="http://www.unidata.ucar.edu/software/netcdf/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/netcdf-4.1.1-rc2.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7"><p class="code">cd $HOME/supplibs/src<br>
tar xvfz tarfiles/netcdf-4.1.1-rc2.tar.gz<br>
cd netcdf-4.1.1-rc2/<br>
./configure --disable-f77 --enable-netcdf-4 --enable-dap \<br>
--with-hdf5=$HOME/supplibs/src/hdf5-1.8.4-patch1 \<br>
--with-zlib=$HOME/supplibs/src/zlib-1.2.3 \<br>
--with-szlib=$HOME/supplibs/src/szip-2.1 \<br>
--with-curl=$HOME/supplibs/src/curl-7.19.6 \<br>
--prefix=$HOME/supplibs/src/netcdf-4.1.1-rc2 <br>
make<br>
make install<br>
cp ./lib/libnetcdf.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/netcdf<br>
cp ./include/netcdf.h $HOME/supplibs/include/netcdf<br>
cp ./bin/nc-config $HOME/supplibs/bin</p></td>
</tr>
<tr bgcolor="ccdceb">
<td valign="top" bgcolor="ccdceb">xml2</td>
<td valign="top" bgcolor="ccdceb">2.6.16</td>
<td valign="top">An XML parser and toolkit. <br>
For enabling OPeNDAP station data access. <br>
Links:<br> <a href="http://xmlsoft.org/" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/libxml2-2.6.16.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb"><p class="code">cd $HOME/supplibs/src<br>
tar xvfz tarfiles/libxml2-2.6.16.tar.gz<br>
cd libxml2-2.6.16/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/libxml2-2.6.16<br>
make<br>
make install<br>
cp ./lib/libxml2.a $HOME/supplibs/lib</p></td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="b8c8d7">dap</td>
<td valign="top" bgcolor="b8c8d7">3.7.8</td>
<td valign="top">Open-source Project for a Network Data Access Protocol (OPeNDAP). <br>
Requires: xml2, curl.<br>
Links:<br>
<a href="http://opendap.org/index.html" target="_parent">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/libdap-3.7.8.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7"><p class="code">cd $HOME/supplibs/src<br>
tar xvfz tarfiles/libdap-3.7.8.tar.gz<br>
cd libdap-3.7.8/</p>
<p class="code">N.B. You may need edit configure.ac so it won't use pkg-config to find curl (libdap_pkgconfig_libcurl=no) then run
autoreconf. This is only necessary if curl is installed someplace else on your system without the special configure options outlined above for building curl. <br>
</p>
<p class="code">./configure --disable-shared \<br>
--with-xml2=$HOME/supplibs/src/libxml2-2.6.16 \<br>
--with-zlib=$HOME/supplibs/src/zlib-1.2.3 \<br>
--with-curl=$HOME/supplibs/src/curl-7.19.6 \<br>
--prefix=$HOME/supplibs/src/libdap-3.7.8<br>
make<br>
make install<br>
cp lib/libdap.a $HOME/supplibs/lib<br>
cp lib/libdapclient.a $HOME/supplibs/lib</p></td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="ccdceb">gadap</td>
<td valign="top" bgcolor="ccdceb">2.0</td>
<td valign="top" bgcolor="ccdceb">Enables OPeNDAP access of in situ data. Requires dap, curl, xml2. <br>
Links:<br> <a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/gadap-2.0.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb"><p class="code">cd $HOME/supplibs/src<br>
tar xvfz tarfiles/gadap-2.0.tar.gz<br>
cd gadap-2.0/<br>
setenv PATH {$PATH}:{$HOME}/supplibs/src/libdap-3.7.8/bin<br>
./configure --prefix=$HOME/supplibs/src/gadap-2.0<br>
make<br>
make install<br>
cp ./lib/libgadap.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/gadap<br>
cp ./include/*.h $HOME/supplibs/include/gadap/</p></td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="b8c8d7">tiff</td>
<td valign="top" bgcolor="b8c8d7">3.8.2</td>
<td valign="top">(<span class="style1">GrADS 2.0.a5+</span>) <br>
Library for storing image data in the Tag Image File Format.<br>
Links:<br>
<a href="http://www.libtiff.org/">home page</a><br>
<a href=
"ftp://grads.iges.org/grads/Supplibs/2.0/src/tiff-3.8.2.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7" class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/tiff-3.8.2.tar.gz<br>
cd tiff-3.8.2/<br>
./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/tiff-3.8.2<br>
make<br>
make install<br>
cp lib/libtiff.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/tiff<br>
cp ./include/*.h $HOME/supplibs/include/tiff</td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="ccdceb">geotiff</td>
<td valign="top" bgcolor="ccdceb">1.2.5</td>
<td valign="top" bgcolor="ccdceb">(<span class="style1">GrADS 2.0.a5+</span>) <br>
Library for reading, and writing georeferenced raster imagery. <br>
Requires: tiff.<br>
Links:<br>
<a href="http://geotiff.osgeo.org/">home page</a><br>
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/libgeotiff-1.2.5.tar.gz">local copy of source code</a></td>
<td bgcolor="ccdceb" class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/libgeotiff-1.2.5.tar.gz <br>
cd libgeotiff-1.2.5/<br>
./configure --enable-incode-epsg \<br>
--enable-static --disable-shared \<br>
--with-libtiff=$HOME/supplibs/src/tiff-3.8.2 \<br>
--prefix=$HOME/supplibs/src/libgeotiff-1.2.5 <br>
make<br>
make install<br>
cp ./lib/libgeotiff.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/geotiff<br>
cp ./include/* $HOME/supplibs/include/geotiff</td>
</tr>
<tr bgcolor="b8c8d7">
<td valign="top" bgcolor="b8c8d7">shapelib</td>
<td valign="top" bgcolor="b8c8d7">1.2.10</td>
<td valign="top" bgcolor="b8c8d7">(<span class="style1">GrADS 2.0.a8+</span>) <br>
Enables handling of shapefiles<br>
Links:<br>
<a href="http://shapelib.maptools.org/">home page</a><br>
<a href="ftp://iges.org/grads/Supplibs/2.0/src/shapelib-1.2.10.tar.gz">local copy of source code</a></td>
<td bgcolor="b8c8d7"><p class="code">cd $HOME/supplibs/src/<br>
tar xvfz tarfiles/shapelib-1.2.10.tar.gz<br>
cd shapelib-1.2.10/<br>
make lib<br>
cp ./.libs/libshp.a $HOME/supplibs/lib/<br>
mkdir $HOME/supplibs/include/shapelib<br>
cp shapefil.h $HOME/supplibs/include/shapelib</p></td>
</tr>
</table>
<p class="plaintext"><br>
</p>
</body>
</html>
|