php5-mysql +mysql5 error
Ryan Schmidt
ryandesign at macports.org
Wed Oct 26 15:48:31 PDT 2011
On Oct 26, 2011, at 14:49, Phil Dobbin wrote:
> On 26/10/11 at 20:21, punk.kish at gmail.com (Puneet Kishor) wrote:
>
> [...]
>
>> :info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: 'mysql/plugin.h' file not found
>> :info:build #include <mysql/plugin.h>
>
> [...]
>
> Being new to macports but having compiled MySQL 5.1.19 from source into /usr/local I too saw similar errors. I fixed them by passings flags to ./configure implicitly giving absolute paths to the mysql <header files>. This can also be set in your bash profile if the flags option is unavailable.
If you're going to use MacPorts, please don't install things in /usr/local.
If you install things in /usr/local, MacPorts ports can break in unexpected ways.
More information about the macports-users
mailing list