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 09:59:01 +0300

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

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
../src/ssl/gadgets.h:40: error: template argument 1 is invalid
../src/ssl/gadgets.h:40: error: template argument 2 is invalid
../src/ssl/gadgets.h:40: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:42: error: variable or field גEVP_PKEY_free_cppג
declared void
../src/ssl/gadgets.h:42: error: גEVP_PKEYג was not declared in this scope
../src/ssl/gadgets.h:42: error: גaג was not declared in this scope
../src/ssl/gadgets.h:43: error: גEVP_PKEYג was not declared in this scope
../src/ssl/gadgets.h:43: error: גEVP_PKEY_free_cppג was not declared in
this scope
../src/ssl/gadgets.h:43: error: template argument 1 is invalid
../src/ssl/gadgets.h:43: error: template argument 2 is invalid
../src/ssl/gadgets.h:43: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:45: error: variable or field גBN_free_cppג declared
void
../src/ssl/gadgets.h:45: error: גBIGNUMג was not declared in this scope
../src/ssl/gadgets.h:45: error: גaג was not declared in this scope
../src/ssl/gadgets.h:46: error: גBIGNUMג was not declared in this scope
../src/ssl/gadgets.h:46: error: גBN_free_cppג was not declared in this scope
../src/ssl/gadgets.h:46: error: template argument 1 is invalid
../src/ssl/gadgets.h:46: error: template argument 2 is invalid
../src/ssl/gadgets.h:46: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:48: error: variable or field גBIO_free_cppג
declared void
../src/ssl/gadgets.h:48: error: גBIOג was not declared in this scope
../src/ssl/gadgets.h:48: error: גaג was not declared in this scope
../src/ssl/gadgets.h:49: error: גBIOג was not declared in this scope
../src/ssl/gadgets.h:49: error: גBIO_free_cppג was not declared in this
scope
../src/ssl/gadgets.h:49: error: template argument 1 is invalid
../src/ssl/gadgets.h:49: error: template argument 2 is invalid
../src/ssl/gadgets.h:49: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:51: error: variable or field
גASN1_INTEGER_free_cppג declared void
../src/ssl/gadgets.h:51: error: גASN1_INTEGERג was not declared in this
scope
../src/ssl/gadgets.h:51: error: גaג was not declared in this scope
../src/ssl/gadgets.h:52: error: גASN1_INTEGERג was not declared in this
scope
../src/ssl/gadgets.h:52: error: גASN1_INTEGER_free_cppג was not declared
in this scope
../src/ssl/gadgets.h:52: error: template argument 1 is invalid
../src/ssl/gadgets.h:52: error: template argument 2 is invalid
../src/ssl/gadgets.h:52: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:54: error: variable or field גTXT_DB_free_cppג
declared void
../src/ssl/gadgets.h:54: error: גTXT_DBג was not declared in this scope
../src/ssl/gadgets.h:54: error: גaג was not declared in this scope
../src/ssl/gadgets.h:55: error: גTXT_DBג was not declared in this scope
../src/ssl/gadgets.h:55: error: גTXT_DB_free_cppג was not declared in
this scope
../src/ssl/gadgets.h:55: error: template argument 1 is invalid
../src/ssl/gadgets.h:55: error: template argument 2 is invalid
../src/ssl/gadgets.h:55: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:57: error: variable or field גX509_NAME_free_cppג
declared void
../src/ssl/gadgets.h:57: error: גX509_NAMEג was not declared in this scope
../src/ssl/gadgets.h:57: error: גaג was not declared in this scope
../src/ssl/gadgets.h:58: error: גX509_NAMEג was not declared in this scope
../src/ssl/gadgets.h:58: error: גX509_NAME_free_cppג was not declared in
this scope
../src/ssl/gadgets.h:58: error: template argument 1 is invalid
../src/ssl/gadgets.h:58: error: template argument 2 is invalid
../src/ssl/gadgets.h:58: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:60: error: variable or field גRSA_free_cppג
declared void
../src/ssl/gadgets.h:60: error: גRSAג was not declared in this scope
../src/ssl/gadgets.h:60: error: גaג was not declared in this scope
../src/ssl/gadgets.h:61: error: גRSAג was not declared in this scope
../src/ssl/gadgets.h:61: error: גRSA_free_cppג was not declared in this
scope
../src/ssl/gadgets.h:61: error: template argument 1 is invalid
../src/ssl/gadgets.h:61: error: template argument 2 is invalid
../src/ssl/gadgets.h:61: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:63: error: variable or field גX509_REQ_free_cppג
declared void
../src/ssl/gadgets.h:63: error: גX509_REQג was not declared in this scope
../src/ssl/gadgets.h:63: error: גaג was not declared in this scope
../src/ssl/gadgets.h:64: error: גX509_REQג was not declared in this scope
../src/ssl/gadgets.h:64: error: גX509_REQ_free_cppג was not declared in
this scope
../src/ssl/gadgets.h:64: error: template argument 1 is invalid
../src/ssl/gadgets.h:64: error: template argument 2 is invalid
../src/ssl/gadgets.h:64: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:66: error: variable or field גSSL_CTX_free_cppג
declared void
../src/ssl/gadgets.h:66: error: גSSL_CTXג was not declared in this scope
../src/ssl/gadgets.h:66: error: גaג was not declared in this scope
../src/ssl/gadgets.h:67: error: גSSL_CTXג was not declared in this scope
../src/ssl/gadgets.h:67: error: גSSL_CTX_free_cppג was not declared in
this scope
../src/ssl/gadgets.h:67: error: template argument 1 is invalid
../src/ssl/gadgets.h:67: error: template argument 2 is invalid
../src/ssl/gadgets.h:67: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:69: error: variable or field גSSL_free_cppג
declared void
../src/ssl/gadgets.h:69: error: גSSLג was not declared in this scope
../src/ssl/gadgets.h:69: error: גaג was not declared in this scope
../src/ssl/gadgets.h:70: error: גSSLג was not declared in this scope
../src/ssl/gadgets.h:70: error: גSSL_free_cppג was not declared in this
scope
../src/ssl/gadgets.h:70: error: template argument 1 is invalid
../src/ssl/gadgets.h:70: error: template argument 2 is invalid
../src/ssl/gadgets.h:70: error: invalid type in declaration before ג;ג token
../src/ssl/gadgets.h:77: error: expected constructor, destructor, or
type conversion before ג*ג token
../src/ssl/gadgets.h:83: error: expected constructor, destructor, or
type conversion before ג*ג token
../src/ssl/gadgets.h:109: error: expected constructor, destructor, or
type conversion before ג*ג token
In file included from ../src/ssl/support.h:38,
                  from ssl/ErrorDetailManager.h:4,
                  from errorpage.cc:42:
../src/ssl/gadgets.h:117: error: גBIGNUMג has not been declared
In file included from ssl/ErrorDetailManager.h:4,
                  from errorpage.cc:42:
../src/ssl/support.h:71: error: expected constructor, destructor, or
type conversion before ג*ג token
In file included from ssl/ErrorDetailManager.h:4,
                  from errorpage.cc:42:
../src/ssl/support.h:74: error: expected constructor, destructor, or
type conversion before ג*ג token
../src/ssl/support.h:87: error: גSSLג was not declared in this scope
../src/ssl/support.h:87: error: גsslג was not declared in this scope
../src/ssl/support.h:90: error: typedef גSSLGETATTRIBUTEג is initialized
(use decltype instead)
../src/ssl/support.h:90: error: גSSLג was not declared in this scope
../src/ssl/support.h:90: error: expected primary-expression before ג,ג token
../src/ssl/support.h:90: error: expected primary-expression before גconstג
../src/ssl/support.h:93: error: גSSLGETATTRIBUTEג does not name a type
../src/ssl/support.h:96: error: גSSLGETATTRIBUTEג does not name a type
../src/ssl/support.h:99: error: גSSLג was not declared in this scope
../src/ssl/support.h:99: error: גsslג was not declared in this scope
../src/ssl/support.h:102: error: גSSLג was not declared in this scope
../src/ssl/support.h:102: error: גsslג was not declared in this scope
../src/ssl/support.h:110: error: expected constructor, destructor, or
type conversion before ג*ג token
../src/ssl/support.h:117: error: גSSL_CTXג was not declared in this scope
../src/ssl/support.h:117: error: גsslContextג was not declared in this scope
../src/ssl/support.h:124: error: expected constructor, destructor, or
type conversion before ג*ג token
../src/ssl/support.h:135: error: גX509ג was not declared in this scope
../src/ssl/support.h:135: error: גpeer_certג was not declared in this scope
../src/ssl/support.h:135: error: expected primary-expression before גvoidג
../src/ssl/support.h:135: error: גcheck_funcג was not declared in this scope
../src/ssl/support.h:135: error: expected primary-expression before גvoidג
../src/ssl/support.h:135: error: גASN1_STRINGג was not declared in this
scope
../src/ssl/support.h:135: error: גcn_dataג was not declared in this scope
../src/ssl/support.h:135: error: initializer expression list treated as
compound expression
../src/ssl/support.h:145: error: גASN1_TIMEג was not declared in this scope
../src/ssl/support.h:145: error: expected primary-expression before ג,ג
token
../src/ssl/support.h:145: error: expected primary-expression before גcharג
../src/ssl/support.h:145: error: expected primary-expression before גintג
../src/ssl/support.h:145: error: initializer expression list treated as
compound expression
../src/ssl/support.h:153: error: גSSLג was not declared in this scope
../src/ssl/support.h:153: error: גsslג was not declared in this scope
../src/ssl/support.h:153: error: expected primary-expression before גconstג
../src/ssl/support.h:153: error: initializer expression list treated as
compound expression
make[3]: *** [errorpage.o] Error 1
make[3]: Leaving directory `/opt/src/squid-3.2.0.12/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/squid-3.2.0.12/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/src/squid-3.2.0.12/src'
make: *** [all-recursive] Error 1
Received on Wed Sep 21 2011 - 06:59:20 MDT

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