Changeset af6b1d16 for server


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.