Search squid archive

Re: squid 3.5.2 compile error on openbsd5.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[apalmer]:/data/src/squid-3.5.2# openssl version
LibreSSL 2.0

Alan Palmer
DO NOT SPAM

> On Feb 21, 2015, at 09:27, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
> 
>> On 22/02/2015 2:03 a.m., Alan Palmer wrote:
>> So I get the following error building squid 3.5.2 on openbsd 5.6-release
>> 
>> libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include
>> -I../../lib -I../
>> ../src -I../../include -I/usr/local/include -I/usr/local/include -Wall
>> -Wpointer
>> -arith -Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT
>> -I/usr/include -I/
>> usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/include -O2
>> -pipe -MT bi
>> o.lo -MD -MP -MF .deps/bio.Tpo -c bio.cc  -fPIC -DPIC -o .libs/bio.o
>> bio.cc: In function 'bool adjustSSL(SSL*, Ssl::Bio::sslFeatures&)':
>> bio.cc:328: error: 'struct ssl_ctx_st' has no member named 'comp_methods'
>> bio.cc: In member function 'bool Ssl::Bio::sslFeatures::get(const SSL*)':
>> bio.cc:672: error: 'struct ssl_session_st' has no member named
>> 'compress_meth'
>> bio.cc:673: error: 'struct ssl_session_st' has no member named
>> 'compress_meth'
>> *** Error 1 in src/ssl (Makefile:894 'bio.lo')
>> *** Error 1 in src (Makefile:7126 'all-recursive')
>> *** Error 1 in src (Makefile:5989 'all')
>> *** Error 1 in /data/src/squid-3.5.2 (Makefile:592 'all-recursive')
>> 
>> details:
>> [apalmer]:/data/src/squid-3.5.2# uname -a
>> OpenBSD jarosz-fw 5.6 GENERIC.MP#299 i386
>> [apalmer]:/data/src/squid-3.5.2# gcc -v
>> Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd5.6/4.2.1/specs
>> Target: i386-unknown-openbsd5.6
>> Configured with: OpenBSD/i386 system compiler
>> Thread model: posix
>> gcc version 4.2.1 20070719
> 
> 
> What version of OpenSSL are you building against?
> 
>> 
>> $ ./configure --disable-strict-error-checking --disable-arch-native
>> --enable-shared --datadir=/usr/local/share/squid
>> --libexecdir=/usr/local/libexec/squid --disable-loadable-modules
>> --enable-arp-acl --enable-auth --enable-delay-pools
>> --enable-follow-x-forwarded-for --enable-forw-via-db
>> --enable-http-violations --enable-icap-client --enable-ipv6
>> --enable-referer-log --enable-removal-policies=lru heap --enable-ssl
>> --with-openssl --enable-storeio=aufs ufs diskd
>> --with-default-user=_squid --with-filedescriptors=8192
>> --with-krb5-config=no --with-pidfile=/var/run/squid.pid --with-pthreads
>> --with-swapdir=/var/squid/cache --disable-pf-transparent
>> --enable-ipfw-transparent --enable-external-acl-helpers=LDAP_group
>> SQL_session file_userip time_quota session  unix_group wbinfo_group
>> LDAP_group eDirectory_userip --prefix=/usr/local --sysconfdir=/etc/squid
>> --mandir=/usr/local/man --infodir=/usr/local/info
>> --localstatedir=/var/squid --disable-silent-rules CC=cc CFLAGS=-O2 -pipe
>> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include CXX=c++
>> CXXFLAGS=-O2 -pipe --enable-ssl-crtd --enable-ltdl-convenience
>> 
>> I borrowed the configure options from squid-v of the squid 3.4 binary
>> packages from openbsd.  Did I throw ina bad configure option?
> 
> The configure options are missing quotation marks around these options
> parameters:
> 
> --enable-removal-policies="lru heap"
> --enable-storeio="aufs ufs diskd"
> --enable-external-acl-helpers="LDAP_group SQL_session file_userip
> time_quota session  unix_group wbinfo_group LDAP_group eDirectory_userip"
> CFLAGS="-O2 -pipe"
> CXXFLAGS="-O2 -pipe"
> 
> These options are useless. All they do is turn ON features which are
> default-ON anyway:
> 
> --enable-auth
> --enable-http-violations
> --enable-ipv6
> --enable-icap-client
> 
> 
> These options are obsolete:
> 
> --enable-arp-acl
> --enable-referer-log
> --enable-ssl
> --with-krb5-config=no
> 
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux