Thom May <[EMAIL PROTECTED]> writes: > * Jeff Trawick ([EMAIL PROTECTED]) 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 | [EMAIL PROTECTED] Born in Roswell... married an alien...
