Kernel_Killer
October 7th, 2003, 16:20
So I finally installed Squid on the gateway, and low and behold, SSL will not compile in it. I googled around a bit, and found out that the version of Squid was too old for the version on OpenSSL. So I try to compile Squid-2.5-STABLE4 from source, and couldn't get it to compile. Looked on the OpenBSD servers, and there isn't a more current version either. Any idea to get around this? TIA

The errors:

[code:1:a95cd758c3]/usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/squid-2.5.STABLE1/src/ssl_s
upport.c:141: `SSL_OP_NON_EXPORT_FIRST' undeclared here (not in a
function)
/usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/squid-2.5.STABLE1/src/ssl_s
upport.c:141: initializer element is not constant
/usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/squid-2.5.STABLE1/src/ssl_s
upport.c:141: (near initialization for `ssl_options[15].value')
*** Error code 1

Stop in /usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/build-i386-ssl/src.
*** Error code 1

Stop in /usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/build-i386-ssl/src
(line 879 of Makefile).
*** Error code 1

Stop in /usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/build-i386-ssl/src
(line 589 of Makefile).
*** Error code 1

Stop in /usr/ports/www/squid/w-squid-2.5.STABLE1-ssl/build-i386-ssl
(line 225 of Makefile).
*** Error code 1

[/code:1:a95cd758c3]

Kernel_Killer
October 7th, 2003, 23:45
Ok. Resolved. There is a bug in squid-2.5-STABLE1 that errors on --with-ssl.

http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE1-openssl097

elmore
October 7th, 2003, 23:49
transproxy is pretty nice!

Kernel_Killer
October 8th, 2003, 05:53
I will have to check that out. Squid is having most trouble allowing SSL to work. No matter if I add '--with-ssl' , '--enable-ssl', or both to the Makefile, or manually configure;make;make install the /work source, it will not enable.

Any advantages over Squid with Transproxy? Just want to know because I won't stop trying to make Squid work. :roll: