Could you please provide usage for apxs to set httpd.conf to custom path.i.e place " LoadModule antiloris_module /usr/lib64/httpd/modules/mod_antiloris.so" line in custom path httpd.conf.Tried running by adding1. apxs -g -S SYSCONFDIR=/santosh/current/apache/httpd.conf2. apxs -a -i -l cap -c mod_antiloris.c -S SYSCONFDIR=/santosh/current/apache/httpd.conf
3============================================================================================\[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.socp .libs/mod_antiloris.lai /usr/lib64/httpd/modules/mod_antiloris.lacp .libs/mod_antiloris.a /usr/lib64/httpd/modules/mod_antiloris.aranlib /usr/lib64/httpd/modules/mod_antiloris.achmod 644 /usr/lib64/httpd/modules/mod_antiloris.aPATH="$PATH:/sbin" ldconfig -n /usr/lib64/httpd/modules----------------------------------------------------------------------Libraries have been installed in:/usr/lib64/httpd/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify 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 variableduring execution- add LIBDIR to the `LD_RUN_PATH' environment variableduring 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 formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------chmod 755 /usr/lib64/httpd/modules/mod_antiloris.soapxs:Error: Activation failed for custom /etc/httpd/conf/httpd.conf file..apxs:Error: At least one `LoadModule' directive already has to exist..============================================================================================On Fri, Oct 11, 2013 at 5:23 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
On Fri, 11 Oct 2013 12:14:48 +0530
Santosh Kumar <santoshjeergi@xxxxxxxxx> wrote:
> Followed the Below steps
Why?
You use apxs to compile a module (see TFM).
You'll have to deal with minor API changes since 2.0,
but if any of those baffle you, that would be a more
specific question.
--
Nick Kew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx