Ad Widget

Collapse

building Linux agents only produces windows ones!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bushidoka
    Junior Member
    • Dec 2011
    • 4

    #1

    building Linux agents only produces windows ones!

    Hey folks,

    I downloaded the 1.8.9 tarball to my Linux box (CentOS 5 and 6) and am following the manual to build them, but all I get is win32 and win64 agents. I do not see any switches in 'configure' to change this behavior.

    http://www.zabbix.com/documentation/...#zabbix_agent1

    I basically unpack the tarball, do "configure --enable-agent" and then "make"

    BUt I get this :


    Code:
    [root@solexa-db zabbix-1.8.9]# ls bin
    win32  win64
    [root@solexa-db zabbix-1.8.9]# ls bin/*
    bin/win32:
    zabbix_agentd.exe  zabbix_get.exe  zabbix_sender.exe
    
    bin/win64:
    zabbix_agentd.exe  zabbix_get.exe  zabbix_sender.exe
    [root@solexa-db zabbix-1.8.9]# file bin/win64/zabbix_agentd.exe 
    bin/win64/zabbix_agentd.exe: PE32+ executable for MS Windows (console)
    I've tried this now on Ubuntu 11.11, Centos 5.3, and got the same thing.
  • bushidoka
    Junior Member
    • Dec 2011
    • 4

    #2
    Anyone? Anyone? Buehler?

    I just tried building on the Mac and got the same exact thing.

    How do I get it to build for Linux and the Mac?

    Comment

    • bushidoka
      Junior Member
      • Dec 2011
      • 4

      #3
      OK, I resolved this, but just in case anyone cares - the documentation appears to be incorrect. See my link above.

      If I just do "make" as per the documentation, then I get win32 binaries in the 'bin' directory, and do not appear to get anything else.

      But if I do "make install", it installs the binaries into the --prefix directory that I specified in the configure command. This is not necessarily desirable behavior. Anyway, it works on both the Mac and RHEL5 Linux.

      Just FYI ... someone may want to correct the docs or ideally correct the behavior of the make file.

      Comment

      Working...