On Sat, Sep 22, 2012 at 2:35 PM, Benson Margulies <[email protected]> wrote: > On Sat, Sep 22, 2012 at 2:26 PM, Jeff Trawick <[email protected]> wrote: >> On Sat, Sep 22, 2012 at 2:20 PM, Benson Margulies <[email protected]> >> wrote: >>> Dear dev, >>> >>> Graham asked me to test out a new feature of the form auth module. So, >>> I checked out the trunk, and got into a bit of a tangle. >> >> Just as with httpd 2.4.x, use apr 1.x and apr-util 1.x with httpd trunk.] > > Well, configure told me to get the apr trunk :-) and configure no > longer has --with-apr-util to locate it.
buildconf has some unhelpful messages amidst the logic to support either apr1+aprutil1 or aprtrunk. I guess you found some with configure too, though this doesn't seem too specific to apr trunk: ./configure --with-included-apr ... configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/. FWLIW, here's a way to build which can share apr/apr-util with other applications (e.g., httpd 2.2 or 2.4): ./buildconf --with-apr=../apr-1.4.x --with-apr-util=../apr-util-1.4.x ./configure --with-apr=/path/to/aprinst --with-apr-util=/path/to/aprutilinst ... > > however .... > > >> >> Heck, its even easier if the changes are limited to mod_auth_form.c: >> >> Download mod_auth_form.c from trunk (or check out httpd trunk). >> /path/to/24-install/bin/apxs -c mod_auth_form.c. >> > > This does work fine. > >> >>> >>> I checked out http://svn.apache.org/repos/asf/apr/apr/trunk into >>> srclib/apr, and then I ran buildconf, and then I tried to run >>> configure. It tells me: >>> >>> configure: >>> configure: Configuring Apache Portable Runtime Utility library... >>> configure: >>> configure: error: APR-util not found. Please read the documentation. >> >> apr trunk includes APR-util, and I guess that certain httpd builds are >> not prepared for that. >> >>> >>> Now, the apr-util trunk just contains a pointer to the apr trunk. I >>> did poke around httpd.apache.org thinking that I might find some >>> contributor advice that would cover this case, but apparently I was >>> too dense to detect it. Could someone help? >>> >>> -benson >> >> >> >> -- >> Born in Roswell... married an alien... >> http://emptyhammock.com/ -- Born in Roswell... married an alien... http://emptyhammock.com/
