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