<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I’m attempting to fix the bacula port to build with mysql5 support [1]. I patched the configure file to find mysql5, but later on, it fails to find mysql.h when compiling. Here is the error snippet.&nbsp;<div><br></div><div><font face="Monaco">:info:build Making libbaccats.la ...<br>:info:build /opt/local/var/macports/build/_opt_mports_trunk_dports_sysutils_bacula/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/bin/clang++ -D_BDB_PRIV_INTERFACE_ &nbsp;-arch x86_64 -o libbaccats.la cats_dummy.lo -export-dynamic -rpath /opt/local/lib -release 5.2.13<br>:info:build mysql.c:44:10: fatal error: 'mysql.h' file not found<br>:info:build #include &lt;mysql.h&gt;<br>:info:build &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br>:info:build 1 error generated.<br>:info:build make[1]: *** [mysql.lo] Error 1<br></font><br><div>Any suggestions of how to fix this? It completes but then fails when checking for linking errors.</div><div><br></div><div><font face="Monaco">Could not open /opt/local/lib/libbaccats-5.2.13.dylib: Error opening or reading file (referenced from /opt/local/sbin/bacula-dir)</font></div><div><br></div><div><br></div><div>Cheers!</div><div>Frank</div><div><br></div><div>[1] &lt;<a href="https://trac.macports.org/ticket/42036">https://trac.macports.org/ticket/42036</a>&gt;</div></div><div><br></div></body></html>