All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nagios-nrpe: fix compile error when packageconfig ssl enabled
@ 2019-12-26  4:57 kai
  2019-12-30  3:09 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: kai @ 2019-12-26  4:57 UTC (permalink / raw)
  To: meta-virtualization

From: Kai Kang <kai.kang@windriver.com>

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.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 recipes-extended/nagios/nagios-nrpe_3.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/nagios/nagios-nrpe_3.2.1.bb b/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
index 04917f7..9e1f02c 100644
--- a/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
+++ b/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
@@ -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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization] [PATCH] nagios-nrpe: fix compile error when packageconfig ssl enabled
  2019-12-26  4:57 [PATCH] nagios-nrpe: fix compile error when packageconfig ssl enabled kai
@ 2019-12-30  3:09 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-12-30  3:09 UTC (permalink / raw)
  To: kai; +Cc: meta-virtualization

merged

Bruce

On Thu, Dec 26, 2019 at 12:57 AM kai <kai.kang@windriver.com> wrote:
>
> From: Kai Kang <kai.kang@windriver.com>
>
> 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.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  recipes-extended/nagios/nagios-nrpe_3.2.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/nagios/nagios-nrpe_3.2.1.bb b/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
> index 04917f7..9e1f02c 100644
> --- a/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
> +++ b/recipes-extended/nagios/nagios-nrpe_3.2.1.bb
> @@ -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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-30  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26  4:57 [PATCH] nagios-nrpe: fix compile error when packageconfig ssl enabled kai
2019-12-30  3:09 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.