Ad Widget

Collapse

Problem running the make during Zabbix Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • albert_newton
    Junior Member
    • Oct 2011
    • 10

    #1

    Problem running the make during Zabbix Installation

    I am trying to install Zabbix following the instructions here:

    http://www.zabbix.com/documentation/...lation/install


    However when I run the 'make install' command in step 5 of 3.2.2, I get:


    Making install in src
    make[1]: Entering directory `/root/src'
    Making install in libs
    make[2]: Entering directory `/root/src/libs'
    Making install in zbxcrypto
    make[3]: Entering directory `/root/src/libs/zbxcrypto'
    gcc -DHAVE_CONFIG_H -I. -I../../.././zabbix-1.9.6/src/libs/zbxcrypto -I../../../include -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -I/usr/local/include -I/usr/lib/perl/5.10/CORE -I. -I/usr/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:54:20: error: common.h: No such file or directory
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:55:17: error: md5.h: No such file or directory
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:133: error: expected â)â before â*â token
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:314: error: expected â)â before â*â token
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:324: error: expected â)â before â*â token
    ../../.././zabbix-1.9.6/src/libs/zbxcrypto/md5.c:362: error: expected â)â before â*â token
    make[3]: *** [md5.o] Error 1
    make[3]: Leaving directory `/root/src/libs/zbxcrypto'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/root/src/libs'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/root/src'
    make: *** [install-recursive] Error 1




    Does anyone have any ideas on this?
    Last edited by albert_newton; 20-10-2011, 15:38.
  • albert_newton
    Junior Member
    • Oct 2011
    • 10

    #2
    Has anyone been able to successfully do this installation all the way through? If so, are there any compiled binaries that I could get, since that seems to be easier to install, since I am unable to get the installation completed from compiling the sources. Any help would be appreciated.

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      which platform is this ? could you try with latest trunk or nightly snapshot ?
      Zabbix 3.0 Network Monitoring book

      Comment

      • albert_newton
        Junior Member
        • Oct 2011
        • 10

        #4
        Thanks for the reply.

        I am running this on Linux UbuntuDesktop 2.6.32-32-generic #62-Ubuntu SMP x86_64 GNU/Linux


        I can try the trunk, or the snapshot. Where do I get them from?
        And do I follow the same steps as in here: http://www.zabbix.com/documentation/...lation/install

        Comment

        • richlv
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Oct 2005
          • 3112

          #5
          see http://www.zabbix.com/wiki/contrib/getting_source

          1.9 releases are made out of svn://svn.zabbix.com/trunk, which is what you will want if not using nightly snapshots
          Zabbix 3.0 Network Monitoring book

          Comment

          • dimir
            Zabbix developer
            • Apr 2011
            • 1080

            #6
            I have 2 questions:

            1. Using which command exactly did you check out the sources?
            2. What were the commands you gave after?

            Comment

            • albert_newton
              Junior Member
              • Oct 2011
              • 10

              #7
              I tried following the approach of getting it out of the svn. But for some reason I cannot connect to the svn following these instructions: http://www.zabbix.com/wiki/contrib/getting_source

              I enter the command: svn co svn://svn.zabbix.com/trunk

              and it seems to hang there without doing anything ( not sure why).

              In the meanwhile, I got the nightly snapshot (the other alternative that you suggested), from http://www.zabbix.com/developers.php) for the Pre-1.9.7.x(alpha) version and got more success with it.


              I am now basically down to installing the Zabbix Web Interface part of the installation instructions here: http://www.zabbix.com/documentation/...lation/install

              Still working on getting through it.


              I wanted to confirm (while I complete the installation on the side), that this new snapshot version has the feature of the low level discovery of services and applications (running on a server),and the SLA stuff. I did read that in the documentation of 1.9.6 Beta release, but wanted to make sure that it was there in the Pre-1.9.7.x (alpha) snapshot. That's the main reason we are wanting to go from 1.8 version to 2.0 version of Zabbix, so I was wanting to play around with this feature. Thanks.
              Last edited by albert_newton; 24-10-2011, 23:55.

              Comment

              • dimir
                Zabbix developer
                • Apr 2011
                • 1080

                #8
                It will include next low-level discovery features:

                http://www.zabbix.com/documentation/...evel_discovery

                Comment

                • albert_newton
                  Junior Member
                  • Oct 2011
                  • 10

                  #9
                  I got everything installed successfully now...along with the web interface. However when I log into the web interface ( the Zabbix front end), on the dashboard page it show 'no' in the column for Zabbix server is running.

                  I had run the command: ./zabbix_server
                  under the directory (/usr/local/sbin/zabbix_server) to start the zabbix server, so I guess that should have started it.

                  But I am not sure why it is showing up as not started in the Zabbix front end console. Any ideas or hints?

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    Originally posted by albert_newton
                    I enter the command: svn co svn://svn.zabbix.com/trunk

                    and it seems to hang there without doing anything ( not sure why).
                    your network configuration apparently disallows svn connections

                    Originally posted by albert_newton
                    In the meanwhile, I got the nightly snapshot (the other alternative that you suggested), from http://www.zabbix.com/developers.php) for the Pre-1.9.7.x(alpha) version and got more success with it.


                    I am now basically down to installing the Zabbix Web Interface part of the installation instructions here: http://www.zabbix.com/documentation/...lation/install
                    so the compilation succeeded and the problem this thread was created for is solved ? if so, great - but for other problems please create new threads, thanks
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    • albert_newton
                      Junior Member
                      • Oct 2011
                      • 10

                      #11
                      Sorry about that...will do.

                      Comment

                      Working...