Another attempt at installing GMT and MB-System
After getting some advice from Monica I felt I was ready to attempt installing GMT and MB-System again. It looks like my problems might have been due to some incorrect path names. My install_gmt script keeps crashing in the same place – at the part where it looks for GDAL files (ie gdal.h, and others). I think it assumes that GMT lib and include subdirectories are under the same folder. This doesn’t seem to be the case when I used the default Synaptic install. So I uninstalled it, and am trying to install from source.
I grabbed the tar file from here:
http://download.osgeo.org/gdal/gdal-1.7.1.tar.gz
I extracted it, navigated to that directory in a terminal window, and ran the following commands:
./configure
make
sudo make install
Summarizing what these do:
./configure: checks for required dependencies, reports an error is they’re not there
make: compiles the source code
make install: installs the program
This time, my GDAL lib and include directories were put into /usr/local. Unfortunately, they are also still in the previous location, and I think I will need to manually remove them.
I added a couple of things to my .bashrc environmental variables – including the MANPATH, and the NETCDF path.
Next – installing MB-System! Finally!
First I installed the following packages using apt-get install:
xorg-dev
libmotif-dev
libxp-dev
mesa-common-dev
libsdl1.2-dev
libsdl-image1.2-dev
Downloaded the MB-System.tar.gz file from the ftp site.
…to be continued