php5-mysql +mysql5 error

Puneet Kishor punk.kish at gmail.com
Wed Oct 26 14:40:46 PDT 2011


On Oct 26, 2011, at 2:49 PM, 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.
> 


I don't follow. First, I installed both php5 or mysql5-server-devel via macports... no custom installation. So, everything I have is where macports puts it by default. So, I am not sure what I should pass to which configure script?

The only thing I can think of is that I have mysql5-server-devel installed instead of regular mysql5-server.

--
Puneet Kishor


More information about the macports-users mailing list