[ERROR] unable to find mysql.h

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [ERROR] unable to find mysql.h

    Hello,

    When I did try to install ZABBIX 1.0 (the stable release) I did got the error shown below:
    checking for MySQL support... no
    configure: error: Invalid MySQL directory - unable to find mysql.h
    server2:/home/quicki/public_html/zabbix-1.0#
    OS: Debian 3.1 (net install)
    Control panel: DirectAdmin
    Other sites work fine with MySQL

    Could anybody tell me how I can solve this problem?

    Note:
    Reinstalling PHP or MySQL is not an option.

    #2
    you need the mysql development files installed.

    if they are, and it still cant find it, run ./configure --help and look for how to point it at the right directory.

    Comment


      #3
      Originally posted by elkor
      you need the mysql development files installed.

      if they are, and it still cant find it, run ./configure --help and look for how to point it at the right directory.
      Where can I find if I have the development files installed?

      Comment


        #4
        I'm not really a debian guy but I believe you can use the "apt" utility to query your packages

        Comment


          #5
          Originally posted by elkor
          I'm not really a debian guy but I believe you can use the "apt" utility to query your packages
          Like I did say before:
          Note:
          Reinstalling PHP or MySQL is not an option.
          The reason is that the server is also used for webhosting.

          Comment


            #6
            nobody said to reinstall php or mysql.

            I said you need the dev libraries

            you asked how to look for them, I told you to use apt. what's the issue?

            Comment


              #7
              Indeed, just type:

              Code:
              apt-get install mysql-devel
              and you'll get the required files.

              Comment

              Announcement

              Collapse
              No announcement yet.
              Working...
              X