Ad Widget

Collapse

'make' fails on Red Hat Linux 6.2 (Zoot)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #1

    'make' fails on Red Hat Linux 6.2 (Zoot)

    After './configure' -ing the 1.1final version with parameter '--enable-client', 'make' fails.
    Here's the console output:
    Code:
    [root@sds-1-pbs zabbix-1.1]# make
    Making all in src
    make[1]: Entering directory `/root/zabbix-1.1/src'
    Making all in libs
    make[2]: Entering directory `/root/zabbix-1.1/src/libs'
    Making all in zbxcommon
    make[3]: Entering directory `/root/zabbix-1.1/src/libs/zbxcommon'
    make[4]: Entering directory `/root/zabbix-1.1/src/libs/zbxcommon'
    source='regexp.c' object='regexp.o' libtool=no \
    DEPDIR=.deps depmode=gcc /bin/sh ../../../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../../../include     -g -O2 -c regexp.c
    [color=red]In file included from /usr/include/errno.h:36,
                     from regexp.c:5:
    /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
    make[4]: *** [regexp.o] Error 1[/color]
    make[4]: Leaving directory `/root/zabbix-1.1/src/libs/zbxcommon'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/zabbix-1.1/src/libs/zbxcommon'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/zabbix-1.1/src/libs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/zabbix-1.1/src'
    make: *** [all-recursive] Error 1
    [root@sds-1-pbs zabbix-1.1]#
    The ./configure script ran without any errors or mysterious output. Can someone give me a hint how to get the zabbix agent installed?

    I have another RH6.2 Machine running zabbix. Should i try to copy the zabbix program files?
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    I googled this error and it seems you are missing the "kernel-header" package.


    Greetings
    EriSan
    Zabbix Certified Specialist

    Comment

    • just2blue4u
      Senior Member
      • Apr 2006
      • 347

      #3
      yes, you're right.

      only kernel-source and kernel-utils are installed. I thought this would be enough.
      I copied the zabbix_* files from /usr/local/bin from anoter RH6.2 Machine and tested the "_agentd" with "-p". This worked.
      Now, started as daemon and fully embed in init.d it still works. So i think it's ok to leave everything as it is now. This machine is upgraded soon, so i don't want to spend more time trying to compile.

      Thanks 4 help!
      Big ZABBIX is watching you!
      (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

      Comment

      Working...