On 21/09/11 18:59, Eliezer Croitoru wrote:
> On 21/09/2011 08:29, Amos Jeffries wrote:
>> On 21/09/11 17:02, Alex Rousskov wrote:
>>> On 09/20/2011 10:35 PM, Eliezer Croitoru wrote:
>>>> using ubuntu server 10.04 latest updates applied.
>>>> compiling squid 3.2.0.5 works great but since then tried to compile and
>>>> couldnt make it compile.
>>>> i understood that on debian 6 it works great but i didnt check it yet.
>>>>
>>>> the following software was installed in order to make squid 3.1 and 3.2
>>>> compile:
>>>> apt-get install build-essential libldap2-dev libpam0g-dev libdb-dev
>>>> dpatch cdbs libsasl2-dev debhelper libcppunit-dev libkrb5-dev
>>>> comerr-dev
>>>> libcap2-dev libexpat1-dev libxml2-dev libcap2-dev dpkg-dev
>>>>
>>>> config..(worked for 3.2.0.5 and still running for at least since it was
>>>> released a very long time):
>>>> ./configure --prefix=/opt/squid32012 --includedir=/include
>>>> --mandir=/share/man --infodir=/share/info
>>>> --localstatedir=/opt/squid32012/var --disable-maintainer-mode
>>>> --disable-dependency-tracking --disable-silent-rules --enable-inline
>>>> --enable-async-io=8 --enable-storeio=ufs,aufs,diskd
>>>> --enable-removal-policies=lru,heap --enable-delay-pools
>>>> --enable-cache-digests --enable-underscores --enable-icap-client
>>>> --enable-follow-x-forwarded-for
>>>> --enable-digest-auth-helpers=ldap,password
>>>> --enable-negotiate-auth-helpers=squid_kerb_auth
>>>> --enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group
>>>>
>>>>
>>>> --enable-arp-acl --enable-esi--disable-translation
>>>> --with-logdir=/opt/squid32012/var/log
>>>> --with-pidfile=/var/run/squid32012.pid --with-filedescriptors=65536
>>>> --with-large-files --with-default-user=proxy --enable-linux-netfilter
>>>> --enable-ltdl-convenience
>>>>
>>>> thsnks in advance
>>>> Eliezer
>>>>
>>>> the error is:
>>>>
>>>> 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.
>>
>>>
>>> For the record, explicitly disabling SSL support in Squid does not help
>>> in this case. This is a bug.
>>>
>>>
>>> Thank you,
>>>
>>> Alex.
>>>
>>
>> Thank you.
>>
>> Amos
>
> 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
>
sub-version details?
dpkg --list | grep "libssl"
dpkg --list | grep "g++"
> 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
> ../src/ssl/gadgets.h:39: error: גX509ג was not declared in this scope
> ../src/ssl/gadgets.h:39: error: גaג was not declared in this scope
> ../src/ssl/gadgets.h:40: error: גX509ג was not declared in this scope
> ../src/ssl/gadgets.h:40: error: גX509_free_cppג was not declared in this
> scope
It is building fine here with libssl-dev 0.9.8o-5ubuntu1.
I wonder if its a compiler issue with 'extern "C++" inline' or header
issues down in those versions as well?
Can you run that command again with "-E -o errorpage.P" instead of "-c
-o errorpage.o" and look for X509_free_cpp in the errorpage.P output
file. There should be an inline definition and a typedef at the top of
the Ssl namespace.
Amos
-- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.15 Beta testers wanted for 3.2.0.12Received on Wed Sep 21 2011 - 11:00:33 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 21 2011 - 12:00:03 MDT