Archive for the tag 'Compiling'

Adding extra modules to Apache, by compiling in DirectAdmin.

Any module that needs to be compiled in will have a –with-module type flag which will need to be used. To add this flag, run the following:

cd /usr/local/directadmin/customapache
vi configure.apache_ssl

Add your –with-module line to the end of the file, where –with-module is to be replaced with required entry for the module you’re installing.

Make sure the character exists at the end of all lines except the last one.

./build clean
./build apache_mod_ssl

Then restart apache.

Source: http://directadmin.com/

When compiling receive the error et/com_err.h: No such file or directory

If you receive the error When compiling.

/usr/include/krb5.h:2606:24: et/com_err.h: No such file or directory

Then install the following to resolve.

yum install e2fsprogs-devel

or

up2date -u e2fsprogs-devel

Source : http://directadmin.com/

For apache 2.0 use the following methods.

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build update_data_ap2
./build apache_2
./buld php_ap2 n
./build mod_perl_ap2

Once the update has completed, you’ll need to restart apache:

/sbin/service httpd restart