I assume you have just cloned the 4.0 source
tree, and are not using any packaged
distribution of MySQL.
Then you have to do the usual Autotools
configure also separately for InnoDB.
Go to directory mysql/innobase and do:
In that way you get the configure script which
MySQL is looking for in the innobase directory.
You may then also do:
separately in the innobase directory.
In a MySQL distribution the configure file is
precompiled, and the above sequence of
commands is not needed.
By the way, if you want the latest version of
InnoDB, you can download 3.23.40b from
I am not sure which version is currently in the 4.0
tree. There is no separate 4.0 and 3.23 of InnoDB,
they should be the same.
I'm trying to compile mysql-4.0 on a valinux (RH6.2) box.
I have done a regular build from your scripts and everything works
fine. The server runs accepts connections and everything.
However, when I tried compiling using --with-berkeley-db i get thiserror...
checking for BerkeleyDB... searching...Compiling Berekeley DB in 'bdb'
checking for Innodb... Not using Innodb
checking for Gemini DB... Not using Gemini DBCONFIGURING FOR BERKELEY DB
../.././bdb/dist/configure: ../.././bdb/dist/configure: No such file or
directoryconfigure: error: could not configure Berkeley DB
and when I try Innobase --with-innodb I get this error...
checking for BerkeleyDB... no
Not using Berkeley DB
checking for Innodb... Using Innodb
checking for aio_read in -lrt... yes
checking for Gemini DB... Not using Gemini DBCONFIGURING FOR INNODB
./configure: ./configure: No such file or directory
configure: error: could not configure INNODB
am I missing something at the beginning. I did
aclocal; autoheader; sutoconf; automake;like the manual says.