With apr v1.4.6 still get same problem that the layout directive is being
ignored -
The result seems to be:
installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION}
regardless of actual setting
e.g.:
localstatedir: /var
installbuilddir: ${localstatedir}/build
++++++++
root@x105:[/data/prj/apr-1.4.6]apr-1-config --installbuilddir
/var/apr/build-1
root@x105:[/data/prj/apr-1.4.6]
++++++++
On Thu, Feb 9, 2012 at 4:32 PM, Michael Felt <[email protected]> wrote:
> Maybe I broke it? Possible. Still getting the unusual output for
> "apr-1-config --installbuilddir" - but after copy/paste of the layout data
> from apr to apu, make distclean, and configure; make install of both I am
> able to "configure" httpd v2.2.22 again.
>
> So, maybe there is a bug, but it is not biting me :) anymore.
>
>
> On Thu, Feb 9, 2012 at 3:20 PM, Michael Felt <[email protected]> wrote:
>
>> Hi. Previously, I had only had experience with APR as embedded in httpd.
>> I am working on creating some packages, starting with httpd, and I would
>> prefer to do this with apr/apu as seperate from the other packages - as I
>> understand the apr package is intended.
>>
>> I updated the config.layout to use the following:
>>
>> # Adopt layout using /opt (read-only) filesystem conventions on AIX
>> # Standard executables in /opt (shareable)
>> # man pages at AIX standard location (/usr/share/man)
>> # editable files, scripts in /etc and /var
>> <Layout AIX>
>> prefix: /opt
>> exec_prefix: /opt
>> bindir: ${exec_prefix}/bin
>> sbindir: ${exec_prefix}/sbin
>> includedir: ${exec_prefix}/include
>> libdir: ${exec_prefix}/lib
>> libexecdir: ${exec_prefix}/libexec
>> sysconfdir: /etc/apr
>> datadir: /usr/share
>> errordir: ${datadir}/error
>> iconsdir: ${datadir}/icons
>> htdocsdir: ${datadir}/htdocs
>> mandir: ${datadir}/man
>> manualdir: ${datadir}/manual
>> cgidir: ${datadir}/cgi-bin
>> localstatedir: /var
>> runtimedir: ${localstatedir}/run
>> logfiledir: ${localstatedir}/logs
>> proxycachedir: ${localstatedir}/proxy
>> installbuilddir: ${localstatedir}/build
>> </Layout>
>>
>> Maybe I broke it myself, moving the installbuilddir to /var/build -
>> however, the command
>> root@x105:[/data/prj/apr-1.4.5]apr-1-config --installbuilddir
>> /var/apr/build-1
>>
>> does not seem to following this at all.
>>
>> It seems to be ${datadir}/build-${APR_MAJOR_VERSION} -- in any case,
>> where is the name change coming from?
>>
>> regards,
>> Michael
>>
>>
>