Changeset 9dfd852b for server


Ignore:
Timestamp:
12/13/2005 08:25:49 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
77b7e4fe
Parents:
ef2519d8
Message:

Updated to MySQL-5.0.16

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/databases/mysql.xml

    ref2519d8 r9dfd852b  
    55  %general-entities;
    66
    7   <!ENTITY mysql-download-http "http://mysql.he.net/Downloads/MySQL-4.1/mysql-&mysql-version;.tar.gz">
    8   <!ENTITY mysql-download-ftp  "ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-4.1/mysql-&mysql-version;.tar.gz">
    9   <!ENTITY mysql-md5sum        "98ba9caea24b0a48ee06bb242ff2e37f">
    10   <!ENTITY mysql-size          "17 MB">
    11   <!ENTITY mysql-buildsize     "182 MB (additional 110 MB to run the test suite)">
    12   <!ENTITY mysql-time          "3.5 SBU (additional 12 SBU to run the test suite)">
     7  <!ENTITY mysql-download-http "http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-&mysql-version;.tar.gz/from/http://mysql.mirrors.hoobly.com/">
     8  <!ENTITY mysql-download-ftp  "ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-5.0/mysql-&mysql-version;.tar.gz">
     9  <!ENTITY mysql-md5sum        "ecf2ae1d782a8d129af940c15a44f477">
     10  <!ENTITY mysql-size          "19.0 MB">
     11  <!ENTITY mysql-buildsize     "195 MB (additional 180 MB to run the test suite)">
     12  <!ENTITY mysql-time          "3.8 SBU (additional 14.1 SBU to run the test suite)">
    1313]>
    1414
     
    6464    <bridgehead renderas="sect4">Optional</bridgehead>
    6565    <para role="optional"><xref linkend="openssl"/>,
    66     <xref linkend="tcpwrappers"/>,
     66    <xref linkend="tcpwrappers"/> and
    6767    <ulink url="http://sourceforge.net/projects/libedit/">libedit</ulink>
    68     (as an alternative to readline),
    69     <xref linkend="ORBit"/> (detected only if <xref linkend="which"/> is
    70     installed),
     68    (as an alternative to readline)</para>
     69
     70    <!-- These appear to be obsolete now that the docs have been pulled
     71         out of the main tarball. Configure still checks for them, but
     72         best I can tell, they are not used, nor can be used even if found
     73
    7174    <xref linkend="doxygen"/> and
    7275    <xref linkend="tex"/></para>
     76    -->
    7377
    7478  </sect2>
     
    8791    running the following commands:</para>
    8892
    89 <screen><userinput>CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr --sysconfdir=/etc \
    90     --libexecdir=/usr/sbin --localstatedir=/srv/mysql \
    91     --enable-thread-safe-client --enable-assembler \
    92     --enable-local-infile --with-named-thread-libs=-lpthread \
    93     --with-unix-socket-path=/var/run/mysql/mysql.sock \
    94     --without-debug --without-bench --without-readline &amp;&amp;
    95 make testdir=/usr/lib/mysql/mysql-test</userinput></screen>
     93    <!-- Removing the CPPFLAGS="-D_GNU_SOURCE" and
     94         -with-named-thread-libs=-lpthread as they don't appear to be
     95         required any longer
     96    -->
     97
     98<screen><userinput>./configure --prefix=/usr \
     99            --sysconfdir=/etc \
     100            --libexecdir=/usr/sbin \
     101            --localstatedir=/srv/mysql \
     102            --enable-thread-safe-client \
     103            --enable-assembler \
     104            --enable-local-infile \
     105            --with-unix-socket-path=/var/run/mysql/mysql.sock \
     106            --without-debug \
     107            --without-bench \
     108            --without-readline &amp;&amp;
     109make testdir=/tmp/mysql</userinput></screen>
     110
     111    <para>Some of the tests in the test suite are known to fail and this will
     112    cause the test suite to abort at that point. Issue the following command
     113    to disable the tests known to fail:</para>
     114
     115<screen><userinput>for TESTFILE in information_schema innodb join mysql_client_test \
     116                ps_2myisam ps_3innodb ps_4heap ps_5merge \
     117                sp-error strict type_float type_ranges
     118do
     119  mv mysql-test/t/$TESTFILE.test mysql-test/t/$TESTFILE.test.disabled
     120done
     121unset TESTFILE</userinput></screen>
    96122
    97123    <para>To test the results, issue: <command>make test</command>.</para>
     
    99125    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    100126
    101 <screen role="root"><userinput>make testdir=/usr/lib/mysql/mysql-test install &amp;&amp;
     127<screen role="root"><userinput>make testdir=/tmp/mysql install &amp;&amp;
     128rm -rf /tmp/mysql &amp;&amp;
    102129cd /usr/lib &amp;&amp;
    103130ln -v -sf mysql/libmysqlclient{,_r}.so* .</userinput></screen>
     
    119146
    120147    <para><parameter>--libexecdir=/usr/sbin</parameter>: This switch installs
    121     the <command>mysqld</command> daemon in an appropriate location.</para>
     148    the <command>mysqld</command> daemon and the
     149    <command>mysqlmanager</command> program in an appropriate location.</para>
    122150
    123151    <para><parameter>--localstatedir=/srv/mysql</parameter>: This switch
     
    136164    the <quote>LOAD DATA INFILE</quote> SQL statement.</para>
    137165
     166    <!-- Removing for now. See explanation above
    138167    <para><parameter>CPPFLAGS="-D_GNU_SOURCE"</parameter> and
    139     <parameter>--with-named-thread-libs=-lpthread</parameter>: This environment
     168    <parameter>-with-named-thread-libs=-lpthread</parameter>: This environment
    140169    variable and <command>configure</command> switch enables building the
    141170    package on NPTL systems.</para>
     171    -->
    142172
    143173    <para><parameter>--with-unix-socket-path=/var/run/mysql</parameter>:
     
    154184
    155185    <para><command>make testdir=...</command>: This installs the test suite in
    156     <filename class='directory'>/usr/lib/mysql/mysql-test</filename>.
    157     BLFS is currently seeking a method to omit the installation
    158     of the test suite altogether.</para>
    159 
    160     <para><command>ln -sf mysql/libmysqlclient{,_r}.so* .</command>: This
     186    <filename class='directory'>/tmp/mysql</filename>. The test suite is not
     187    required, nor does it function properly on an installed version of
     188    <application>MySQL</application>, so it is removed in the next step.</para>
     189
     190    <para><command>ln -v -sf mysql/libmysqlclient{,_r}.so* .</command>: This
    161191    command makes the <application>MySQL</application> shared libraries
    162192    available to other packages at run-time.</para>
    163193
    164     <para><option>--with-libwrap</option>: This switch adds tcpwrappers
    165     support to <application>MySQL</application>.</para>
    166 
    167194    <para><option>--with-openssl</option>: This switch adds OpenSSL support
    168195    to <application>MySQL</application>.</para>
     196
     197    <para><option>--with-libwrap</option>: This switch adds tcpwrappers
     198    support to <application>MySQL</application>. As of MySQL-&mysql-version;,
     199    this option is known to break the build.</para>
    169200
    170201  </sect2>
     
    207238
    208239      <para>Further configuration requires that the
    209       <application>MySQL</application> server be running. Start
     240      <application>MySQL</application> server is running. Start
    210241      the server using the following commands as the <systemitem
    211242      class="username">root</systemitem> user:</para>
     
    214245mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen>
    215246
    216       <para>A default installation does not setup a password for the
     247      <para>A default installation does not set up a password for the
    217248      administrator, so use the following command as the <systemitem
    218249      class="username">root</systemitem> user to set one. Replace
     
    256287
    257288      <seglistitem>
    258         <seg>comp_err, isamchk, isamlog, make_win_binary_distribution,
    259         make_win_src_distribution, msql2mysql, my_print_defaults, myisam_ftdump,
    260         myisamchk, myisamlog, myisampack, mysql, mysql_client_test, mysql_config,
    261         mysql_convert_table_format, mysql_create_system_tables, mysql_explain_log,
    262         mysql_find_rows, mysql_fix_extensions, mysql_fix_privilege_tables,
    263         mysql_install_db, mysql_secure_installation, mysql_setpermission,
    264         mysql_tableinfo, mysql_tzinfo_to_sql, mysql_waitpid, mysql_zap, mysqlaccess,
    265         mysqladmin, mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi,
    266         mysqld_safe, mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport,
    267         mysqlmanager, mysqlmanager-pwgen, mysqlmanagerc, mysqlshow, mysqltest,
    268         pack_isam, perror, replace, resolve_stack_dump, and resolveip</seg>
    269         <seg>libdbug.a, libheap.a, libmerge.a, libmyisam.a, libmyisammrg.a,
    270         libmysqlclient.[so,a], libmysqlclient_r.[so,a], libmystrings.a, libmysys.a,
    271         libnisam.a, and libvio.a</seg>
     289        <seg>comp_err, innochecksum, msql2mysql, my_print_defaults,
     290        myisam_ftdump, myisamchk, myisamlog, myisampack, mysql,
     291        mysql_client_test, mysql_config, mysql_convert_table_format,
     292        mysql_create_system_tables, mysql_explain_log, mysql_find_rows,
     293        mysql_fix_extensions, mysql_fix_privilege_tables, mysql_install_db,
     294        mysql_secure_installation, mysql_setpermission, mysql_tableinfo,
     295        mysql_tzinfo_to_sql, mysql_waitpid, mysql_zap, mysqlaccess, mysqladmin,
     296        mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi, mysqld_safe,
     297        mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport, mysqlmanager,
     298        mysqlshow, mysqltest, mysqltestmanager, mysqltestmanager-pwgen,
     299        mysqltestmanagerc, perror, replace, resolve_stack_dump, and
     300        resolveip</seg>
     301        <seg>libdbug.a, libheap.a, libmyisam.a, libmyisammrg.a,
     302        libmysqlclient.[so,a], libmysqlclient_r.[so,a], libmystrings.a,
     303        libmysys.a, and libvio.a</seg>
    272304        <seg>/srv/mysql, /usr/include/mysql, /usr/lib/mysql, /usr/share/mysql, and
    273305        /var/run/mysql</seg>
     
    278310
    279311    <para>Descriptions of all the programs and libraries would be several
    280     pages long. Instead, consult the <application>MySQL</application>
    281     documentation for full details.</para>
    282 
    283     <para>Certain <application>MySQL</application> support programs may
    284     require the <application>Perl</application> DBI modules to be
    285     installed to function properly.</para>
     312    pages long. Instead, consult the <filename>mysql.info</filename>
     313    documentation or the on-line reference manual at <ulink
     314    url="http://dev.mysql.com/doc/refman/5.0/en/index.html"/>.</para>
     315
     316    <para>The <application>Perl</application> DBI modules must be installed
     317    for some of the <application>MySQL</application> support programs to
     318    function properly.</para>
    286319
    287320  </sect2>
Note: See TracChangeset for help on using the changeset viewer.