mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
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:
parent
4160539109
commit
c2c2d76fc8
@ -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>
|
||||
|
||||
|
@ -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 &&
|
||||
./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 &&
|
||||
--enable-local-infile --without-bench \
|
||||
--with-named-thread-libs=-lpthread &&
|
||||
make testdir=/usr/lib/mysql/mysql-test &&
|
||||
make testdir=/usr/lib/mysql/mysql-test install &&
|
||||
cd /usr/lib &&
|
||||
@ -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
|
||||
|
@ -22,6 +22,9 @@ who wrote what.</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
|
||||
modules.</para></listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user