[squid-users] Compiling Squid with ssl enable

From: <squid_at_sourcesystemsonline.com>
Date: Tue, 28 Sep 2010 06:10:56 -0400

Hello, brothers and sisters help me. See attached for details.

I use Windows 7 64bit OS on ASRock Motherboard, MinGW-5.1.6 + MSYS-1.0.11,
msysDTK-1.0.1, other windows platform requirements for squid,
squid-2.7.STABLE8, and also squid-2.7.STABLE9 it gives stack.o error,
Win64OpenSSL_light-1_0_0a from
http://www.slproweb.com/products/Win32OpenSSL.html, vcredist_x64,
ActivePerl-5.12.2.1202-MSWin32-x64-293621, openssl-0.9.8h-1-setup (i
copied some files from lib and include into MinGW lib and include
respectively).
I am trying to compile squid-2.7.STABLE8 or squid-2.7.STABLE9 with
--enable-ssl has one of the options, after the ./configure command and
during the make command it gives error.

I sent the above message to squidnt_at_acmeconsulting.it, see reply below:

You must use a full 32 bit build environment.
64 bit build tools or libraries are not supported (and never developed) on
Windows.
Regards
Guido Serassio - Squid Core Developer
Acme Consulting S.r.l.
Microsoft Gold Certified Partner
VMware Professional Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio_at_acmeconsulting.it
WWW: http://www.acmeconsulting.it

I subsequently use 32 bit build environment: Win32OpenSSL_light-1_0_0a and
later try Win32OpenSSL-1_0_0a from
http://www.slproweb.com/products/Win32OpenSSL.html, vcredist_x32,
ActivePerl-5.12.2.1202-MSWin32-x32-293621 the error still persist.

The issue now is that i am trying to compile squid-2.7.STABLE8 or
squid-2.7.STABLE9 with --enable-ssl option and i got the error (see
attachemts).

I have tried the compilation on different environmentg x86 or x64 all give
the same error i told you before (could not find lssleay32on squid-2.7.8
and stack.o error on squid-2.7.9).

I wanted to install another version of openssl say 10.0.0a but couldn't
find a suitable binary that could address the problem but i find a clue
somewhere
http://old.nabble.com/OpenSSL-code-on-Windows-crashes.-td24003641.html and
http://openssl.org/support/faq.html#PROG2 that ask me to do the following:
To build, I needed to modify the first lines of the example
openssl-10.0.0a.tar.gz source code's Makefile as follows:

OPENSSLDIR=c:/openssl32
CFLAGS=-g -I$(OPENSSLDIR)/include
MD=-Lc:/openssl32/lib -llibeay32 -lssleay32

Honestly, i dont know how to compile openssl talk less of modify any file
in it but later i surmon courage to do something.

See the attached again for the error message i got when am trying to
compile openssl-1.0.0a.

SQUID USERS:Please, what can i do to resolve the error ? OR
guide me on how to compile squid-2.7.STABLE9 (squid-2.7.STABLE8) with
--enable-ssl in a windows 7 x32 or x64 environments.
Regards
Received on Tue Sep 28 2010 - 10:11:03 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 28 2010 - 12:00:05 MDT