Bug #17225 Server fails to build if no transactional engines are enabled
Submitted: 8 Feb 2006 4:26 Modified: 10 Feb 2006 2:36
Reporter: Greg Lehey Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:current 5.0 OS:FreeBSD (FreeBSD)
Assigned to:

[8 Feb 2006 4:26] Greg Lehey
Description:
This bug became apparent while I was looking at BUG#14286.  If the source tree is configured
to not build any transactional engine, a number of source files fail to compile.

How to repeat:
./configure --without-innodb --without-berkeley-db --without-ndbcluster
make
[8 Feb 2006 14:59] Miguel Solorzano
I was unable to repeat this issue with current BK's source. So looks
already fixed:

miguel@hegel:~/t> cd 5.0/
miguel@hegel:~/t/5.0> bin/mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.19

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show variables like "%have%";
+-----------------------+-------+
| Variable_name         | Value |
+-----------------------+-------+
| have_archive          | NO    |
| have_bdb              | NO    |
| have_blackhole_engine | NO    |
| have_compress         | YES   |
| have_crypt            | YES   |
| have_csv              | NO    |
| have_example_engine   | NO    |
| have_federated_engine | NO    |
| have_geometry         | YES   |
| have_innodb           | NO    |
| have_isam             | NO    |
| have_ndbcluster       | NO    |
| have_openssl          | NO    |
| have_query_cache      | YES   |
| have_raid             | NO    |
| have_rtree_keys       | YES   |
| have_symlink          | YES   |
+-----------------------+-------+
17 rows in set (0.00 sec)

mysql>
[9 Feb 2006 0:55] Miguel Solorzano
Hi,

The method I applied was your how to repeat instructions:

./configure --without-innodb --without-berkeley-db --without-ndbcluster
make

and notice with the latest BK source.
[9 Feb 2006 2:14] Greg Lehey
Verified on FreeBSD 6.1-PRERELEASE/i386 (really AMD 32) and Linux 2.6 on AMD 64.  This problem appears to be related to incorrect configuration assumptions about availability of the readline library, which of course has nothing to do with the absence of transactional engines.
[9 Feb 2006 2:57] Greg Lehey
Premlinary investigation shows that the configuration file generated by the sameple config call has multiple differences from the normal config file.  In particular, READLINE is not included.
[10 Feb 2006 2:36] Greg Lehey
This is a marginal glitch in the build process.  After reconfiguring in the manner described, it is necessary to run a 'make clean' before building.  If this is done, the problem will not occur.

Arguably, this is a bug in the build process.  I don't think that it's serious enough by itself to leave it open.  Any review of the build process should take it into account, however.