nagios-nrpe: fix compile error when packageconfig ssl enabled
PATCH 1/1 nagios-nrpe: fix compile error when packageconfig ssl enabled
From: Kai Kang <[email protected]>
It fails to compile nagios-nrpe when packageconfig ssl enabled:
| ./nrpe.c:45:12: fatal error: ../include/dh.h: No such file or directory | 45 | # include "../include/dh.h" | | ^~~~~~~~~~~~~~~~~ | compilation terminated.
Header file include/dh.h is created by native openssl called by configure script. If no native openssl exists, no header file is created. Add openssl-native to dependency for packageconfig ssl.
--- recipes-extended/nagios/nagios-nrpe_3.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/nagios/nagios-nrpe_3.2.1.bb +1 -1
@@ -39,7 +39,7 @@ EXTRA_OECONF_SSL = "--with-ssl=${STAGING_DIR_HOST} \ --with-ssl-lib=${STAGING_DIR_HOST}${libdir} \ " -PACKAGECONFIG[ssl] = "${EXTRA_OECONF_SSL},--disable-ssl,openssl," +PACKAGECONFIG[ssl] = "${EXTRA_OECONF_SSL},--disable-ssl,openssl-native openssl," PACKAGECONFIG[cmdargs] = "--enable-command-args,--disable-command-args,," PACKAGECONFIG[bashcomp] = "--enable-bash-command-substitution,--disable-bash-command-substitution,,"
Signature · 1 line
2.17.1
merged
Bruce
Quoted 43 lines · kai
From: Kai Kang <[email protected]>
It fails to compile nagios-nrpe when packageconfig ssl enabled:
| ./nrpe.c:45:12: fatal error: ../include/dh.h: No such file or directory | 45 | # include "../include/dh.h" | | ^~~~~~~~~~~~~~~~~ | compilation terminated.Header file
include/dh.his created by native openssl called by configure script. If no native openssl exists, no header file is created. Add openssl-native to dependency for packageconfig ssl.Signed-off-by Kai Kang <[email protected]>--- recipes-extended/nagios/nagios-nrpe_3.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/nagios/nagios-nrpe_3.2.1.bb +1
-2@@ -39,7 +39,7 @@ EXTRA_OECONF_SSL = "--with-ssl=${STAGING_DIR_HOST} \ --with-ssl-lib=${STAGING_DIR_HOST}${libdir} \ " -PACKAGECONFIG[ssl] = "${EXTRA_OECONF_SSL},--disable-ssl,openssl," +PACKAGECONFIG[ssl] = "${EXTRA_OECONF_SSL},--disable-ssl,openssl-native openssl," PACKAGECONFIG[cmdargs] = "--enable-command-args,--disable-command-args,," PACKAGECONFIG[bashcomp] = "--enable-bash-command-substitution,--disable-bash-command-substitution,," --2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.View/Reply Online (#4907): https://lists.yoctoproject.org/g/meta-virtualization/message/4907
Mute This Topic: https://lists.yoctoproject.org/mt/69268508/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II