Justin Erenkrantz wrote:
--On Thursday, January 09, 2003 16:51:54 -0500 Greg Ames <[EMAIL PROTECTED]> wrote:

* 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.

It can. My guess is that you have a symlink somewhere.
sure, I have symlinks somewhere, but not in the path to /tmp/inst_apr (previous try) or /tmp/apr_inst (latest attempt), which are the paths I specified for --prefix when I configured apr.

apr-config can get confused in certain circumstances when there is a symlink so that the prefix that was originally passed to apr-config is invalid.
maybe it gets confused in other circumstances too. But I know how to work around this one so it's not high impact to me.

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.

APR_INCLUDEDIR=`$apr_config --includes | sed 's|^.*-I\([[^ ]]*apr[[^ ]]*\).*$|\1|'`
yikes!

You have to get the above sed rule from httpd-2.0's configure.in to fire correctly. It's very fragile and very wrong, but it works in some predictable edge cases. I haven't had the time to figure out exactly what the edge case is other than that apr-0.9.2 seems to work. Perhaps it is something to do with apr being at the end of the directory name?
well, /tmp/apr_inst didn't work either :-(

The bottom line to me is that I have no huge concern with copying a couple of extra files at ./buildconf time. Even though I like the concept, it bothers me to say 2.0 stable supports a separate apr install. It just doesn't feel very stable to me when I can't get it to work after two days off-and-on, on Linux no less!

Of course I want to be sure libtool 1.3 works in 2.0.44 no matter what.

Greg

Reply via email to