Ad Widget

Collapse

problem compiling with mysql.h

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcedrun
    Junior Member
    • Jul 2005
    • 9

    #1

    problem compiling with mysql.h

    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
  • jcedrun
    Junior Member
    • Jul 2005
    • 9

    #2
    Sorry, Not found

    Originally posted by gyratedotorg
    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"

    Comment

    • PeteB
      Junior Member
      • Jul 2005
      • 4

      #3
      Try just doing a search in YaST for mysql - that should then show all packages containing mysql in the name.

      Comment

      • jcedrun
        Junior Member
        • Jul 2005
        • 9

        #4
        Sorry, still not found

        Originally posted by PeteB
        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
        Attached Files

        Comment

        • mconigliaro
          Senior Member
          • Jun 2005
          • 116

          #5
          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.

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            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.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • jcedrun
              Junior Member
              • Jul 2005
              • 9

              #7
              Finally I have got it.

              Originally posted by Alexei
              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

              Comment

              Working...