[blfs-book] r12320 - in trunk/BOOK: introduction/welcome server/major

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Sun Dec 1 11:14:47 PST 2013


Author: pierre
Date: Sun Dec  1 11:14:47 2013
New Revision: 12320

Log:
Fix apxs so that it may use absolute paths when installing apache modules

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/major/apache.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Sun Dec  1 11:02:19 2013	(r12319)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Sun Dec  1 11:14:47 2013	(r12320)
@@ -47,6 +47,11 @@
       <para>December 1st, 2013</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Fix <application>apxs</application> so that absolute
+          paths may be used for <application>apache</application>
+          modules.</para>
+        </listitem>
+        <listitem>
           <para>[fernando] - Update to goffice-0.10.9. Fixes
           <ulink url="&blfs-ticket-root;4394">#4394</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/server/major/apache.xml
==============================================================================
--- trunk/BOOK/server/major/apache.xml	Sun Dec  1 11:02:19 2013	(r12319)
+++ trunk/BOOK/server/major/apache.xml	Sun Dec  1 11:14:47 2013	(r12320)
@@ -130,6 +130,7 @@
     </para>
 
 <screen><userinput>patch -Np1 -i ../httpd-&apache-version;-blfs_layout-1.patch &&
+sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in &&
 ./configure --enable-layout=BLFS                            \
             --enable-mods-shared="all cgi"                  \
             --enable-mpms-shared=all                        \
@@ -166,6 +167,12 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>sed '/dir.*CFG_PREFIX/s@^@#@'...</command>: Forces the
+      <application>apxs</application> utility to use absolute pathnames for
+      modules, when instructed to do so.
+    </para>
+
+    <para>
       <parameter>--enable-mods-shared="all cgi"</parameter>: The modules should be
       compiled and used as Dynamic Shared Objects (DSOs) so they can be included
       and excluded from the server using the run-time configuration directives.



More information about the blfs-book mailing list