Hi folks,
I'm trying to compile ZABBIX server, but getting erros while the make install process. I've tried both, the cc and gcc compiler, with no success.
I guess the gcc is more comon so I will post the errors by running the gcc.
The plattform is
compiler versions
Add-on libs:
configure process seems to do fine so far (reduced output):
make install shows erros:
Unfortunately I'm not so familiar with the c compiling errors, so could somone please advise?
Thank you in advance!
anoy
I'm trying to compile ZABBIX server, but getting erros while the make install process. I've tried both, the cc and gcc compiler, with no success.
I guess the gcc is more comon so I will post the errors by running the gcc.
The plattform is
Code:
hp-ux 11.23ia
Code:
gcc (GCC) 3.4.3 cc: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]
Code:
Curl A.10.00-7.17.1.001 A Command Line Tool For Transfering Data Net-SNMP A.10.00-5.4.1.007 Simple Network Monitoring protocol xMySQL A.10.00-5.0.45.001 MySQL Database
Code:
./configure --enable-server --with-mysql --with-net-snmp --with-ldap --prefix=/opt/zabbix_v1.4.4 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk --> SNIP <-- SNIP Configuration: Detected OS: hpux11.23 Install path: /opt/zabbix_v1.4.4 Compilation arch: hpux Compiler: gcc Compiler flags: -g -O2 -I/opt/iexpress/mysql/include/mysql -I/opt/iexpress/curl/include -I/opt/openssl/include -I. -I/opt/iexpress/net-snmp/include -I/usr/include Enable server: yes With database: MySQL WEB Monitoring via: cURL Native Jabber: no SNMP: net-snmp IPv6: no Linker flags: -L/usr/lib -lldap -L/opt/iexpress/mysql/lib/mysql -L/usr/local/lib -L/opt/openssl/lib/hpux32 -L/opt/iexpress/curl/lib -L/opt/openssl/lib -L/opt/iexpress/net-snmp/lib -L/opt/openssl/lib -L/opt/iexpress/net-snmp/lib Libraries: -lm -lmysqlclient -lcurl -lnetsnmp Enable agent: no LDAP support: yes *********************************************************** * Now run 'make install' * * * * Thank you for using ZABBIX! * * <http://www.zabbix.com> * ***********************************************************
Code:
root@zabbix01:/compile/source/zabbix-1.4.4 # make install
No suffix list.
Making install in create
No suffix list.
Making install in schema
No suffix list.
No suffix list.
No suffix list.
No suffix list.
Making install in misc
No suffix list.
No suffix list.
Making install in src
No suffix list.
Making install in libs
No suffix list.
Making install in zbxcrypto
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I/opt/iexpress/mysql/include/mysql -I/opt/iexpress/curl/include -I/opt/openssl/include -I. -I/opt/iexpress/net-snmp/include -I/usr/include -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
In file included from ../../../include/sysinc.h:303,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from ../../../include/sysinc.h:307,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
In file included from ../../../include/sysinc.h:311,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/shm.h:82: error: field `shm_perm' has incomplete type
In file included from /opt/iexpress/net-snmp/include/net-snmp/net-snmp-includes.h:74,
from ../../../include/sysinc.h:354,
from ../../../include/common.h:23,
from md5.c:54:
/opt/iexpress/net-snmp/include/net-snmp/utilities.h:31:20: getopt.h: No such file or directory
In file included from /opt/iexpress/net-snmp/include/net-snmp/mib_api.h:24,
from /opt/iexpress/net-snmp/include/net-snmp/net-snmp-includes.h:77,
from ../../../include/sysinc.h:354,
from ../../../include/common.h:23,
from md5.c:54:
/opt/iexpress/net-snmp/include/net-snmp/library/parse.h:32:1: warning: "MAXLABEL" redefined
In file included from /usr/include/arpa/nameser.h:434,
from ../../../include/sysinc.h:105,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/arpa/nameser_compat.h:134:1: warning: this is the location of the previous definition
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
root@zabbix01:/compile/source/zabbix-1.4.4 #
Unfortunately I'm not so familiar with the c compiling errors, so could somone please advise?
Thank you in advance!
anoy



Comment