Compile once, install to multiple places
- From: ak@xxxxxxxxxxxxxxxxxxx
- Date: 19 Oct 2005 13:30:23 -0700
>>From what I can see, you pick a --prefix-dir when compiling Apache, and
to documentation) must install to that directory in order for the
product to work.
This suggests that the path (and those derived from it) get embedded in
binaries, modules and configuration files.
This can be awkward, as the target directory may not be known at
and/or, the product may be installed more than once on the same server
(and possibly patched and/or configured differently for different
Or, perhaps the binary is on shared storage, mounted at different
different client machines.
IBM appear to addressed the issue in IBM HTTP Server (derived from
You can install to a directory of your choosing, and multiple times
too, and it works.
Q1: How deep do the prefix directories get embedded within Apache at
Q2: Why is this?
Doesn't seem defendable from a flexibility perspective.
Doesn't seem necessary (given IBM's example).
Q3: Is there any hope for this going away in future?
Q4: Has anyone worked around this already?
Perhaps by specifying a relative prefix-dir?
I ran strings on various binaries and modules and didn't find much in
of prefix-dir related path information.
- Prev by Date: please help with apache access using an ip address!
- Next by Date: MPMs and modules
- Previous by thread: please help with apache access using an ip address!
- Next by thread: Re: Compile once, install to multiple places