Ad Widget

Collapse

compilation problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fosters
    Junior Member
    • Aug 2010
    • 6

    #1

    compilation problems

    Hi there,

    I am trying to compile zabbix 1.8.2 under Ubuntu 8.04.4 LTS
    I use the following command :
    Code:
    ./configure --prefix=/usr --with-mysql --with-net-snmp\
     --with-libcurl --enable-server --enable-agent &&
    make
    and have the following kind of error message in config.log :

    conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
    conftest.c:69:19: error: mtent.h: No such file or directory
    conftest.c:74:23: error: sys/pstat.h: No such file or directory
    conftest.c:77:25: error: sys/loadavg.h: No such file or directory
    ...

    The full log file is attached under config.log.zip (the tar.gz file is corrupted...) .

    Can anybody help ?

    Thanks.
    Attached Files
    Last edited by Fosters; 10-08-2010, 11:36.
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    Have you installed development packages for mysql, snmp and curl libraries ?

    You need to install:
    • libmysqlclient-dev
    • libsnmp-dev
    • libcurl-dev

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • Fosters
      Junior Member
      • Aug 2010
      • 6

      #3
      Thanks for the advice but I did install them. Here is the list of packages I installed :

      - build-essential
      - mysql-server (already installed)
      - libmysqlclient15-dev
      - php5 (already installed)
      - php5-gd (already installed)
      - php5-mysql (already installed)
      - snmp (already installed)
      - libsnmp-dev
      - snmpd
      - libcurl4-openssl-dev
      - fping

      could it be that one of them is not exactly what I needed ?



      Originally posted by alixen
      Hi,

      Have you installed development packages for mysql, snmp and curl libraries ?

      You need to install:
      • libmysqlclient-dev
      • libsnmp-dev
      • libcurl-dev

      Regards,
      Alixen

      Comment

      • johnw230873
        Member
        • Aug 2010
        • 54

        #4
        Did you find an answer to this as I have the same issue.

        Comment

        • Fosters
          Junior Member
          • Aug 2010
          • 6

          #5
          Originally posted by johnw230873
          Did you find an answer to this as I have the same issue.
          Well, I didn't but the binary files were built anyway, and everything seems to work fine. So I just live with it

          Comment

          • johnw230873
            Member
            • Aug 2010
            • 54

            #6
            Did your install to work as I have a problem where the install seems to complete but the folders in etc anf usr/local doesn't get created

            Just interested were you using Unbuntu?

            Comment

            • Fosters
              Junior Member
              • Aug 2010
              • 6

              #7
              Originally posted by johnw230873
              Did your install to work as I have a problem where the install seems to complete but the folders in etc anf usr/local doesn't get created

              Just interested were you using Unbuntu?
              Yes, as mentioned in my first post, I installed it under Ubuntu 8.04.4 LTS.
              And the config files were created ander /etc/zabbix, and the binaries under /usr/sbin :
              zabbix_server
              zabbix_agentd : fir the local client

              Comment

              Working...