Hi, folks,
I'm building httpd 2.4.54 on RHEL 6. I took the apr files supplied and
put them into ./httpd2.4.54/srclib, then did the configure/make/make
install thus:
./configure --prefix /opt/apache/httpd --with-included-apr
--with-pcre=/usr/local/bin/pcre2-config
Everything built fine and ran fine. Then I decided to change the
layout. I copied and altered the RedHat layout like to be like so:
<Layout Local>
prefix: /opt/apache/httpd
exec_prefix: ${prefix}
bindir: ${prefix}/bin
sbindir: ${prefix}/sbin
libdir: ${prefix}/lib
libexecdir: ${prefix}/lib/apache
mandir: ${prefix}/man
sysconfdir: /etc/httpd/conf
datadir: /data/htdocs
installbuilddir: ${datadir}/build
errordir: ${datadir}/error
iconsdir: ${datadir}/icons
htdocsdir: ${datadir}/html
manualdir: ${datadir}/manual
cgidir: ${datadir}/cgi-bin
includedir: ${prefix}/include/apache
localstatedir: /var
runtimedir: ${localstatedir}/run
logfiledir: ${localstatedir}/log/httpd
proxycachedir: ${localstatedir}/cache/httpd
</Layout>
and ran ./configure --with-included-apr
--with-pcre=/usr/local/bin/pcre2-config --enable-layout=Local
It made okay, but it died on make install:
make[3]: Leaving directory `/root/httpd-2.4.54/srclib/apr-util'
/root/httpd-2.4.54/srclib/apr/build/mkdir.sh
/opt/apache/httpd/include/apache /opt/apache/httpd/lib/pkgconfig \
/opt/apache/httpd/lib /opt/apache/httpd/bin
for f in /root/httpd-2.4.54/srclib/apr-util/include/*.h
/root/httpd-2.4.54/srclib/apr-util/include/*.h; do \
/usr/bin/install -c -m 644 ${f} /opt/apache/httpd/include/apache; \
done
/usr/bin/install -c -m 644 apr-util.pc
/opt/apache/httpd/lib/pkgconfig/apr-util-1.pc
list=''; for i in $list; do \
( cd $i ; make DESTDIR= install ); \
done
/bin/sh /root/httpd-2.4.54/srclib/apr/libtool --mode=install
/usr/bin/install -c -m 755 libaprutil-1.la /opt/apache/httpd/lib
libtool: error: *error: cannot install 'libaprutil-1.la
<http://libaprutil-1.la>' to a directory not ending in /etc/httpd24/lib*
make[2]: *** [install] Error 1
make[2]: Leaving directory `/root/httpd-2.4.54/srclib/apr-util'
How can I eliminate this error? Do I need to install the apr files
separately and move on?
Thanks,
John A
--
John Adams
Senior Linux/Middleware Administrator | Information Technology Services
+1-501-916-3010 | jxadams@ualr.edu | http://ualr.edu/itservices
*UA Little Rock*
Reminder: IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts. For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.
I'm building httpd 2.4.54 on RHEL 6. I took the apr files supplied and
put them into ./httpd2.4.54/srclib, then did the configure/make/make
install thus:
./configure --prefix /opt/apache/httpd --with-included-apr
--with-pcre=/usr/local/bin/pcre2-config
Everything built fine and ran fine. Then I decided to change the
layout. I copied and altered the RedHat layout like to be like so:
<Layout Local>
prefix: /opt/apache/httpd
exec_prefix: ${prefix}
bindir: ${prefix}/bin
sbindir: ${prefix}/sbin
libdir: ${prefix}/lib
libexecdir: ${prefix}/lib/apache
mandir: ${prefix}/man
sysconfdir: /etc/httpd/conf
datadir: /data/htdocs
installbuilddir: ${datadir}/build
errordir: ${datadir}/error
iconsdir: ${datadir}/icons
htdocsdir: ${datadir}/html
manualdir: ${datadir}/manual
cgidir: ${datadir}/cgi-bin
includedir: ${prefix}/include/apache
localstatedir: /var
runtimedir: ${localstatedir}/run
logfiledir: ${localstatedir}/log/httpd
proxycachedir: ${localstatedir}/cache/httpd
</Layout>
and ran ./configure --with-included-apr
--with-pcre=/usr/local/bin/pcre2-config --enable-layout=Local
It made okay, but it died on make install:
make[3]: Leaving directory `/root/httpd-2.4.54/srclib/apr-util'
/root/httpd-2.4.54/srclib/apr/build/mkdir.sh
/opt/apache/httpd/include/apache /opt/apache/httpd/lib/pkgconfig \
/opt/apache/httpd/lib /opt/apache/httpd/bin
for f in /root/httpd-2.4.54/srclib/apr-util/include/*.h
/root/httpd-2.4.54/srclib/apr-util/include/*.h; do \
/usr/bin/install -c -m 644 ${f} /opt/apache/httpd/include/apache; \
done
/usr/bin/install -c -m 644 apr-util.pc
/opt/apache/httpd/lib/pkgconfig/apr-util-1.pc
list=''; for i in $list; do \
( cd $i ; make DESTDIR= install ); \
done
/bin/sh /root/httpd-2.4.54/srclib/apr/libtool --mode=install
/usr/bin/install -c -m 755 libaprutil-1.la /opt/apache/httpd/lib
libtool: error: *error: cannot install 'libaprutil-1.la
<http://libaprutil-1.la>' to a directory not ending in /etc/httpd24/lib*
make[2]: *** [install] Error 1
make[2]: Leaving directory `/root/httpd-2.4.54/srclib/apr-util'
How can I eliminate this error? Do I need to install the apr files
separately and move on?
Thanks,
John A
--
John Adams
Senior Linux/Middleware Administrator | Information Technology Services
+1-501-916-3010 | jxadams@ualr.edu | http://ualr.edu/itservices
*UA Little Rock*
Reminder: IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts. For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.