How to install MySql++ in redhat enterprise 5

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Feb 2008
Posts: 10
Reputation: p_conk is an unknown quantity at this point 
Solved Threads: 1
p_conk p_conk is offline Offline
Newbie Poster

How to install MySql++ in redhat enterprise 5

 
0
  #1
Feb 29th, 2008
I use redhat enterprise 5 and I want to install mysql++, which used to connect to mysql from c++.

I get the following error message when install

checking for MySQL include directory... configure: error: Didn't find the MySQL include dir in '/usr/local/mysql/include /usr/local/mysql/include/include /usr/local/mysql/include/include/mysql'
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 269
Reputation: sarehu is on a distinguished road 
Solved Threads: 22
sarehu's Avatar
sarehu sarehu is offline Offline
Posting Whiz in Training

Re: How to install MySql++ in redhat enterprise 5

 
0
  #2
Feb 29th, 2008
You probably need to install the MySQL-Devel RPM package.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 10
Reputation: p_conk is an unknown quantity at this point 
Solved Threads: 1
p_conk p_conk is offline Offline
Newbie Poster

Re: How to install MySql++ in redhat enterprise 5

 
0
  #3
Feb 29th, 2008
Originally Posted by sarehu View Post
You probably need to install the MySQL-Devel RPM package.
Sorry, Where do I get that? And can you explain what happened because I have installed mysql from the beginning i install linux but why i still get this error, Im newbie in environment so probably Ive missed something when install linux.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 269
Reputation: sarehu is on a distinguished road 
Solved Threads: 22
sarehu's Avatar
sarehu sarehu is offline Offline
Posting Whiz in Training

Re: How to install MySql++ in redhat enterprise 5

 
0
  #4
Feb 29th, 2008
Search on Google for it, and make sure you get the right version. The regular MySQL package doesn't include header files.

Or wait, Red Hat Enterprise 5 includes yum, doesn't it? Try yum install mysql-devel (the package name here is a guess) as a superuser. Or use pirut. I think they're installed, but I'm relying on Wikipedia.
Last edited by sarehu; Feb 29th, 2008 at 3:52 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 10
Reputation: p_conk is an unknown quantity at this point 
Solved Threads: 1
p_conk p_conk is offline Offline
Newbie Poster

Re: How to install MySql++ in redhat enterprise 5

 
0
  #5
Mar 4th, 2008
Finally, I can run the program.

I download mysql-devel from mysql site, but I think
it is included in cd linux installer after I search it.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC