logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Building Apache 2.4 With Static Modules
Author
idblew



Joined: 14 Nov 2014
Posts: 10
Location: Melbourne, Australia

PostPosted: Fri 14 Nov '14 8:54    Post subject: Building Apache 2.4 With Static Modules Reply with quote

Hi,

I have successfully built 2.4.10 for Windows x64 from the command-line (could never get it to work via the 2010 Express IDE) using the WIN32 sources.

I'd now like to statically link certain modules ready for distribution. Is this possible, and if so how?

On another note, is there any way of specifying HTTPD_ROOT and SUEXEC_BIN at compile time so that the output of "httpd -V" is correct? Currently they default to "/apache" and "/apache/bin/suexec" even though the default install path is "/Apache24".

Thanks for any help
Ian
Back to top
idblew



Joined: 14 Nov 2014
Posts: 10
Location: Melbourne, Australia

PostPosted: Thu 27 Nov '14 6:34    Post subject: Reply with quote

I take it from the lack of responses that nobody else has tried (or needed to try) statically linking modules?

I've seen a post from 3 years ago by marcosessa for doing this with 2.2 (although only part of the solution is documented), but would really like to achieve the same with 2.4

https://www.apachelounge.com/viewtopic.php?p=17696

If I could understand how to achieve this for just a single module (if it's possible), I'd be able to work out the rest.

PS: I've now managed to build 2.4.10 for Windows x64 in VC2013 using the GUI after a bit of fiddling Very Happy
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Mon 08 Dec '14 18:37    Post subject: Reply with quote

What did you change to get it working?
Back to top
idblew



Joined: 14 Nov 2014
Posts: 10
Location: Melbourne, Australia

PostPosted: Mon 08 Dec '14 23:01    Post subject: Reply with quote

I'm in the process of documenting the whole process so will post it once complete (it will take a while as I have other work commitments).

It's a lot of manual changes which could probably be automated with a Perl script (I'll see what I can come up with).
Back to top


Reply to topic   Topic: Building Apache 2.4 With Static Modules View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads