Re: /bzr/squid3/trunk/ r12925: Bug 3297: Fix openSSL related build failures

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 01 Jul 2013 23:54:09 +1200

On 1/07/2013 10:41 p.m., Tsantilas Christos wrote:
> The problem looks that it is that is is uses an older version to
> configure openSSL which is installed under the "/usr/" and finally
> builds with a newer version which installed under the "/usr/local/"
>
> This is because it finds an other component under the "/usr/local" and
> include these locations to build squid.
>
> I believe that configuring using:
> ./configure --with-openssl=/usr/local/
> will fix the problem.
>
> We have also a "3.HEAD-amd64-FreeBSD-9.1" build which uses the gcc
> compiler. In configure.ac script I am seeing the following tests:
>
> if test "$squid_cv_compiler" = "gcc"; then
> case "$squid_host_os" in
> .....
> freebsd)
> # FreeBSD places local libraries and packages in /usr/local
> CFLAGS="$CFLAGS -I/usr/local/include"
> CXXFLAGS="$CXXFLAGS -I/usr/local/include"
> LDFLAGS="$LDFLAGS -L/usr/local/lib -Wl,-R/usr/local/lib"
> ;;
>
> We should include the "/usr/local/" include and library paths for clang
> compiler too.

Yes I think so.

Amos
Received on Mon Jul 01 2013 - 11:54:25 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 01 2013 - 12:00:08 MDT