You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by h iroshan <ir...@gmail.com> on 2009/06/22 21:00:17 UTC

build mod_proxy by source

Hi All,

I need to build mod_proxy by source rather than enable in the
configuration.  I dont know how to build it by apxs as it has two dependent
files (proxy_util.c and mod_proxy.c) .Please help me to over come this
problem.

Best Regards,

Iroshan
Under Graduate-UCSC
Sri Lanka

Re: build mod_proxy by source

Posted by Kevac Marko <ma...@kevac.org>.
Look:

$ ~/micex/opt/httpd-worker/bin/apxs -c -o mod_proxy.so mod_proxy.c
proxy_util.c
/home/marko/micex/opt/httpd-worker/build/libtool --silent --mode=compile gcc
-prefer-pic -g  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread
-I/home/marko/micex/opt/httpd-worker/include
-I/home/marko/micex/opt/httpd-worker/include
-I/home/marko/micex/opt/httpd-worker/include   -c -o mod_proxy.lo
mod_proxy.c && touch mod_proxy.slo
/home/marko/micex/opt/httpd-worker/build/libtool --silent --mode=compile gcc
-prefer-pic -g  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread
-I/home/marko/micex/opt/httpd-worker/include
-I/home/marko/micex/opt/httpd-worker/include
-I/home/marko/micex/opt/httpd-worker/include   -c -o proxy_util.lo
proxy_util.c && touch proxy_util.slo
/home/marko/micex/opt/httpd-worker/build/libtool --silent --mode=link gcc -o
mod_proxy.la  -rpath /home/marko/micex/opt/httpd-worker/modules -module
-avoid-version    proxy_util.lo mod_proxy.lo

$ ls -la .libs/mod_proxy.so
-rwxr-xr-x 1 marko marko 177683 2009-06-23 01:30 .libs/mod_proxy.so

On Tue, Jun 23, 2009 at 12:14 AM, h iroshan <ir...@gmail.com> wrote:

>
> hi Kevac Marko,
>
> apxs -c -o mod_proxy.so mod_proxy.c proxy_util.c
>
> above command not generate mod_proxy.so . Please help me
>
> Regards
> Iroshan
>



-- 
Marko Kevac

Re: build mod_proxy by source

Posted by h iroshan <ir...@gmail.com>.
hi Kevac Marko,

apxs -c -o mod_proxy.so mod_proxy.c proxy_util.c

above command not generate mod_proxy.so . Please help me

Regards
Iroshan

Re: build mod_proxy by source

Posted by h iroshan <ir...@gmail.com>.
hi Kevac Marko,

Thank you very much.

Re: build mod_proxy by source

Posted by Kevac Marko <ma...@kevac.org>.
apxs -c -o mod_proxy.so mod_proxy.c proxy_util.c

On Mon, Jun 22, 2009 at 11:00 PM, h iroshan <ir...@gmail.com> wrote:

> Hi All,
>
> I need to build mod_proxy by source rather than enable in the
> configuration.  I dont know how to build it by apxs as it has two dependent
> files (proxy_util.c and mod_proxy.c) .Please help me to over come this
> problem.
>
> Best Regards,
>
> Iroshan
> Under Graduate-UCSC
> Sri Lanka
>
>
>


-- 
Marko Kevac