Author |
|
jfha73
Joined: 18 Aug 2011 Posts: 62 Location: New York
|
Posted: Mon 04 Nov '13 19:19 Post subject: Where is apxs for Apache 2.4.6 on Win64? |
|
|
Hey guys,
I'm trying to compile a module for Apache 2.4 and it asks me for the location of the apxs executable, I searched everywhere in the binaries for httpd-2.4.6 and I couldn't find it, where can I find it?
Thanks. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
Back to top |
|
jfha73
Joined: 18 Aug 2011 Posts: 62 Location: New York
|
Posted: Mon 04 Nov '13 20:04 Post subject: |
|
|
Thanks, but when I tried using this one, it gives me this:
Code: |
[ error] 'd:\apache24\bin\apxs.bat -q EXTRA_CFLAGS' failed:
[ error] Use of assignment to $[ is deprecated at d:\apache24\bin\apxs.bat line 120.
[ error] 'd:\apache24\bin\apxs.bat -q EXTRA_CPPFLAGS' failed:
[ error] Use of assignment to $[ is deprecated at d:\apache24\bin\apxs.bat line 120.
[ error] 'd:\apache24\bin\apxs.bat -q NOTEST_CPPFLAGS' failed:
[ error] Use of assignment to $[ is deprecated at d:\apache24\bin\apxs.bat line 120.
|
FYI: I followed the instructions in the README file to have it installed
Any ideas? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 04 Nov '13 21:50 Post subject: |
|
|
I'm curious as to how you are using this because you have this [ error] thing showing in the error. When I force mine to error, the error message looks like;
Code: | apxs:Error: Invalid query string `'TARGET' |
otherwise, I get
Code: | C:\tmp>C:\apache24\bin\apxs.bat -q TARGET LIBEXECDIR SBINDIR SYSCONFDIR
httpd.exe;;C:\Apache24\modules;;C:\Apache24\bin;;C:\Apache24\conf |
As far as the depreciation warning, you can just remove line 120 ( #local $[ = 0;) from the file. |
|
Back to top |
|
jfha73
Joined: 18 Aug 2011 Posts: 62 Location: New York
|
Posted: Mon 04 Nov '13 21:55 Post subject: |
|
|
That's because the error is coming from the module I'm trying to compile, but the error is produced by apxs. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 05 Nov '13 2:18 Post subject: |
|
|
What module are you trying to build? Not all modules will build under windows. |
|
Back to top |
|
jfha73
Joined: 18 Aug 2011 Posts: 62 Location: New York
|
Posted: Tue 05 Nov '13 2:39 Post subject: |
|
|
I'm trying to compile mod_perl 2.0.8, but according to the people that developed it they say it's not made for Apache 2.4 just yet, so I'll have to wait if the next version is, even though they told me when 2.4 came out that 2.0.8 was going to be, at this point I just don't trust anything anybody tells me. |
|
Back to top |
|