Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 2773] New: squid with openssl support needs openssl on the host
Date: Sat,  6 Nov 2010 18:32:26 +0000 (UTC)	[thread overview]
Message-ID: <bug-2773-163@https.bugs.busybox.net/> (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.

-- 
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.

             reply	other threads:[~2010-11-06 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 18:32 bugzilla at busybox.net [this message]
2010-11-08 17:07 ` [Buildroot] [Bug 2773] squid with openssl support needs openssl on the host bugzilla at busybox.net
2010-11-29 20:43 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-2773-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox