============================================================================================
\[root@licencehost mod_antiloris-0.3]# /usr/sbin/apxs -a -i -l cap -c mod_antiloris.c -S SYSCONFDIR=/santosh/current/apache/httpd.conf
/bin/sh /usr/lib64/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m64 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o mod_antiloris.lo mod_antiloris.c && touch mod_antiloris.slo
/bin/sh /usr/lib64/apr/build/libtool --silent --mode=link gcc -o
mod_antiloris.la -lcap -rpath /usr/lib64/httpd/modules -module -avoid-version mod_antiloris.lo -S SYSCONFDIR=/orbital/current/apache/httpd.conf
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/bin/sh /usr/lib64/apr/build/libtool'
mod_antiloris.la /usr/lib64/httpd/modules
/bin/sh /usr/lib64/apr/build/libtool --mode=install cp
mod_antiloris.la /usr/lib64/httpd/modules/
cp .libs/mod_antiloris.so /usr/lib64/httpd/modules/mod_antiloris.so
cp .libs/mod_antiloris.a /usr/lib64/httpd/modules/mod_antiloris.a
ranlib /usr/lib64/httpd/modules/mod_antiloris.a
chmod 644 /usr/lib64/httpd/modules/mod_antiloris.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib64/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib64/httpd/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 755 /usr/lib64/httpd/modules/mod_antiloris.so
apxs:Error: Activation failed for custom /etc/httpd/conf/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..