Compiling and Installing the Software

After you’ve successfully downloaded all the sources, the next step is to configure, compile, and install the different packages. The next sections show you how.

Step 1—Unpacking the Sources

Unpack all the sources to a temporary area on your system (I’ll be using /tmp/sources/).

$ cd /tmp/sources/ 
$ tar -xzvf libxml2-2.4.9.tar.gz 
$ tar -xzvf expat-1.95.2.tar.gz 
$ tar -xzvf Sablot-0.71.tar.gz 
$ tar -xzvf zlib-1.1.3.tar.gz 
$ tar -xzvf apache_1.3.20.tar.gz 
$ tar -xzvf php-4.1.1.tar.gz 

You should end up with a directory structure that looks something like this:

 $ ls -l /tmp/sources/ drwxrwxrwx 5 root root 4096 Feb 4 15:51 Sablot-0.71 drwxr-xr-x 8 root root 4096 Feb 4 16:22 apache_1.3.20 drwxr-xr-x 7 root ...

Get XML and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.