cannot compile Plugins 4 NRPE on IBM AIX 5.2
Harper Mann
hmann at itgroundwork.com
Wed Sep 1 16:00:48 CEST 2004
I was able to fix this by installing the AIX Linux toolbox. The plugins
were developed on Linux and prefer that environment:
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/README.txt
>From web:
ftp ftp.software.ibm.com
Name> ftp
Password> your e-mail address
ftp> cd aix/freeSoftware/aixtoolbox/INSTALLP/ppc
ftp> binary
ftp> get rpm.rte
ftp> quit
installp -qaXgd rpm.rte rpm.rte
This gives you rpm, which is very nice.
>From the web:
The easiest way to download the packages is to use the scripts
available
at the ftp site for downloading the installation groups. Install the
wget RPM, then use wget to download the ezinstall installation scripts:
mkdir -p ezinstall/ppc || :
cd ezinstall/ppc
ftp ftp.software.ibm.com
Name> ftp
Password> your e-mail address
ftp> cd aix/freeSoftware/aixtoolbox/RPMS/ppc/wget
ftp> binary
ftp> get wget-1.9-2.aix5.1.ppc.rpm
ftp> quit
rpm -hUv wget-1.9-2.aix5.1.ppc.rpm
wget -r -nd -g=on
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc
chmod +x get*.sh
For each ezinstall bundle you wish to install (base, desktop.base,
etc),
run get<bundlename>.sh. It will create a directory named <bundlename>
if
required and download the required files into the directory. You can
then
use "rpm -hUv <bundlename>/*" to install that set of RPMS.
Wget is much easier
11. If you want to install application development software, install the
app-dev group:
$ rpm -Uhv ezinstall/ppc/app-dev/*
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
has the RPMS for Linux facilities.
I installed bash, make, autoconf, automake, m4, tar, bison, and fileutils,
ran bash, set my path: > export PATH=/opt/freeware/bin:$PATH, and re-ran
./configure and make. The plugins built okay except for check_swap. I
downloaded nagios-plugins-1.4.0alpha1 which also built including check_swap,
so I run 1.3.1 plugins + the 1.4.0alpha1 check_swap.
Seems to work..
Good luck,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
frank.trila at rcibanque.de
Sent: Wednesday, September 01, 2004 1:03 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] cannot compile Plugins 4 NRPE on IBM AIX 5.2
Hi,
I have sucsessfully compiled the nrpe deamon on my AIX 5.2 box,
but now I 'm struggelung with the compilation of the Plugins.
After the configure script runs through without errors, make gives the
followig output :
make
make all-recursive
Making all in intl
Target "all" is up to date.
Making all in lib
Target "all" is up to date.
Making all in plugins
gcc -g -O2 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
Regards
Frank
Frank Trila
Technologische Entwicklung IT
RCI Banque S.A.
Niederlassung Deutschland
Jagenberg Strasse 1
41468 Neuss
mailto:Frank.Trila at RciBanque.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040901/31a2c779/attachment.html>
More information about the Users
mailing list