| Summary: | squid with openssl support needs openssl on the host | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Thomas Petazzoni <thomas.petazzoni> |
| Component: | Other | Assignee: | Gustavo Zacarias <gustavo> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2010.05 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
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. Fixed in git, thanks. |
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.