Problem in installing DBD::mysql in MacBookPro 10.5.8

Reply

Join Date: Oct 2009
Posts: 5
Reputation: vipints is an unknown quantity at this point 
Solved Threads: 0
vipints vipints is offline Offline
Newbie Poster

Problem in installing DBD::mysql in MacBookPro 10.5.8

 
0
  #1
Oct 6th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 2
Reputation: techbabu is an unknown quantity at this point 
Solved Threads: 0
techbabu techbabu is offline Offline
Banned
 
0
  #2
Oct 24th, 2009
Originally Posted by vipints View Post
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.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the OS X Forum
Thread Tools Search this Thread



Tag cloud for OS X
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC