On 4/3/06, BLFS Trac <[EMAIL PROTECTED]> wrote:
>
>  I should correct the reference to Neon above and say it is
>  the Apache APR stuff that gets installed in /usr/something.
>  Archaic sent me a message that provides a switch on configure
>  that supposedly fixes this.

Here's what I was using to get the APR stuff to go where I wanted
(plus other unrelated switches).

./configure \
        --disable-static \
        --disable-neon-version-check \
        --enable-layout=Debian \
        --with-installbuilddir=/usr/share/apr

The important switches are --enable-layout and --with-installbuilddir.
 Look at config.layout file in the apr and apr-util directories.  This
describes Debian, which was pretty FHS compliant and put things where
I wanted.  installbuilddir puts apr_rules.mk and libtool (doubt either
of these are worthwhile to be installed) in /usr/share/apr.

/usr/share/apr/libtool
/usr/share/apr/apr_rules.mk

Hmm, looking at the file list again, the --enable-layout may need a
little more investigation.  The APR includes ended up getting
installed into /usr/include/apr-0.  Not really what I want there. 
Other APR files are:

/usr/bin/apr-config
/usr/bin/apu-config
/usr/lib/libapr-0.so.0.9.7
/usr/lib/libapr-0.so.0
/usr/lib/libapr-0.so
/usr/lib/libapr-0.la
/usr/lib/apr.exp
/usr/lib/libaprutil.so.0.9.7
/usr/lib/libaprutil.so.0
/usr/lib/libaprutil.so
/usr/lib/libaprutil.la
/usr/lib/aprutil.exp
/usr/include/apr-0/apr.h
... other headers

For the config.layout, we could patch it as we do for Apache and
choose --enable-layout=FHS.

http://www.linuxfromscratch.org/patches/blfs/svn/httpd-2.2.0-config-1.patch

That would probably even be a drop-in patch (except directory change).
 However, I think we could get by without the patch.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to