On Oct 26, 2011, at 14:49, Phil Dobbin wrote:

> On 26/10/11 at 20:21, punk.k...@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.


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to