PDA

View Full Version : problem compiling with mysql.h


jcedrun
28-07-2005, 00:08
Hello,

I'm testing this monitoring solution, and I have got a problem when I compiling, related to the mysql.h.
configure: error: Invalid MySQL directory - unable to find mysql.h

I red in this forum that someone had the same problem and had to install mysql-dev package.
I am in suse 9.3 and searching with Yast such package, this could not find it.
Any suggestions???

Thank in advance

mconigliaro
28-07-2005, 00:18
in suse, its called mysql-devel

jcedrun
28-07-2005, 01:06
in suse, its called mysql-devel

In suse 9.3
I am using YAST tool to install packages and with searching feature I type
"mysql-devel" and the answer is "Not found"

PeteB
28-07-2005, 01:18
Try just doing a search in YaST for mysql - that should then show all packages containing mysql in the name.

jcedrun
28-07-2005, 01:47
Try just doing a search in YaST for mysql - that should then show all packages containing mysql in the name.

I am getting embarrased... But still not found.
I attached a .png file as you can see what I am saying...
( I had to reduce the window to fix the size to upload to the forum...)

THX

mconigliaro
28-07-2005, 15:25
this is strange, because im also using suse 9.3, and i have a package called mysql-devel, along with a bunch of other mysql packages that you dont seem to have.

you might try adding an additional installation source (eg: mirror ftp site) in yast and see if that helps.

Alexei
28-07-2005, 21:19
I remember that when I tried to install SuSE 9.3 from DVD, the package wasn't in the list. However, it IS in the list in case of internet (FTP/HTTP) installation.

jcedrun
29-07-2005, 00:59
I remember that when I tried to install SuSE 9.3 from DVD, the package wasn't in the list. However, it IS in the list in case of internet (FTP/HTTP) installation.

I followed your advices, and searching in google the mysql distribution I have, I found the following url: http://ftp.suse.com/pub/suse/i386/9.3/suse/i586/.

And I downloaded the mysql-devel and net-snmp-devel packages.

(root-lxchuscasa)/srv/www/htdocs->rpm -qa | grep snmp
mysql-4.1.10a-3.2
mysql-devel-4.1.10a-3

net-snmp-5.2.1-5
net-snmp-devel-5.2.1-5

....and I passed the ./configure step succesfully
************************************************** *********
* Now run 'make' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********

Thank's a million. Hope not disturb you any more