944,155 Members | Top Members by Rank

Ad:
  • Mac OS X Discussion Thread
  • Unsolved
  • Views: 1583
  • Mac OS X RSS
Oct 6th, 2009
0

Problem in installing DBD::mysql in MacBookPro 10.5.8

Expand 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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vipints is offline Offline
5 posts
since Oct 2009
Oct 24th, 2009
0
Re: Problem in installing DBD::mysql in MacBookPro 10.5.8
Click to Expand / Collapse  Quote originally posted by vipints ...
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.
Reputation Points: 9
Solved Threads: 0
Newbie Poster
techbabu is offline Offline
2 posts
since Oct 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Mac OS X Forum Timeline: mac wont load past blue bar
Next Thread in Mac OS X Forum Timeline: 13.3 inch Macbook Pro Triple Boot with Ubuntu 9.10 and Windows 7





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC