Ad Widget

Collapse

sigcommon.h not found when compiling pre-zabbix-2.1.0-33871

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hundux
    Junior Member
    • Feb 2013
    • 9

    #1

    sigcommon.h not found when compiling pre-zabbix-2.1.0-33871

    When compiling pre-zabbix-2.1.0-33871, I get this error:

    Making all in zbxalgo
    make[4]: Entering directory `/root/files/install/source/zabbix/zabbix-2.1.0/src/libs/zbxalgo'
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c algodefs.c
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c binaryheap.c
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c hashmap.c
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c hashset.c
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c vector.c
    rm -f libzbxalgo.a
    ar cru libzbxalgo.a algodefs.o binaryheap.o hashmap.o hashset.o vector.o
    ranlib libzbxalgo.a
    make[4]: Leaving directory `/root/files/install/source/zabbix/zabbix-2.1.0/src/libs/zbxalgo'
    Making all in zbxnix
    make[4]: Entering directory `/root/files/install/source/zabbix/zabbix-2.1.0/src/libs/zbxnix'
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -c daemon.c
    daemon.c:30:23: fatal error: sigcommon.h: No such file or directory
    compilation terminated.
    make[4]: *** [daemon.o] Error 1
    make[4]: Leaving directory `/root/files/install/source/zabbix/zabbix-2.1.0/src/libs/zbxnix'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/files/install/source/zabbix/zabbix-2.1.0/src/libs'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/files/install/source/zabbix/zabbix-2.1.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/files/install/source/zabbix/zabbix-2.1.0'
    dh_auto_build: make -j1 returned exit code 2
    make: *** [binary] Error 2
    dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
  • zalex_ua
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2009
    • 1286

    #2
    I have no any problems with compilation latest trunk (2.1.0).

    Comment

    • hundux
      Junior Member
      • Feb 2013
      • 9

      #3
      But what is the origin of sigcommon.h? The source package does not contain it. It is not part of any debian package and google also does not give any results (only finds gtk--sigcommon.h)

      Comment

      • sbockelman
        Junior Member
        • Oct 2008
        • 16

        #4
        Same error here

        Using build zabbix-2.1.0-33962, I am getting the same error for sigcommon.h as well. Tried on Ubuntu 12.10 and SLES 11SP2. Took the config down to minimal for my needs:
        ./configure --enable-server --with-mysql --with-libcurl
        or
        ./configure --enable-server --with-mysql

        Get the error on both:
        gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c
        daemon.c:30:23: fatal error: sigcommon.h: No such file or directory
        compilation terminated.

        Comment

        • wiper
          Junior Member
          • Jan 2013
          • 8

          #5
          Yes, I forgot to add it to makefile sources, so it was not included in dist package.

          Fixed in r33975
          Last edited by wiper; 26-02-2013, 16:11.

          Comment

          • sbockelman
            Junior Member
            • Oct 2008
            • 16

            #6
            Confirmed working. Thanks!

            Comment

            Working...