Recommended ./configure options for building mysqlatfacebook?

Asked by Henrik Ingo

I want to build the facebook branch, and after asking this question I will go and try my luck via trial-and-error anyway, but just thought I should ask, is there some recommended set of ./configure options one should use to make it work? Do you compile with --with-plugins=max-no-ndb or something more specific? Or do you use (and maintain) any of the BUILD/* scripts?

Since you build upon the InnoDB plugin, which one do you actually use: innobase or innodb_plugin (which one includes FB additions)?

Should I expect this to build on 32-bit systems at all?

Also, does the build produce any new files (executable, .so, script, anything) compared to a normal MySQL build? The reason for asking this is that if I want to build deb or rpm files, the process involves giving a list of all files going into each deb/rpm package.

Question information

Language:
English Edit question
Status:
Solved
For:
MySQLAtFacebook Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Callaghan
Solved:
Last query:
Last reply:
Revision history for this message
Best Mark Callaghan (mdcallag) said :
#1

I usually recommend that people use Percona or MariaDB. But if you want to build it, I use:

./configure --without-debug --enable-thread-safe-client \
--with-plugins=partition,csv,blackhole,myisam,heap,innodb_plugin \
--without-plugin-innobase --with-fast-mutexes \
--with-extra-charsets=all \
C_EXTRA_FLAGS="-g -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DSIGNAL_WITH_VIO_CLOSE -Wall"

I don't know whether it works or even builds on 32-bit systems.
I use the plugin innodb.

I don't think it builds extra files. I have been using the RedHat RPM spec file. But if you want rpms or debs then that is a good sign you might be better served by Percona/MariaDB.

Revision history for this message
Henrik Ingo (hingo) said :
#2

Thanks for the fast reply, I didn't even get to do any trial and error yet. (Played a football game inbetween.)