Prerequisites
The WRE only requires things you should already have on your system
anyway. So you should be able to skip directly to the next step.
However, we'll provide a short list here anyway just so you have it.
These are the WRE prereqs:
- gcc
- glibc
- g++
- bash
- zlib
- ncurses-devel
- and the standard GNU build tools such as libtool, make, etc
Simple Build
To build the WRE for your platform follow these simple steps.
1) Download wre-x.x.x-source.tar.gz
2) Extract the source
tar xvfz wre-x.x.x-source.tar.gz
3) Make a /data folder and make it writable by you
sudo mkdir /data
sudo chown you /data
4) Run build.sh
cd /path/to/wrebuild
./build.sh --all
5) Now sit back and wait for it to complete. This process can take between 1 and 6 hours
depending upon the speed of your system.
5a) XML::SAX may ask if you want it to edit ParserConfig.ini. Accept the default answer.
That's it. You should now have a fully functional WRE build. Now you
can read the install.txt file in /data/wre/docs/install.txt.
Build Options
Perhaps because you like doing stuff the hard way, or perhaps
because you are troubleshooting a build problem, we provide a series of
options that you can run for a less simple build process.
First and foremost you can find the complete list of build options, by typing:
./build.sh --help
You can then choose to build one thing at a time like this:
./build.sh --clean
./build.sh --perl
./build.sh --apache
Or you can build a few things at a time like this:
./build.sh --perl --apache
NOTE:
The build system does not keep track of the order in which you passed
in these arguments, so it is possible that they will build out of
order, and therefore not build properly. Some of the build steps have
prerequisites. Here's a list of those:
Perl: none
Apache: Perl
MySQL: Perl, Apache (for OpenSSL)
Image Magick: Perl
AWStats: Perl
WRE: Perl
Perl Modules: Perl, Apache, MySQL, Image Magick