Changeset af6b1d16


Ignore:
Timestamp:
02/13/2013 02:41:32 AM (11 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3d9adc39
Parents:
ed634f0
Message:

Added instructions to libiodbc and Virtuoso so they play nice with unixODBC

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11023 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    red634f0 raf6b1d16  
    44-->
    55
    6 <!ENTITY day          "12">                   <!-- Always 2 digits -->
     6<!ENTITY day          "13">                   <!-- Always 2 digits -->
    77<!ENTITY month        "02">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2013">
     
    1010<!ENTITY copyholder   "The BLFS Development Team">
    1111<!ENTITY version      "&year;-&month;-&day;">
    12 <!ENTITY releasedate  "February 12th, &year;">
     12<!ENTITY releasedate  "February 13th, &year;">
    1313<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1414<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/genutils/libiodbc.xml

    red634f0 raf6b1d16  
    6161    <bridgehead renderas="sect4">Recommended</bridgehead>
    6262    <para role="recommended">
    63     <xref linkend="gtk2"/> (in order to get the admin tool created)
     63    <xref linkend="gtk2"/> (to create the GUI admin tool)
    6464    </para>
    6565
     
    7272    <title>Installation of libiodbc</title>
    7373
    74     <para>Install <application>libiodbc</application> by running the following
    75     commands:</para>
     74    <para>
     75      Install <application>libiodbc</application> by running the following
     76      commands:
     77    </para>
    7678
    77 <screen><userinput>./configure prefix=/usr --with-iodbc-inidir=/etc/iodbc &amp;&amp;
     79<screen><userinput>./configure --prefix=/usr                   \
     80            --with-iodbc-inidir=/etc/iodbc  \
     81            --includedir=/usr/include/iodbc \
     82            --disable-libodbc               &amp;&amp;
    7883make</userinput></screen>
    7984
    80     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     85    <para>
     86      This package does not come with a test suite.
     87    </para>
     88
     89    <para>
     90      Now, as the <systemitem class="username">root</systemitem> user:
     91    </para>
    8192
    8293<screen role="root"><userinput>make install</userinput></screen>
     
    8798    <title>Command Explanations</title>
    8899
    89     <para><option>--with-iodbc-inidir</option>: <application>libiodbc</application> will
    90     install config files in this directory.</para>
     100    <para>
     101      <parameter>--with-iodbc-inidir</parameter>: <application>libiodbc</application>
     102      will install configuration files in this directory.
     103    </para>
     104
     105    <para>
     106      <parameter>--includedir=/usr/include/iodbc</parameter>: This installs the
     107      interface headers to a private directory to avoid a conflict with headers
     108      installed by <application>unixODBC</application>.
     109    </para>
     110
     111    <para>
     112      <parameter>--disable-libodbc</parameter>: This prevents the installation
     113      of the <filename class="symlink">libodbc.so</filename> symbolic link to
     114      avoid a conflict with <application>unixODBC</application>.
     115    </para>
    91116
    92117  </sect2>
     
    101126
    102127      <seglistitem>
    103         <seg>iodbc-config, iodbctest, iodbctestw, iodbcadm</seg>
    104         <seg>libodbc.{a,so}, libiodbc.{a,so}, libiodbcinst.{a,so}, libiodbcadm.{a,so}</seg>
    105         <seg>/usr/share/libiodbc, /etc/iodbc</seg>
     128        <seg>iodbc-config, iodbctest, iodbctestw, and iodbcadm</seg>
     129        <seg>libiodbc.{a,so}, libiodbcinst.{a,so}, and
     130        libiodbcadm.{a,so}</seg>
     131        <seg>/usr/include/iodbc, /usr/share/libiodbc, and /etc/iodbc</seg>
    106132      </seglistitem>
    107133    </segmentedlist>
     
    115141        <term><command>iodbc-config</command></term>
    116142        <listitem>
    117           <para>is a utility for retrieving the installation options of libiodbc</para>
     143          <para>is a utility for retrieving the installation options of libiodbc.</para>
    118144          <indexterm zone="libiodbc iodbc-config">
    119145            <primary sortas="b-iodbc-config">iodbc-config</primary>
     
    125151        <term><command>iodbctest{,w}</command></term>
    126152        <listitem>
    127           <para>is an interactive SQL processor</para>
     153          <para>are interactive SQL processors.</para>
    128154          <indexterm zone="libiodbc iodbctest">
    129155            <primary sortas="b-iodbctest">iodbctest</primary>
     
    135161        <term><command>iodbcadm</command></term>
    136162        <listitem>
    137           <para>is a graphical administration utility</para>
     163          <para>is a graphical administration utility.</para>
    138164          <indexterm zone="libiodbc iodbcadm">
    139165            <primary sortas="b-iodbcadm">iodbcadm</primary>
  • introduction/welcome/changelog.xml

    red634f0 raf6b1d16  
    4646
    4747    <listitem>
     48      <para>February 13th, 2013</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[randy] - Added instructions to libiodbc and Virtuoso so
     52          they play nice with unixODBC.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
     57    <listitem>
    4858      <para>February 11th, 2013</para>
    4959      <itemizedlist>
  • server/other/virtuoso.xml

    red634f0 raf6b1d16  
    99  <!ENTITY virtuoso-md5sum        "3991149c570f3738c3e819ce603e487f">
    1010  <!ENTITY virtuoso-size          "113 MB">
    11   <!ENTITY virtuoso-buildsize     "530 MB">
    12   <!ENTITY virtuoso-time          "4.2 SBU">
     11  <!ENTITY virtuoso-buildsize     "770 MB (additional 2 GB to run the test suite)">
     12  <!ENTITY virtuoso-time          "5.0 SBU (additional 10 SBU to run the test suite)">
    1313]>
    1414
     
    8282    <xref linkend="libiodbc"/>,
    8383    <xref linkend="libxml2"/>,
    84     <xref linkend="openssl"/> and
    85     <xref linkend="openldap"/>.
     84    <xref linkend="openssl"/>, and
     85    <xref linkend="openldap"/>
    8686   <!--<xref linkend="jdk"/>-->
    8787    </para>
     
    8989    <bridgehead renderas="sect4">Optional</bridgehead>
    9090    <para role="optional">
    91     <xref linkend="imagemagick"/> and
    92     <xref linkend="python2"/>
     91    <xref linkend="imagemagick"/>,
     92    <xref linkend="python2"/>, and
     93    <xref linkend="mitkrb"/>
     94    <!-- Currently broken
     95    <xref linkend="php"/>
     96    <xref linkend="ruby"/>
     97    <ulink url="https://libwbxml.opensync.org/">libwbxml</ulink
     98    -->
    9399    </para>
    94100
     
    104110    commands:</para>
    105111
    106 <screen><userinput>./configure --prefix=/usr \
    107             --sysconfdir=/etc \
    108             --localstatedir=/var \
    109             --without-internal-zlib \
     112<screen><userinput>sed -i "s|virt_iodbc_dir/include|&amp;/iodbc|" configure  &amp;&amp;
     113./configure --prefix=/usr                             \
     114            --sysconfdir=/etc                         \
     115            --localstatedir=/var                      \
     116            --with-iodbc=/usr                         \
     117            --with-readline                           \
     118            --without-internal-zlib                   \
    110119            --program-transform-name="s/isql/isql-v/" \
    111             --disable-all-vads \
    112             --disable-static &amp;&amp;
     120            --disable-all-vads                        \
     121            --disable-static                          &amp;&amp;
    113122make</userinput></screen>
    114123
    115     <para><application>Virtuoso</application> does not come with a callable test
    116     suite. An intensive check routine is part of the build process.</para>
     124    <para>To test the results, issue <command>make -k check</command>.</para>
    117125
    118126    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    119127
    120 <screen role="root"><userinput>make install</userinput></screen>
     128<screen role="root"><userinput>make install &amp;&amp;
     129install -v -m755 -d /usr/share/doc/virtuoso-&virtuoso-version; &amp;&amp;
     130ln -s   -v          ../../virtuoso/doc \
     131                    /usr/share/doc/virtuoso-&virtuoso-version;</userinput></screen>
    121132
    122133  </sect2>
     
    125136    <title>Command Explanations</title>
    126137
    127     <para><option>--without-internal-zlib</option>: This option is set to use
    128     the installed <application>zlib</application> and not the bundled
    129     one.</para>
    130 
    131     <para><option>--program-transform-name</option>: Both
     138    <para><command>sed -i ...</command>: This command is used to modify the
     139    <envar>CPPFLAGS</envar> variable so that the <application>libiodbc</application>
     140    interface headers are found by the <command>configure</command> script.</para>
     141
     142    <para><parameter>--with-iodbc=/usr</parameter>: This parameter is used so
     143    that the build will use the system <application>libiodbc</application> interface
     144    headers and not the headers in the source tree.</para>
     145
     146    <para><parameter>--with-readline</parameter>: This parameter is used so that
     147    the system <application>Readline</application> library is used.</para>
     148
     149    <para><parameter>--without-internal-zlib</parameter>: This parameter is set
     150    so that the installed <application>zlib</application> library is used and
     151    not the bundled one.</para>
     152
     153    <para><parameter>--program-transform-name</parameter>: Both
    132154    <application>Virtuoso</application> and <application>unixODBC</application>
    133     install a program named <command>isql</command>. Use this option to rename
    134     <application>virtuoso</application>s program to <command>isql-v</command></para>
    135 
    136     <para><option>--disable-all-vads</option>: This option disables the building of
    137     all the VAD packages (tutorials, demos, etc.).</para>
    138 
    139     <para><option>--disable-static</option>: This option disables the building of static
    140     libraries. However, the main virtuoso library, libvirtuoso-t, is still built as a
    141     static library.</para>
    142 
    143     <para><option>--enable-python</option>:  Add this option if
    144     <application>Python</application> is installed. It enables the
    145     use of <application>Python</application> by
    146     <application>Virtuoso</application>.</para>
    147 <!--
     155    install a program named <command>isql</command>. Use this parameter to rename
     156    <application>virtuoso</application>s program to <command>isql-v</command>.</para>
     157
     158    <para><parameter>--disable-all-vads</parameter>: This parameter disables
     159    building all the VAD packages (tutorials, demos, etc.).</para>
     160
     161    <para><parameter>--disable-static</parameter>: This option disables building
     162    static libraries. However, the main <application>Virtuoso</application>
     163    libraries, <filename class="libraryfile">libvirtuoso-t</filename> and
     164    <filename class="libraryfile">libvirtuoso-iodbc-t</filename> are still
     165    built as static libraries.</para>
     166
     167    <para><option>--enable-python</option>: Add this option if
     168    <application>Python</application> is installed to enable building
     169    <application>Python</application> bindings.</para>
     170
     171<!-- broken with JDK-version7
    148172    <para><option>-&#45;with-jdk4</option>: Add this option to specify the path
    149173    to the <xref linkend="jdk"/> and to enable making use of Java.</para>
    150174-->
     175
    151176    <para><option>--with-port</option>: Add this if you want the
    152     <application>virtuoso</application> server to listen on another port than
     177    <application>Virtuoso</application> server to listen on a port other than
    153178    1111.</para>
    154179
     180    <para><option>--enable-aio</option>: Add this if you want
     181    <application>Virtuoso</application> to perform asynchronous file I/O
     182    operations instead of synchronous file I/O.</para>
     183
     184    <para><option>--enable-perl</option>: Do not use this option if you built
     185    Perl according to the LFS instructions. The build will fail with a note
     186    similar to <computeroutput>Your perl should be compiled w -Dusemultiplicity.
     187    Check the output of perl -V:usemultiplicity</computeroutput>.</para>
     188
     189    <para>Note that passing the <option>with-jdk4=${JAVA_HOME}</option>,
     190    <option>--enable-php5=/usr</option>, <option>--enable-ruby</option>, and
     191    <option>--enable-wbxml2=/usr</option> options all will fail during the
     192    <command>configure</command> phase of the build. They will not break
     193    the build, but the desired support will not be included in the build.</para>
    155194  </sect2>
    156195
Note: See TracChangeset for help on using the changeset viewer.