Ad Widget

Collapse

ZABBIX installation - MySql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dirk6665
    Junior Member
    • Jun 2006
    • 1

    #1

    ZABBIX installation - MySql

    Greetings,

    I am new to Zabbix and I have read through the various posts using the search utility but cannot find anyone who has the same issue that I am currently experiencing...

    I am installing Zabbix on a Linux named PCLinux. I have installed other packages on here without incident but I am getting an error when I try to install the ZABBIX package, using the command:

    ./configure --enable-server --with-mysql --with-net-snmp --enable-agent
    It goes through alot of the process and I get a line after while that reads:

    configure: error: Invalid MySQL Directory - unable to find mysql.h

    MySQL is installed and running and being used by another application - the tables supplied with the .sql files installed fine into the database. However I am clueless why it is having a problem finding it? Is there an environment variable that possibly isn't set?

    Thanks in advance.

    -Dirk
  • festivalman
    Junior Member
    • Mar 2005
    • 10

    #2
    you need to tell it where you've got mysql. for example, --with-mysql=/usr/local/mysql

    If that still doesn't work, and you've changed the path above to where you're keeping it, you may need to make sure you have the "max" or full version of mysql, which includes the various development header files. The regular or minimum versions don't.

    Comment

    • vrtareg
      Senior Member
      • May 2006
      • 293

      #3
      Hi

      Seems that you dont have mysql headers installed.
      You need to install mysql-devel package.

      Areg

      Comment

      Working...