Here are some instructions to compile the zabbix agent on a AIX 7.1 system.
Perhaps some RPM packages are not needed to compile but it was from need to test some things to solve it.
Here are the steps I've done:
1. check my old dependecy list when I have compiled the agent on AIX 5.3
2. After this I started my first "./configure --enable-agent --prefix=/opt/zabbix" and "make install" on AIX 7.1
My first mistake was that I have forgot the C-Compiler on this system
.
So I have installed different packages, I've listed here:
3. After every rpm installation I tested the ./configure command but every time it tells me some warnings like:
and the make command failed.
4. So as I said, perhaps some packages are not needed to install.
The solution I have found here: http://markmail.org/message/dx4ou74z...+state:results
I searched for a file with the entry "libperfstat.h"
Then I modified the file ./include/sysinc.h:
5. Finally I started the "./configure --enable-agent --prefix=/opt/zabbix" and "make install" again.
After the compilation I started the zabbix_agentd.
Perhaps some RPM packages are not needed to compile but it was from need to test some things to solve it.
Here are the steps I've done:
1. check my old dependecy list when I have compiled the agent on AIX 5.3
Code:
# rpm -qa |grep expat expat-2.0.1-2 # rpm -qa |grep gettext gettext-0.17-1 # rpm -qa |grep glib2 glib2-2.8.1-3 # rpm -qa |grep libiconv libiconv-1.13.1-1
My first mistake was that I have forgot the C-Compiler on this system
.So I have installed different packages, I've listed here:
Code:
rpm -ivh gcc-4.2.0-3.aix6.1.ppc.rpm rpm -ivh libgcc-4.2.0-3.aix6.1.ppc.rpm rpm -ivh gcc-locale-4.2.0-3.aix6.1.ppc.rpm rpm -ivh libstdcplusplus-4.2.0-3.aix6.1.ppc.rpm rpm -ivh libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm rpm -ivh gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm rpm -ivh m4-1.4.15-1.aix6.1.ppc.rpm rpm -ivh autoconf-2.68-1.aix6.1.noarch.rpm
Code:
checking libperfstat.h usability... no checking libperfstat.h presence... yes configure: WARNING: libperfstat.h: present but cannot be compiled configure: WARNING: libperfstat.h: check for missing prerequisite headers? ...
4. So as I said, perhaps some packages are not needed to install.
The solution I have found here: http://markmail.org/message/dx4ou74z...+state:results
I searched for a file with the entry "libperfstat.h"
Then I modified the file ./include/sysinc.h:
Code:
#ifdef HAVE_LIBPERFSTAT # include <sys/protosw.h> # include <libperfstat.h> #endif
After the compilation I started the zabbix_agentd.


Comment