Re: [us...@httpd] mod_vhost compilation errors

2009-11-28 Thread Mohit Anchlia
On Fri, Nov 27, 2009 at 10:08 AM, Eric Covener cove...@gmail.com wrote: On Fri, Nov 27, 2009 at 12:14 PM, Mohit Anchlia mohitanch...@gmail.com wrote: What changes do I need to make to my compile script to use apxs? libtool --silent --mode=compile gcc  -g -O2 -pthread    -DLINUX=2 \ I

Re: [us...@httpd] mod_vhost compilation errors

2009-11-28 Thread Eric Covener
On 11/28/09, Mohit Anchlia mohitanch...@gmail.com wrote: On Fri, Nov 27, 2009 at 10:08 AM, Eric Covener cove...@gmail.com wrote: On Fri, Nov 27, 2009 at 12:14 PM, Mohit Anchlia mohitanch...@gmail.com wrote: What changes do I need to make to my compile script to use apxs? libtool

[us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
I downloaded the module mod_vhost_limit from http://apache.ivn.cl/; site. When I try to complile I get the following errors. The module I downloaded is for apache2. Could someone please help me? In file included from /usr/local/apache2/include/ap_config.h:25, from

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Eric Covener
On 11/27/09, Mohit Anchlia mohitanch...@gmail.com wrote: I downloaded the module mod_vhost_limit from http://apache.ivn.cl/; site. When I try to complile I get the following errors. The module I downloaded is for apache2. Could someone please help me? In file included from

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
no On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener cove...@gmail.com wrote: On 11/27/09, Mohit Anchlia mohitanch...@gmail.com wrote: I downloaded the module mod_vhost_limit from http://apache.ivn.cl/;  site. When I try to complile I get the following errors. The module I  downloaded is for

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
This is compile.sh libtool --silent --mode=compile gcc -g -O2 -pthread-DLINUX=2 \ -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE \ -I/usr/local/apache2/include \ -prefer-pic -c mod_vhost_limit.c touch mod_vhost_limit.slo libtool --silent --mode=link

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Eric Covener
On 11/27/09, Mohit Anchlia mohitanch...@gmail.com wrote: Are you using apxs? no use apxs. -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Mohit Anchlia
What changes do I need to make to my compile script to use apxs? libtool --silent --mode=compile gcc -g -O2 -pthread-DLINUX=2 \ -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE \ -I/usr/local/apache2/include \ -prefer-pic -c mod_vhost_limit.c touch

Re: [us...@httpd] mod_vhost compilation errors

2009-11-27 Thread Eric Covener
On Fri, Nov 27, 2009 at 12:14 PM, Mohit Anchlia mohitanch...@gmail.com wrote: What changes do I need to make to my compile script to use apxs? libtool --silent --mode=compile gcc  -g -O2 -pthread    -DLINUX=2 \ I assume you'd just replace it: