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