Changeset 9c98f0e for server


Ignore:
Timestamp:
12/28/2008 07:38:01 AM (15 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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:
3053a2f7
Parents:
0829916
Message:

Updated to mysql-5.1.30.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/databases/mysql.xml

    r0829916 r9c98f0e  
    99  <!ENTITY mysql-download-http "&sources-anduin-http;/m/mysql-&mysql-version;.tar.gz">
    1010  <!ENTITY mysql-download-ftp  "&sources-anduin-ftp;/m/mysql-&mysql-version;.tar.gz">
    11   <!ENTITY mysql-md5sum        "b45cd6c89e35dfc1cdbe1a1f782aefbf">
    12   <!ENTITY mysql-size          "24 MB">
    13   <!ENTITY mysql-buildsize     "405 MB (additional 65 MB to run the test suite)">
    14   <!ENTITY mysql-time          "6.0 SBU (Test suite is an additional 52 minutes, only partially CPU dependent)">
     11  <!ENTITY mysql-md5sum        "b658e58887a74dce65224ae0fc8ee06a">
     12  <!ENTITY mysql-size          "28 MB">
     13  <!ENTITY mysql-buildsize     "386 MB (additional 250 MB to run the test suite)">
     14  <!ENTITY mysql-time          "5.1 SBU (Test suite is an additional 100 minutes, only partially CPU dependent)">
    1515]>
    1616
     
    6464    </itemizedlist>
    6565
     66    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     67    <itemizedlist spacing="compact">
     68      <listitem>
     69        <para>Required Patch: <ulink
     70         url="&patch-root;/mysql-&mysql-version;-limit-test-1.patch"/></para>
     71       </listitem>
     72    </itemizedlist>
     73
     74
    6675    <bridgehead renderas="sect3">MySQL Dependencies</bridgehead>
    6776
     
    92101        -u 40 mysql</userinput></screen>
    93102
     103    <note><para>There are a great many options available to
     104    <userinput>./configure</userinput>.  Check the output of the
     105    <option>--help</option> option for additional customization
     106    options.</para></note>
     107
    94108    <para>Build and install <application>MySQL</application> by
    95109    running the following commands:</para>
    96110
    97 <screen><userinput>C_EXTRA_FLAGS=-fno-strict-aliasing \
     111<screen><userinput>patch -Np1 -i ../mysql-&mysql-version;-limit-test-1.patch &amp;&amp;
    98112./configure --prefix=/usr \
    99113            --sysconfdir=/etc \
     
    105119            --with-unix-socket-path=/var/run/mysql/mysql.sock \
    106120            --without-debug \
    107             --without-bench \
    108121            --without-readline \
    109             --with-berkeley-db \
    110             --with-extra-charsets=all &amp;&amp;
    111 make testdir=/tmp/mysql</userinput></screen>
    112 
    113 <!--
    114     <para>Some of the tests in the test suite are known to fail and this will
    115     cause the test suite to abort at that point. Issue the following command
    116     to disable the tests known to fail:</para>
    117 
    118 <screen><userinput>for TESTFILE in information_schema innodb join mysql_client_test \
    119                 ps_2myisam ps_3innodb ps_4heap ps_5merge \
    120                 sp-error strict type_float type_ranges
    121 do
    122   mv mysql-test/t/$TESTFILE.test mysql-test/t/$TESTFILE.test.disabled
    123 done
    124 unset TESTFILE</userinput></screen>
    125 -->
     122            --with-plugins=innobase,myisam \
     123            --with-extra-charsets=all \
     124            --with-ssl &amp;&amp;
     125make</userinput></screen>
    126126
    127127    <para>To test the results, issue: <command>make test</command>. Note that
     
    129129    will need to add an appropriate entry to the
    130130    <filename>/etc/hosts.allow</filename> file for the
    131     <command>mysqld</command> daemon, else many of the tests will fail.</para>
     131    <command>mysqld</command> daemon. Otherwise many of the tests will fail.</para>
    132132
    133133    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    134134
    135 <screen role="root"><userinput>make testdir=/tmp/mysql install &amp;&amp;
     135<screen role="root"><userinput>make benchdir_root=/tmp/mysql-bench install &amp;&amp;
    136136rm -rf /tmp/mysql &amp;&amp;
    137137cd /usr/lib &amp;&amp;
     
    151151    <title>Command Explanations</title>
    152152
    153     <para><parameter>C_EXTRA_FLAGS=-fno-strict-aliasing</parameter>: This
    154     environment variable adjusts the compiler optimization to avoid failures in
    155     the testsuite and other operations.</para>
    156 
    157153    <para><parameter>--libexecdir=/usr/sbin</parameter>: This switch installs
    158154    the <command>mysqld</command> daemon and the
     
    179175    the default <filename class="directory">/tmp</filename>.</para>
    180176
    181     <para><parameter>--without-bench</parameter>: This switch skips building
    182     the benchmark suite.</para>
    183 
    184177    <para><parameter>--without-readline</parameter>: This switch forces the
    185178    build to use the system copy of <application>readline</application> instead
    186179    of the bundled copy.</para>
    187180
    188     <para><parameter>--with-berkeley-db</parameter>: This switch enables
    189     using <application>Berkeley DB</application> tables as a back end.</para>
    190 
    191181    <para><parameter>--with-extra-charsets=all</parameter>: This switch enables
    192182    international character sets within the suite.</para>
    193183
    194     <para><command>make testdir=...</command>: This installs the test suite in
    195     <filename class='directory'>/tmp/mysql</filename>. The test suite is not
    196     required, nor does it function properly on an installed version of
    197     <application>MySQL</application>, so it is removed in the next step.</para>
     184    <para><parameter>--with-plugins=innobase,myisam</parameter>: This switch enables
     185    two useful table types.  Check <command>./configure --help</command> for
     186    other table types.</para>
     187
     188    <para><command>make  benchdir_root=...</command>: This installs the benchmark
     189    and test suites in a non-system location.</para>
    198190
    199191    <para><command>ln -v -sf mysql/libmysqlclient{,_r}.so* .</command>: This
     
    236228      as the <systemitem class="username">root</systemitem> user:</para>
    237229
    238 <screen role="root"><userinput>install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf</userinput></screen>
     230<screen role="root"><userinput>install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf
     231sed -i -e s/^skip-federated/#skip-federated/ /etc/my.cnf</userinput></screen>
     232
     233      <para>The change to <filename>/etc/my.cnf</filename> can be omitted if the
     234      option <option>--with-plugins=federated</option> is used.</para>
    239235
    240236      <para>You can now install a database and change the ownership to the
Note: See TracChangeset for help on using the changeset viewer.