All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] BUG: no https support with midori
@ 2011-08-10 17:25 Frederic Bassaler
  2011-08-10 19:33 ` Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Frederic Bassaler @ 2011-08-10 17:25 UTC (permalink / raw)
  To: buildroot

Midori needs libsoup to be compiled with SSL support, otherwise no
https support.

libsoup 2.32.2 needs libgnutls and libgcrypt, I have enabled them in
my .config, but libsoup refuses to compile :

checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.21.3... yes (version 2.28.6)
checking for XML... yes
checking for Win32... no
checking for gmtime_r... yes
checking for mmap... yes
checking for socket... yes
checking for LIBGNUTLS... yes
checking for libgcrypt-config... no
checking for LIBGCRYPT - version >= 1.2.0... no
configure: error: Could not configure SSL support.
Pass "--disable-ssl" if you really want to build without SSL support
make: ***
[/home/fred/buildroot/output/build/libsoup-2.32.2/.stamp_configured]
Erreur 1

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

* [Buildroot] BUG: no https support with midori
  2011-08-10 17:25 [Buildroot] BUG: no https support with midori Frederic Bassaler
@ 2011-08-10 19:33 ` Sven Neumann
  2011-08-10 21:30   ` Frederic Bassaler
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2011-08-10 19:33 UTC (permalink / raw)
  To: buildroot

On Wed, 2011-08-10 at 19:25 +0200, Frederic Bassaler wrote:
> Midori needs libsoup to be compiled with SSL support, otherwise no
> https support.
> 
> libsoup 2.32.2 needs libgnutls and libgcrypt, I have enabled them in
> my .config, but libsoup refuses to compile :
> 
> checking pkg-config is at least version 0.16... yes
> checking for GLIB - version >= 2.21.3... yes (version 2.28.6)
> checking for XML... yes
> checking for Win32... no
> checking for gmtime_r... yes
> checking for mmap... yes
> checking for socket... yes
> checking for LIBGNUTLS... yes
> checking for libgcrypt-config... no
> checking for LIBGCRYPT - version >= 1.2.0... no
> configure: error: Could not configure SSL support.
> Pass "--disable-ssl" if you really want to build without SSL support
> make: ***
> [/home/fred/buildroot/output/build/libsoup-2.32.2/.stamp_configured]
> Erreur 1

I've submitted a patch a while ago that adds optional SSL support to
libsoup (SSL support is enabled if gnutls is available). Here's the
patch again for you to try:

diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk
index 6ec0882..697f426 100644
--- a/package/libsoup/libsoup.mk
+++ b/package/libsoup/libsoup.mk
@@ -19,9 +19,15 @@ endif
 LIBSOUP_CONF_OPT = \
        --disable-explicit-deps \
        --disable-glibtest      \
-       --disable-ssl           \
        --without-gnome
 
 LIBSOUP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext
libintl) host-pkg-config host-libglib2 libglib2 libxml2
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+LIBSOUP_DEPENDENCIES += gnutls
+LIBSOUP_CONF_OPT += --enable-ssl
+else
+LIBSOUP_CONF_OPT += --disable-ssl
+endif
+
 $(eval $(call AUTOTARGETS,package,libsoup))

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

* [Buildroot] BUG: no https support with midori
  2011-08-10 19:33 ` Sven Neumann
@ 2011-08-10 21:30   ` Frederic Bassaler
  2011-08-11  7:17     ` Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Frederic Bassaler @ 2011-08-10 21:30 UTC (permalink / raw)
  To: buildroot

Sven,

Sorry I forgot to tell, but I did remove the --disable-ssl configuration
directive in libsoup.mk

As shown below, configure fails to find the libgcrypt library...

Does it work for you? (Maybe I have to delete my output directory and
rebuild again from scratch)

Thanks


Le Wed, 10 Aug 2011 21:33:29 +0200,
Sven Neumann <s.neumann@raumfeld.com> a ?crit :

> On Wed, 2011-08-10 at 19:25 +0200, Frederic Bassaler wrote:
> > Midori needs libsoup to be compiled with SSL support, otherwise no
> > https support.
> > 
> > libsoup 2.32.2 needs libgnutls and libgcrypt, I have enabled them in
> > my .config, but libsoup refuses to compile :
> > 
> > checking pkg-config is at least version 0.16... yes
> > checking for GLIB - version >= 2.21.3... yes (version 2.28.6)
> > checking for XML... yes
> > checking for Win32... no
> > checking for gmtime_r... yes
> > checking for mmap... yes
> > checking for socket... yes
> > checking for LIBGNUTLS... yes
> > checking for libgcrypt-config... no
> > checking for LIBGCRYPT - version >= 1.2.0... no
> > configure: error: Could not configure SSL support.
> > Pass "--disable-ssl" if you really want to build without SSL support
> > make: ***
> > [/home/fred/buildroot/output/build/libsoup-2.32.2/.stamp_configured]
> > Erreur 1
> 
> I've submitted a patch a while ago that adds optional SSL support to
> libsoup (SSL support is enabled if gnutls is available). Here's the
> patch again for you to try:
> 
> diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk
> index 6ec0882..697f426 100644
> --- a/package/libsoup/libsoup.mk
> +++ b/package/libsoup/libsoup.mk
> @@ -19,9 +19,15 @@ endif
>  LIBSOUP_CONF_OPT = \
>         --disable-explicit-deps \
>         --disable-glibtest      \
> -       --disable-ssl           \
>         --without-gnome
>  
>  LIBSOUP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext
> libintl) host-pkg-config host-libglib2 libglib2 libxml2
>  
> +ifeq ($(BR2_PACKAGE_GNUTLS),y)
> +LIBSOUP_DEPENDENCIES += gnutls
> +LIBSOUP_CONF_OPT += --enable-ssl
> +else
> +LIBSOUP_CONF_OPT += --disable-ssl
> +endif
> +
>  $(eval $(call AUTOTARGETS,package,libsoup))
> 
> 

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

* [Buildroot] BUG: no https support with midori
  2011-08-10 21:30   ` Frederic Bassaler
@ 2011-08-11  7:17     ` Sven Neumann
  2011-08-11  9:36       ` Frederic Bassaler
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2011-08-11  7:17 UTC (permalink / raw)
  To: buildroot

Hi,

On Wed, 2011-08-10 at 23:30 +0200, Frederic Bassaler wrote:

> Sorry I forgot to tell, but I did remove the --disable-ssl configuration
> directive in libsoup.mk
> 
> As shown below, configure fails to find the libgcrypt library...
> 
> Does it work for you? (Maybe I have to delete my output directory and
> rebuild again from scratch)

It works for me. But I've just checked and it appears that we have the
following in libsoup.mk:

ifeq ($(BR2_PACKAGE_GNUTLS),y)
LIBSOUP_DEPENDENCIES += gnutls
LIBSOUP_CONF_OPT += --enable-ssl \
	--with-libgcrypt-prefix=$(STAGING_DIR)/usr
else
LIBSOUP_CONF_OPT += --disable-ssl
endif

You might also try "--without-libgcrypt-prefix". I heard rumours that
this would work as well.


Sven

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

* [Buildroot] BUG: no https support with midori
  2011-08-11  7:17     ` Sven Neumann
@ 2011-08-11  9:36       ` Frederic Bassaler
  0 siblings, 0 replies; 5+ messages in thread
From: Frederic Bassaler @ 2011-08-11  9:36 UTC (permalink / raw)
  To: buildroot

It works indeed!
Problem solved.

Thanks


Le Thu, 11 Aug 2011 09:17:20 +0200,
Sven Neumann <s.neumann@raumfeld.com> a ?crit :

> Hi,
> 
> On Wed, 2011-08-10 at 23:30 +0200, Frederic Bassaler wrote:
> 
> > Sorry I forgot to tell, but I did remove the --disable-ssl
> > configuration directive in libsoup.mk
> > 
> > As shown below, configure fails to find the libgcrypt library...
> > 
> > Does it work for you? (Maybe I have to delete my output directory
> > and rebuild again from scratch)
> 
> It works for me. But I've just checked and it appears that we have the
> following in libsoup.mk:
> 
> ifeq ($(BR2_PACKAGE_GNUTLS),y)
> LIBSOUP_DEPENDENCIES += gnutls
> LIBSOUP_CONF_OPT += --enable-ssl \
> 	--with-libgcrypt-prefix=$(STAGING_DIR)/usr
> else
> LIBSOUP_CONF_OPT += --disable-ssl
> endif
> 
> You might also try "--without-libgcrypt-prefix". I heard rumours that
> this would work as well.
> 
> 
> Sven
> 
> 

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

end of thread, other threads:[~2011-08-11  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10 17:25 [Buildroot] BUG: no https support with midori Frederic Bassaler
2011-08-10 19:33 ` Sven Neumann
2011-08-10 21:30   ` Frederic Bassaler
2011-08-11  7:17     ` Sven Neumann
2011-08-11  9:36       ` Frederic Bassaler

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.