1; $slashes--) { $require_target .= "../"; } $require_target .= "template.php"; require($require_target); # Now set the title of the page: setPageTitle("Installation Instructions"); # Make the header. generateHeader($_SERVER['PHP_SELF']); ?>
It's not *that* hard...
First, you need to download a freeglut release. Newer is generally better, but unless you know what you're doing, you should use a release marked "Stable." So download the newest Stable release that you can.
Copy the tarball you downloaded into a temporary directory. Untar it as follows:
tar -jvxf freeglut-2.X.X.tar.bz2
cd freeglut-2.X.X
./configure
Once that completes, it's time to build and install freeglut (Note that you will have to be the superuser to make install).
This is as simple as:
make all
make install
Make a symlink from libfreeglut.so.0.2.0 to libglut.so.3, libglut.so.3.7 and libglut.so.3.7.0
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7.0