#1879: MySQL test failures and charset support
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: defect | Status: new
Priority: high | Milestone: 6.2
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Comment (by [EMAIL PROTECTED]):
A couple of discoveries...
I was able to get all the tests to pass using gcc 4.0.2 with:
{{{
CFLAGS="-O3 -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing" \
CXXFLAGS="-O3 -fno-strict-aliasing -felide-constructors -fno-exceptions
-fno-rtti -fPIC -DPIC -DUNDEF_HAVE_INITGROUPS" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/sbin \
--localstatedir=/srv/mysql \
--enable-thread-safe-client \
--enable-assembler \
--enable-local-infile \
--with-unix-socket-path=/var/run/mysql/mysql.sock \
--without-debug \
--without-bench \
--without-readline \
--with-extra-charsets=all
}}}
I found this on the mysql site via google.
The default FLAGS are:
{{{
CFLAGS = -O3 -DDBUG_OFF
CXXFLAGS = -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-
rtti
}}}
Some other observations:
1. The tests seem to be processor independent. My activity monitors stay
quite low during the tests. top was only showing loads of 0.25 to 0.35.
2. There are optional dependencies that are not listed. In particular,
BerkeleyDB. Looking at my log, I see:
{{{
checking for BerkeleyDB... no
Not using Berkeley DB
checking for Innodb... Using Innodb
checking for NDB Cluster... Not using NDB Cluster
checking for MySQL federated storage engine... no
checking for yaSSL... no
checking for OpenSSL... no
}}}
I do have BerkeleyDB and OpenSSL installed.
It looks like we need to pass --with-openssl to configure for OpenSSL and
--with-berkeley-db for bdb support. They do not ssem to be automatically
detected.
3. We mention Libedit which is a non-GPL replacement for the readline
library. I believe we ran into a problem with this before. Do we want to
remove it or mention that it is not recommended?
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1879>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page