As usual we try to consider the “do it right (r)” way of doing configurations.
Today we will compile Apache HTTPD on Sun Solaris 10 OS (SPARC).
The first thing to do is to install the gcc c compiler if it is not already installed.
To do so, download and install the package from www.sunfreeware.com. Double read the package release notes.
You have to download the latest gcc package and its dependencies. You probably will need also libiconv and libintl.
Now download openssl-0-9.X package.
For each downloaded package install it with the command: dpkg -d <full_path>/your_package
When finished, go into your apache source directory and:
# if you want it 64 bits:
# if you want it 32 bits:
# export CFLAGS=”-m32″
./configure –with-included-apr –with-expat=builtin –prefix=<your_installation_path> –enable-mods-shared=most –enable-ssl –with-ssl=/usr/sfw –enable-proxy –enable-proxy-connect –enable-proxy-http –enable-proxy-balancer
If the configure process terminated successfully, you can now call:
When finished, as usual, call:
I recommend you to use gnu make. You can download it from sunfreeware.
Now, if everything gone ok, you can try to start your brand new 64 bits apache full of powerfull modules.
You may want to set your LD_LIBRARY_PATH variable into <apache>/bin/envvars file so that apachectl can find all the library it needs to start or stop the server.
This really helped me as well.
In my case, I just completed this for an x86 Solaris machine. So instead of “sparcv9”, I substituted “amd64” in its place (same directory paths otherwise. And it worked.
Good to know. Thank you Luke!
Right, that’s a great problem of Solaris I think. On a mniamil installation Solaris is missing most of the common tools we know from any other Unix/Linux OS. Even such simple things as less or vim are missing and must be installed seperatly from a companion CD.This is not 1980 think they can start to put common basic tools in actual versions into the default distribution.many greetings from I-D Media Falko
I really neeedd to find this info, thank God!