Ad Widget

Collapse

Patch for Solaris support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #1

    Patch for Solaris support

    Hello. I'm try build zabbix 1.3.8 on Solaris.
    Configure work only if --with-net-snmp without PATH.
    If i'm set PATH (for example --with-net-snmp=/usr/local), it's try exec PATH/PATH/bin/net-snmp-config.

    Next problems is math library and flock.
    cc - need -lm for use it, but configure not add this lib.
    flock - exist on solaris but LOCK_EX LOCK_NB LOCK_UN not defined. I'm got this in flock man page (on Solaris):
    The compatibility
    version of flock() has been implemented on top of fcntl(2)
    locking.
    I'm fix this problems see attach.
    Attached Files
Working...