Ad Widget

Collapse

build error on Solaris

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deadpoint
    Junior Member
    • Nov 2009
    • 3

    #1

    build error on Solaris

    I'm attempting to build Zabbix 1.6.6 on Solaris, 8, 9, and 10, to distribute packages for the OpenCSW project and I'm getting the following error when I compiling with --enable-server. Has anyone run into this before or any thoughts how to work around it?

    I am using the Sun Studio compilers, 11 or 12.
    cc: Sun C 5.9 SunOS_sparc Patch 124867-08 2008/10/07

    Code:
    gmake[3]: Entering directory `/home/darin/build/zabbix-1.6.6/src/libs/zbxcrypto'
    source='base64.c' object='base64.o' libtool=no \
            DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
            cc -DHAVE_CONFIG_H -I. -I../../../include     -g   -I/opt/csw/mysql5/include/mysql  -mt -D_FORTEC_ -xarch=v8    -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T     -I/opt/csw/include -I. -I/opt/csw/include    -c base64.c
    "/usr/include/sys/procfs.h", line 45: #error: "Cannot use procfs in the large file compilation environment"
    cc: acomp failed for base64.c
    gmake[3]: *** [base64.o] Error 2
    gmake[3]: Leaving directory `/home/darin/build/zabbix-1.6.6/src/libs/zbxcrypto'
    gmake[2]: *** [all-recursive] Error 1
    gmake[2]: Leaving directory `/home/darin/build/zabbix-1.6.6/src/libs'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/home/darin/build/zabbix-1.6.6/src'
    gmake: *** [all-recursive] Error 1
    Last edited by deadpoint; 10-11-2009, 23:29.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    http://www.opensolaris.org/jive/mess...=287369#287369 seems to provide some hint. not sure whether this is something that should be fixed in zabbix code - if so, please report it on the tracker
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...