httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] apxs.in
Date Tue, 30 Apr 2002 19:40:39 GMT
Thom May <thom@planetarytramp.net> writes:

> * Jeff Trawick (trawick@attglobal.net) wrote :
> > Why doesn't the code to move things around after building fix it up
> > and not require the user to specify "-d my-server-root"?  That's what
> > Apache's install-bindist.sh does.  I guess I'm confused about when the
> > user would use the new -d option.
> The major case is:
> after we install, we then move the whole tree to a different location.
> for the sake of argument, install into /usr/local/apache2
> mv  /usr/local/apache2 /usr/local/ap2-test
> at that point, we need -d.
> (it's analogous to the -d option to httpd)

I would suggest that it is better to do the mv in a script that knows
how to

1) update the prefix encoded in apxs
2) update the path to the libraries in envvars

Is that impossible for some reason?  The install script for a binary
build is able to do that.

Your patch has some very necessary fixes but I can't seem to make
peace with the -d, as it seems to be a burden and it doesn't seem to
completely solve what happens when you mv the tree since it doesn't
address the need for httpd to find libapr et al via the new path.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message