[Nagiosplug-help] Failing to compile nrpe against OpenSSL on HP-UX

Mikael Fridh frimik at gmail.com
Thu Aug 28 17:13:42 CEST 2008


On Thu, Aug 28, 2008 at 4:22 PM,  <Ralph.Grothe at itdz-berlin.de> wrote:
> # diff configure{.dist,}
> 6673c6673
> <                       if test -f "$dir/libssl.so"; then
> ---
>>                       if test -f "$dir/libssl.sl"; then

I applied a similar patch for my AIX build:

--- configure.orig      2008-08-13 15:15:40.000000000 +0200
+++ configure   2008-08-13 15:16:44.000000000 +0200
@@ -6674,6 +6674,11 @@
                                found_ssl=yes
                                break
                        fi
+
+                       if test -f "$dir/libssl.a"; then
+                               found_ssl=yes
+                               break
+                       fi
                done

                if test x_$found_ssl != x_yes; then


> cc: "nrpe.c", line 617: error 1588: "LOG_AUTHPRIV" undefined.
> cc: "nrpe.c", line 619: error 1588: "LOG_FTP" undefined.
> cc: "nrpe.c", line 852: warning 604: Pointers are not assignment-compatible.
> cc: "nrpe.c", line 852: warning 563: Argument #3 is not the correct type.

The fix is probably in your case: s/(LOG_FTP|LOG_AUTHPRIV)/LOG_DAEMON/




More information about the Help mailing list