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. 

:info:build Making libbaccats.la ...
: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_  -arch 
x86_64 -o libbaccats.la cats_dummy.lo -export-dynamic -rpath /opt/local/lib 
-release 5.2.13
:info:build mysql.c:44:10: fatal error: 'mysql.h' file not found
:info:build #include <mysql.h>
:info:build          ^
:info:build 1 error generated.
:info:build make[1]: *** [mysql.lo] Error 1

Any suggestions of how to fix this? It completes but then fails when checking 
for linking errors.

Could not open /opt/local/lib/libbaccats-5.2.13.dylib: Error opening or reading 
file (referenced from /opt/local/sbin/bacula-dir)


Cheers!
Frank

[1] <https://trac.macports.org/ticket/42036>

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to