Ad Widget

Collapse

cannot find mysql.h

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sn3f3ru
    Junior Member
    • Jul 2006
    • 1

    #1

    cannot find mysql.h

    Hi everyone,

    I'm trying to install zabbix on Ubuntu Drapper, and when I try to compile it throws this error (as from config.log):

    xx01@ubsrv01:~/kits/zabbix-1.1.1$ $ ./configure --prefix=/usr --with-mysql --with-net-snmp --enable-server --enable-agent
    -bash: $: command not found
    xx01@ubsrv01:~/kits/zabbix-1.1.1$ configure:6656: error: Invalid MySQL directory - unable to find mysql.h
    -bash: configure:6656:: command not found


    What I should do?
  • SLMitch
    Member
    • May 2006
    • 39

    #2
    Install libmysqlclient-dev
    (or libmysqlclientXX-dev , with XX a number you can take : i am not on ubuntu, so i don't know which version it use)

    Comment

    Working...