monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monit compilation on AIX 6.1 fails (libperfstat.h)


From: Benedikt Wegmann
Subject: monit compilation on AIX 6.1 fails (libperfstat.h)
Date: Mon, 14 Nov 2011 15:54:44 +0100

Hello!

An attempt to compile monit on AIX 6.1 fails with reference to
libperfstat.h:

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?
configure: WARNING: libperfstat.h: see the Autoconf documentation
configure: WARNING: libperfstat.h:     section "Present But Cannot Be Compiled"
configure: WARNING: libperfstat.h: proceeding with the compiler's result
configure: WARNING:     ## --------------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## --------------------------------------- ##
checking for libperfstat.h... no

configure completes fine but make then fails complaining about
undeclared functions which in fact can be found in libperfstat.h.

The package containing libperfstat.h, bos.perf.libperfstat, is in fact
installed and libperfstat.h can be found in /usr/include/libperfstat.h.

The following test program would also fails compilation unless "#include
<sys/protosw.h>" is put in before libperfstat.h (see also
http://www.mail-archive.com/address@hidden/msg15092.html):

/root/hello.c 
#include <stdio.h>
#include <sys/protosw.h>
#include <libperfstat.h>
int main(void) { printf("Hello, World!\n"); return 0; }

How could this fix be applied to the monit source to make it compile?

Kind regards,
-- 
Benedikt Wegmann
address@hidden
+49 (0)551 201-1870
Jabber/XMPP: address@hidden

.........................
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Fassberg 11, 37077 Göttingen
URL: http://www.gwdg.de , E-Mail: address@hidden
Tel.: +49 (0)551 201-1510, Fax: +49 (0)551 201-2150
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen, Registergericht: Göttingen
Handelsregister-Nr. B 598
.........................
Die digitale Unterschrift dieser Mail kann anhand des Zertifikats des
DFN überprüft werden:
https://ca.gwdg.de/certs/

Attachment: config.log
Description: Text Data

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]