On Nov 22, 2004, at 3:09 PM, Tom McDonough wrote:
TomMcDonough:local/mysql/bin] tom% sh mysql_config --cflags
You didn't follow directions. I didn't say anything about cd-ing to /usr/local/mysql/bin, nor did my example use sh to run the script. To paraphrase a popular saying - "you can't just make stuff up and hope it works."
mysql_config is here:
/usr/local/mysql-standard-4.1.7-apple-darwin7.5.0-powerpc/bin
Don't cd to that directory, don't use "sh" to run it, just run it:
/usr/local/mysql-standard-4.1.7-apple-darwin7.5.0-powerpc/bin/ mysql_config --cflags
A couple other things:
It's "Makefile.PL", not "makefile.pl". HFS+ is case-insensitive; most filesystems are not.
You need to use the "--testdb", "--testuser", and "--testpassword" options too.
sherm--