Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: how to use apxs.bat in the apache\bin dir |
|
Author |
|
ashwani_ap
Joined: 29 Aug 2007 Posts: 47 Location: Bangalore
|
Posted: Wed 28 Nov '07 8:24 Post subject: how to use apxs.bat in the apache\bin dir |
|
|
Hi,
I downloaded the apxs tool from this site and am able to compile it with follwoing comand.
C:\Perl\bin>perl.exe Configure.pl --with-apache2=F:\Apache21 --with-
apache-prog=httpd.exe
After success, I got apxs.bat in the F:\Apache21\bin directory.
Wanted to know if this is correct. Should I get the apxs.exe or it is correct.
Can sombody tell me how to use this apxs.bat for compiling my .c file for my module.
I used this cmd:
F:\Apache21\bin>apxs.bat -c -Wc -wd4996 mod_shutdown.c libhttpd.lib libapr-1.lib
But, it gives following error:
Perl 5.006 required--this is only version 5.00502, stopped at F:\Apache21\lib/File/Copy.pm line 10. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Wed 28 Nov '07 16:29 Post subject: |
|
|
Answered back in the original post for this problem.
-tom- |
|
Back to top |
|
ashwani_ap
Joined: 29 Aug 2007 Posts: 47 Location: Bangalore
|
Posted: Sun 09 Dec '07 17:02 Post subject: |
|
|
Hi,
apxs is installed successfully on my system. But when I execute
C:\apache\bin>apxs.bat -c -i -a -Wc mod_test.c libhttpd.lib libapr-1.lib wsock32.lib
I get follwoing error
Perl lib version (v5.8. doesn't match executable version (v5.8.0) at C:/apache/lib/Config.pm line 46.
Compilation failed in require at C:/Program/apache/lib/File/Copy.pm line 15.
BEGIN failed--compilation aborted at C:/apache/lib/File/Copy.pm line 15.
Compilation failed in require at apxs.bat line 37.
BEGIN failed--compilation aborted at apxs.bat line 37.
Does any one know why I am getting this error?
I have installed Perl v5.8.8 on my sys.
Thanks in advance |
|
Back to top |
|
|
|
|
|
|