Re: Building Apache, does --prefix gets hardcoded ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 10, 2008 at 12:38 PM, Jorge Medina <jmedina@xxxxxxxxxxxx> wrote:
> I am trying to create a tar ball with Apache, Tomcat and my application to
> be deployed later on a server with the same kernel as the building machine.
>
>
>
> When building Apache HTTP server, there is an option "—prefix" passed to
> "configure" script that indicates where will the result of the build end up.
>
>
>
> Does it gets hardcoded into the code? Can I move later the build server to
> another directory and just adjust configuration files?
>
>
>
> For example, if I build with –prefix=/myproject/build/http, would it be
> possible later on to move the location of the HTTP server to another
> directory? (E.g. /opt/http)
>
>
>
> In other words, do I need to distribute HTTP source code and build it when I
> install my application, or can I build it ahead of time and just configure
> it at installation time?

The prefix is hardcoded but can be overridden at runtime using a
combination of command line options (-f in particular) and
configuration file directives. See also the binbuild script in the
build directory of the source tree for other ideas on how to handle
this issue.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux