configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild » ./build php

configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!Last Modified: Mar 4, 2011, 11:27 pm
If you're trying to compile php, but get this error:

configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

it would mean that MySQL isn't actually installed on your system.

1) The usual reason for this is a missing or corrupted services.tar.gz file, or wrong versions information in the files.sh.
To check, type:

cd /usr/local/directadmin/scripts/packages
ls -la
tar tvzf services.tar.gz

You'll want to see a large services.tar.gz file (no size 0), as well as no errors with the tar command.
You should see a mysql tar.gz present in the packages directory as well.

2) Next, check the versions file:

cd ..
grep mysql files.sh

and see which version is listed there. It should match the version of the tar.gz downloaded.

3) If things are not lining up, check:
http://files.directadmin.com/services

and click the directory related to your OS version.  Click the files.sh listed and see if it's content matches the version downloaded.


4) Once the versions are correct on your system, and they match the mysql tar.gz file, then you can try installing mysql.  To do this, type

cd /usr/local/directadmin/scripts
./mysql.sh rootpass da_admin daadminpass

where the bold passwords can be set to whatever you'd like.

If you get errors in that output, then see what they say, and go from there.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST