You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2006/04/01 00:31:14 UTC
1.x trees broken
Would whoever's contributed to this conundrum please comment why...
[wrowe@s170 httpd-2.x]$ ./configure --with-apr=srclib/apr
--with-apr-util=srclib/apr-util --with-mpm=prefork --with-shared-mods=all
[...]
Configuring Apache Portable Runtime library ...
checking for APR... configure: error: the --with-apr parameter is incorrect. It
must specify an install prefix, a build directory, or an apr-config file.
when srclib/apr and srclib/apr-util contain build directories, as documented
for the --with-apr[-util] arguements, and omitting --with... will result in a
broken build on this box, since it has a (older) apr[-util] installed in
/usr/local/
Don't tell me none of the devs have apr installed in some common system path
for our current development tools, such as svn, and please don't suggest that
we are expected to push that to the bleeding edge just to get an httpd build
for testing to an alternate /opt/test/httpd-x.x/ path?
Bill
Re: 1.x trees broken
Posted by Colm MacCarthaigh <co...@stdlib.net>.
On Fri, Mar 31, 2006 at 04:31:14PM -0600, William A. Rowe, Jr. wrote:
> Would whoever's contributed to this conundrum please comment why...
that hasn't ever worked afaict, see r356960 in apr trunk :)
The _find macros that are in the respective trunks attempt to fix some
of this problem, but probably need the next minor version bump due to
not searching all of the old paths any more.
> Don't tell me none of the devs have apr installed in some common
> system path for our current development tools, such as svn, and please
> don't suggest that we are expected to push that to the bleeding edge
> just to get an httpd build for testing to an alternate
> /opt/test/httpd-x.x/ path?
If a user builds an arbitrary version of apr, then httpd can be made
link to it, it's just that they have to take responsibility for
configuring and building it. This is in-line with treatment for any
library I guess :)
httpd will only configure a bundled apr for a user if it doesn't find a
suitable version of apr installed already.
I think this is good compromise logic, since the library that httpd
configures will be installed in /usr/local/apache2/, it doesn't matter
that the configure parameters may not be suitable for other applications
which want to use apr, and if httpd finds a usable apr in a system
path - why wouldn't it use it?
--
Colm MacCárthaigh Public Key: colm+pgp@stdlib.net