Justin Erenkrantz wrote:
--On Wednesday, January 8, 2003 7:54 AM -0500 Jeff Trawick <[EMAIL PROTECTED]> wrote:more weirdness. I'm trying to verify that there is some way to get Apache to build with apr & apr-util preinstalled outside of httpd. So far I've seen:
As I posted yesterday, generation of exports.c is busted without srclib/apr and srclib/apr-util.If you can get it to work with just the buildconf change, I'd love to see it.
Well, it doesn't work if you don't call your APR install apr. If it's called apr-0.9.2, it works. If it's called, say, httpd-2.0.44-dev, it won't work.
* apr-util's configure dies with
configure: error: cannot find install-sh or install.sh in ../apr/build ./../apr/build
...if the apr source tree isn't called "apr" exactly or doesn't share a commom parent with the apr-util source tree. OK, I can shuffle things around to get past that pretty easily. Moving on,
* apr-util's make dies with
Makefile:23: /tmp/inst_apr/bin/build/rules.mk: No such file or directory
make: *** No rule to make target `/tmp/inst_apr/bin/build/rules.mk'. Stop.
hmmm, looks like apr-util's ./configure --help is telling a fib when it says --with-apr can point to apr's install directory. It can't, but seems to work OK if you point it at apr's source tree.
* httpd's make dies when trying to generate exports.c, as Jeff reported, with
gawk: /home/gregames/apache/httpd-2.0.44.pre1.no_apr/build/make_exports.awk:138: (FILENAME=/home/gregames/apache/httpd-2.0.44.pre1.no_apr/os/unix/unixd.h FNR=141) fatal: cannot open file `/home/gregames/apache/httpd-2.0.44.pre1.no_apr/srclib/apr/include/*.h' for reading (No such file or directory)
My apr install directory is /tmp/inst_apr, so it does have the characters "apr" in its name.
Greg
