How to Compile
Most users will (eventually) be able to download a precompiled SnapPea kernel. Use the instructions below if a pre-compiled SnapPea kernel is not yet available for your computer and operating system.
Download the SnapPea kernel and unzip it.
Use detab.c if you want to view the source code on a unix machine with 8-space tab stops.
Within the folder you just downloaded, locate the SnapPeaPython directory. Discard the precompiled SnapPeaC.so, which is intended only for Linux systems.
At this point two approaches are possible.
If you’re using Red Hat Linux (or possibly a different Linux distribution), go to the SnapPeaPython directory and edit the first line in the makefile
SNAPPEA_KERNEL = /home/jeff/SnapPea/SnapPeaKernel
to specify the location of the kernel directory you downloaded in Step 1.
Still in the SnapPeaPython directory, type "make" to compile the source files. If all goes well, this will create the library SnapPeaC.so. If you get any error messages, please let me know.
On any Unix system (including Red Hat Linux), if you have Python 1.5 or later you can use a platform-independent script to create the library SnapPeaC.so. Go to SnapPeaPython/installation and follow the instructions in ReadMe.txt. Again, if you have any problems, please let me know. Many thanks to Peter Brinkmann for providing this script.
You have now completed Step 2 on the installation page, and are ready to use SnapPea 3.0 as explained in Step 3 of the installation page.