Re: i'm having a problem while compiling squid 3.2.0.12 (since 3.2.0.6) on ubuntu server

From: Eliezer Croitoru <eliezer_at_ec.hadorhabaac.com>
Date: Wed, 21 Sep 2011 19:23:11 +0300

On 21/09/2011 16:54, Alex Rousskov wrote:
> On 09/20/2011 11:29 PM, Amos Jeffries wrote:
>>>>
>>>> In file included from ../src/ssl/support.h:38,
>>>> from ssl/ErrorDetailManager.h:4,
>>>> from errorpage.cc:42:
>>>> ../src/ssl/gadgets.h:39: error: variable or field גX509_free_cppג
>>>> declared void
>>>
>>> I believe I have seen this bug as well. Try installing OpenSSL
>>> libraries, including development headers (openssl-devel package or
>>> similar).
>>>
>>> Please consider filing this bug using Squid bugzilla. Please mention
>>> whether installing OpenSSL helped.
>>
>> And which version(s), down to the sub-lettering. There seem to be some
>> fun changes going on in the headers for the 1.0.0 releases.
>
> In my case, it was a Squid bug unrelated to OpenSSL versions. As far as
> I could tell, we were including some SSL-related files even when SSL was
> disabled, but I did not have a chance to fully investigate.
>
>
>> ok so i installed every possilbe openssl lib that i was thinking of using:
>> apt-get install libcurl4-openssl-dev libssl-dev libssl0.9.8 libssl0.9.8-dbg
>>
>> and then i get the following output (some lines where added).:
>>
>> make[3]: Entering directory `/opt/src/squid-3.2.0.12/src'
>> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid32012/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid32012/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid32012/etc\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -m64 -g -O2 -c -o errorpage.o errorpage.cc
>> In file included from ../src/ssl/support.h:38,
>> from ssl/ErrorDetailManager.h:4,
>> from errorpage.cc:42:
>> ../src/ssl/gadgets.h:39: error: variable or field גX509_free_cppג declared void
>
> Did you reconfigure Squid from scratch after installing OpenSSL?
>
>
> Thank you,
>
> Alex.

so the dpkg info is:

ii libssl-dev
0.9.8k-7ubuntu8.6 SSL development
libraries, header files and
ii libssl0.9.8
0.9.8k-7ubuntu8.6 SSL shared libraries
ii libssl0.9.8-dbg
0.9.8k-7ubuntu8.6 Symbol tables for
libssl and libcrypto

and:

ii g++ 4:4.4.3-1ubuntu1
                                 The GNU C++ compiler
ii g++-4.4 4.4.3-4ubuntu5
                                  The GNU C++ compiler

i will now try to reconfigure from scratch bu im almost sure that i did
it already.
what i am doing now is recompiling since version 3.2.0.5 and i will see
on what version im starting to get the error.
(i have compilation machine for that)

Thanks Eliezer
Received on Wed Sep 21 2011 - 16:23:11 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 21 2011 - 12:00:03 MDT