I build and run gtopo on fedora linux systems, and my MAC OS-X macbook. Ubuntu linux users are also running gtopo. If you are running gtopo on some other system, let me know so I can add to the list. Especially if you had to do something "special", let me know so I can add your tips to this section.
Go to the gtopo downloads page and click on the link to download the latest version. This should deposit a compressed tar file on your system, something with a name like:
gtopo-0.9.12.tar.gz
Now, decide where you want to unpack this tar file. The following command:
tar xzvf gtopo-0.9.12.tar.gzWill unpack the tar file, creating a directory (within your current directory) with the name gtopo-0.9.12 (or something similar) containing all the source files.
make cc -c -g gtopo.c -g `pkg-config --cflags gtk+-2.0` Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found gtopo.c:21:21: error: gtk/gtk.h: No such file or directoryOn a fedora system, you may need to do this:
yum install gtk2-develOn a ubuntu system, you may need something like this:
sudo apt-get install libgtk2.0-devOn either system, this will probably pull in a million dependencies, just say yes and dive in.
This is simple (as long as you have a typical linux install including gcc and the gtk libraries). Just do this:
cd gtopo-0.9.8 makeThis will yield the gtopo executable. You will probably want to copy it to some directory on your search path, such as ~/bin or /usr/local/bin.
Gtopo / [email protected]