I made the decision to create a separate Makefile for this, so we can leave the Linux 32bit version alone. If you are running AMD64 and want to compile you have one of two options:
Keep the files the same but issue a different make command (recommended if you commit to SVN in order to avoid conflicts)
Code: Select all
make -f makefile.a64Code: Select all
mv makefile makefile.orig
mv makefile.a64 makefile
makeThe new makefile uses a utility called mysql_config to determine where your MySQL includes and libraries are so you can keep them installed where ever you want and we don't have to include static directories in the Makefile. If you do not have mysql_config you'll need the mysqlclient developer library. It's very easy to install:
Debian (Ubuntu, etc):
Code: Select all
sudo apt-get install libmysqlclient-devCode: Select all
yum install libmysqlclient-dev
yum install mysql-devel.x86_64