On 26/10/11 at 00:32, ryandes...@macports.org (Ryan Schmidt) wrote:

On Oct 26, 2011, at 18:18, Phil Dobbin wrote:

The version of MySQL I have in /usr/local was compiled before I started using 
macports.

Yes, and any port you install thereafter might conceivably look for and link with this MySQL unexpectedly, which could cause errors.

Interesting. Under normal circumstances when compiling if you want `make` to link to includes and/or libs other than what shipped with the makefile ,you have to explicitly tell it to i.e.

CFLAGS=”-I/usr/local/foo/include/bar”
LIBS="-L/usr/local/foo/lib/bar -lmyfooclient -lmybarclient.so"

I’ll bear your advice in mind & thanks for your help.

Cheers,

    Phil.

--
Please consider the environment before reading this email...

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

Reply via email to