[blfs-book] r11966 - trunk/BOOK/general/genlib

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Sat Oct 12 03:10:08 PDT 2013


Author: igor
Date: Sat Oct 12 03:10:07 2013
New Revision: 11966

Log:
disable static libiodbc libraries, add parallel build patch

Modified:
   trunk/BOOK/general/genlib/libiodbc.xml

Modified: trunk/BOOK/general/genlib/libiodbc.xml
==============================================================================
--- trunk/BOOK/general/genlib/libiodbc.xml	Sat Oct 12 01:04:39 2013	(r11965)
+++ trunk/BOOK/general/genlib/libiodbc.xml	Sat Oct 12 03:10:07 2013	(r11966)
@@ -56,6 +56,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch:
+          <ulink url="&patch-root;/libiodbc-&libiodbc-version;-parallel_build-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">libiodbc Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
@@ -76,10 +86,13 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr                   \
+<screen><userinput>patch -Np1 -i ../libiodbc-&libiodbc-version;-parallel_build-1.patch &&
+autoreconf -fiv &&
+./configure --prefix=/usr                   \
             --with-iodbc-inidir=/etc/iodbc  \
             --includedir=/usr/include/iodbc \
-            --disable-libodbc               &&
+            --disable-libodbc               \
+            --disable-static                &&
 make</userinput></screen>
 
     <para>
@@ -98,7 +111,7 @@
     <title>Command Explanations</title>
 
     <para>
-      <parameter>--with-iodbc-inidir</parameter>: <application>libiodbc</application>
+      <parameter>--with-iodbc-inidir=/etc/iodbc</parameter>: <application>libiodbc</application>
       will install configuration files in this directory.
     </para>
 
@@ -114,6 +127,9 @@
       avoid a conflict with <application>unixODBC</application>.
     </para>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/static-libraries.xml"/>
+
   </sect2>
 
   <sect2 role="content">
@@ -126,8 +142,8 @@
 
       <seglistitem>
         <seg>iodbc-config, iodbctest, iodbctestw, and iodbcadm</seg>
-        <seg>libiodbc.{a,so}, libiodbcinst.{a,so}, and
-        libiodbcadm.{a,so}</seg>
+        <seg>libiodbc.so, libiodbcinst.so, and
+        libiodbcadm.so</seg>
         <seg>/usr/include/iodbc, /usr/share/libiodbc, and /etc/iodbc</seg>
       </seglistitem>
     </segmentedlist>



More information about the blfs-book mailing list