Ad Widget

Collapse

Problems and solutions for building Zabbix 1.1beta10 on Cygwin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • timo
    Junior Member
    • Apr 2005
    • 19

    #1

    Problems and solutions for building Zabbix 1.1beta10 on Cygwin

    With MySQL only
    ---------------

    Requirements:

    - Latest cygwin release
    - Hand-built mysql (client libraries are sufficient, e.g. --without-server)
    - Hand-built bind 9.3.2 (--prefix=/usr)


    File changes:
    src/libs/zbxsysinfo/unknown/net.c

    NET_IF_OUT is defined twice, rename one NET_IF_OUT to NET_IF_TOTAL


    With MySQL and SNMP (currently not working)
    -------------------------------------------

    Requirements:

    - Latest cygwin release
    - Hand-built net-snmp (Build in a directory without spaces, e.g. /tmp)
    - Hand-built mysql (client libraries are sufficient, e.g. --without-server)
    - Hand-built bind 9.3.2 (--prefix=/usr)


    File changes:
    src/libs/zbxsysinfo/unknown/net.c

    NET_IF_OUT is defined twice, rename one NET_IF_OUT to NET_IF_TOTAL

    While make, it complains about "undefined reference to _winsock_startup" or similar. I haven't found out yet how to include the winsock library.
Working...