Changed MySQL instructions to compile without NPTL patch.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2798 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2004-10-12 19:20:40 +00:00
parent 4160539109
commit c2c2d76fc8
3 changed files with 13 additions and 9 deletions

View File

@ -419,6 +419,9 @@ otherterm="gSMB">SMB</glossseealso></glossdef></glossentry>
<glossentry id="gNIS"><glossterm><acronym>NIS</acronym></glossterm>
<glossdef><para>Network Information Service</para></glossdef></glossentry>
<glossentry id="gNPTL"><glossterm><acronym>NPTL</acronym></glossterm>
<glossdef><para>Native Posix Thread Library</para></glossdef></glossentry>
<glossentry id="gNTP"><glossterm><acronym>NTP</acronym></glossterm>
<glossdef><para>Network Time Protocol</para></glossdef></glossentry>

View File

@ -39,12 +39,6 @@ client programs and libraries.</para>
<listitem><para>Estimated build time: &mysql-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch (for building against NPTL): <ulink
url="&patch-root;/mysql-&mysql-version;-nptl-1.patch"/></para></listitem>
</itemizedlist></sect3>
<sect3><title><application>My<acronym>SQL</acronym></application> dependencies
</title>
<sect4><title>Optional</title>
@ -68,12 +62,12 @@ useradd -c mysql -d /dev/null -g mysql -s /bin/false mysql</command></userinput>
<para>Build and install <application>My<acronym>SQL</acronym></application> by
running the following commands:</para>
<screen><userinput><command>patch -Np1 -i ../mysql-&mysql-version;-nptl-1.patch &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc \
<screen><userinput><command>CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/sbin --localstatedir=/srv/mysql \
--enable-thread-safe-client --enable-assembler \
--without-readline --without-debug \
--enable-local-infile --without-bench &amp;&amp;
--enable-local-infile --without-bench \
--with-named-thread-libs=-lpthread &amp;&amp;
make testdir=/usr/lib/mysql/mysql-test &amp;&amp;
make testdir=/usr/lib/mysql/mysql-test install &amp;&amp;
cd /usr/lib &amp;&amp;
@ -109,6 +103,10 @@ LOAD DATA INFILE <acronym>SQL</acronym> statement.</para>
<para><option>--without-bench</option>: This switch skips building the
benchmark suite.</para>
<para><parameter>CPPFLAGS="-D_GNU_SOURCE" --with-named-thread-libs=-lpthread</parameter>:
This environment variable and configure switch enable building on
<acronym>NPTL</acronym> systems.</para>
<para><command>make testdir=...</command>: This installs the test suite in
<filename class='directory'>/usr/lib/mysql/mysql-test</filename>.
<acronym>BLFS</acronym> is currently seeking a method to omit the installation

View File

@ -21,6 +21,9 @@ who wrote what.</para>
<para>&version; - &releasedate;</para>
<itemizedlist>
<listitem><para>October 12th, 2004 [igor]: Changed MySQL instructions to
compile without NPTL patch.</para></listitem>
<listitem><para>October 12th, 2004 [igor]: Updated mouse configuration
for XFree86 and removed information about installing XFree86's DRI