0

Hi all,

I tried to install DBD::mysql module in my MacBookPro 10.5.8. But it is ending with an error message that is fail to find out the mysql_config file. I installed the mysql system using fink command.
It will be great if you can suggest a way to fix that.

many thanks in advance
Vipin T S

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by techbabu
0

Hi all,

I tried to install DBD::mysql module in my MacBookPro 10.5.8. But it is ending with an error message that is fail to find out the mysql_config file. I installed the mysql system using fink command.
It will be great if you can suggest a way to fix that.

many thanks in advance
Vipin T S

I think you need to specify the cflags and libs options in the Makefile

e.g.

sudo perl Makefile.PL \
--cflags="-I/usr/local/mysql/include -Os -arch i386 -fno-common" \
--libs="-L/usr/local/mysql/lib -lmysqlclient -lz -lm"

This is probably the case for you as well, but to make sure, simply check that both of the directories above exist. After this, you should be able to successfully perform the sudo make and sudo make install commands and be up and running.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.