Skip to contentSkip to conversation

New: squid with openssl support needs openssl on the host

Buildroot bugzilla at busybox.net 1 participant 3 messages Nov 6, 2010 – Nov 29, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2773

Summary: squid with openssl support needs openssl on the host
Product: buildroot
Version: 2010.05
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: gustavo at zacarias.com.ar
ReportedBy: thomas.petazzoni at free-electrons.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

When squid is compiled with OpenSSL support, openssl for the target is correctly build before building squid. However, squid also builds a cf_gen tool for the host, but this fails since OpenSSL for the host isn't build. So we should add support in the OpenSSL package to build openssl for the host, and add host-openssl as a dependency of squid.

Here is the relevant part of the build log:

/usr/bin/g++ -o cf_gen ./cf_gen.cc \
                ../lib/util.c ../lib/assert.c \
                -DNDEBUG -DBUILD_HOST_TOOL -I. -I. -I../include -I../include
-I../lib/libTrie/include 
In file included from ./squid.h:354,
                 from ./cf_gen.cc:51:

./ssl_support.h:40:25: error: openssl/ssl.h: No such file or directory ./ssl_support.h:43:25: error: openssl/err.h: No such file or directory ./ssl_support.h:46:28: error: openssl/engine.h: No such file or directory

To reproduce the problem, uninstall any OpenSSL development files from your host machine, and then build squid with openssl support in Buildroot.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2773] squid with openssl support needs openssl on the host

https://bugs.busybox.net/show_bug.cgi?id=2773

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Gustavo Zacarias <[email protected]> --- Fix/bump in my repo
http://repo.or.cz/w/buildroot-gz.git/commitdiff/e79f9914b49eecf523ce469cfe146cde99f1097d
No need for host-openssl now.
Give it a spin.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2773] squid with openssl support needs openssl on the host

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2773

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Peter Korsgaard <[email protected]> --- Fixed in git, thanks.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.