Re: [squid-users] Solaris/OpenSSL/MD5 Issues

2007-11-11 Thread Guido Serassio

Hi,

At 05.42 11/11/2007, Randall DuCharme wrote:


Ok this is strange.  It looks like it's trying to compile ESI
specific support in yet I've not done --enable-esi.  In autoconf.h
#define ESI 0 is present.  I've removed the -Werror flag for now
 so the multiple inclusion warning shouldn't be stopping anything:


Amos: this is EXACTLY what happened on MSYS+MinGW when I had 
discovered the autoconf problem in the SQUID3-IPV6 branch.


And please note: I'm able to build fine Squid3 on Solaris 10 x86 
(AMD64 CPU) using gcc.


Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



Re: [squid-users] Solaris/OpenSSL/MD5 Issues

2007-11-11 Thread Amos Jeffries

Guido Serassio wrote:

Hi,

At 05.42 11/11/2007, Randall DuCharme wrote:


Ok this is strange.  It looks like it's trying to compile ESI
specific support in yet I've not done --enable-esi.  In autoconf.h
#define ESI 0 is present.  I've removed the -Werror flag for now
 so the multiple inclusion warning shouldn't be stopping anything:


Amos: this is EXACTLY what happened on MSYS+MinGW when I had 
discovered the autoconf problem in the SQUID3-IPV6 branch.


Exactly?
That autoconf problem we had in IPv6 was an over-fancy autoconf test 
producing some invalid C++ in include/autoconf.h.


Amos


Re: [squid-users] Solaris/OpenSSL/MD5 Issues

2007-11-11 Thread Guido Serassio

Hi Amos,

At 11.24 11/11/2007, Amos Jeffries wrote:

Guido Serassio wrote:

Hi,
At 05.42 11/11/2007, Randall DuCharme wrote:


Ok this is strange.  It looks like it's trying to compile ESI
specific support in yet I've not done --enable-esi.  In autoconf.h
#define ESI 0 is present.  I've removed the -Werror flag for now
 so the multiple inclusion warning shouldn't be stopping anything:
Amos: this is EXACTLY what happened on MSYS+MinGW when I had 
discovered the autoconf problem in the SQUID3-IPV6 branch.


Exactly?
That autoconf problem we had in IPv6 was an over-fancy autoconf test 
producing some invalid C++ in include/autoconf.h.


Yes:

#define ESI 0 was present with ESI disabled during configure, but 
link was failing for undefined reference to ESI objects.
I don't know if there is some relation with this problem, but the 
behaviour is identical.


Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



configure: error: cannot compute sizeof (void *), 77 -during configuration process

2007-11-11 Thread Arthur Tumanyan

Hi.I have a question.

Please have a look at this part of configure.in script that I trying to
modify for my needs.

AM_CONDITIONAL(ENABLE_SHAGA, false)
AC_ARG_ENABLE(shaga,
[  --enable-shagaEnable ShagaEngine support],
[ if test $enableval != no; then
echo ShagaEngine support enabled
AC_DEFINE(USE_SHAGA, 1, [Define this to include code for ShagaEngine.])
AM_CONDITIONAL(ENABLE_SHAGA, true)
CFLAGS=$CFLAGS -L../shaga -lshaga
fi
])


When I trying to configure (bootstrap.sh;./configure
--prefix=/usr/local/proxy_test --enable-shaga) 
 squid i get the error configure: error: cannot compute sizeof (void *), 77
.

Otherwise, when I remove  -L../shaga -lshaga ,all is going Ok.
I cannot understand what is happening.
Can anyone help/explain me what does this mean?
Thanks in advance!




-- 
View this message in context: 
http://www.nabble.com/configure%3A-error%3A-cannot-compute-sizeof-%28void-*%29%2C-77---during-configuration-process-tf4786630.html#a13693522
Sent from the Squid - Development mailing list archive at Nabble.com.



Re: [squid-users] Solaris/OpenSSL/MD5 Issues

2007-11-11 Thread Amos Jeffries
 Hi Amos,

 At 11.24 11/11/2007, Amos Jeffries wrote:

After Guidos comment, I think we should do with a diff of a good
working include/autoconf.h against yours and see whats up.

Guido: are you able to supply the working version please?

 Sorry, I was not clear in the previous e-mail: squid3 was building
 fine (with ESI support enabled) without the md5 problem before the
 latest changes.

 Now, disabling ESI support, I have the same error, but during
 configure there was an error:

 ./configure: line 41816: CRYPTLIB+= -lmd5 : command not found

 dnl Solaris10 provides MD5 natively through libmd5
 AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB+= -lmd5 ])

 Is this a deliberate change or a typo error ?

That was a deliberate addition, but perhapse should be using the
alternative ' CRYPTLIB=$CRYPTLIB -lmd5 ' instead. I took the += from an
example elsewhere, which I may have to track down again and fix too. :-(


 I have also tried with squid-3.0.RC1-20071110, but it also fails on
 ESI, so we are hitting an old problem, not related to latest changes.

 Regards

 Guido


Amos




Re: SIMON, Yannick : introducing myself

2007-11-11 Thread Yannick Simon
 Hello

 i am the CTO of a french e-commerce web site called  www.rueducommerce.fr

 i am a expert of ESI developments since i am using AKAMAI's ESI
technology for many years now

 i am developping an ICAP Server written in PERL, just for fun, and i
can, may be, help you with some bugs with squid3

 can i subscribe to squid-dev ?

 thank you

 Yannick


[icap] if reqmod 204 - no respmod is sent by squid ?

2007-11-11 Thread Yannick Simon
Hello

i wrote a little perl icap server

when i issue a 204 response code on a reqmod, squid 3 make a respmod
when i issue a 200 response code on a reqmod, my squid 3 doesn't make a respmod

here is the result of the reqmod i am sending to squid 3

ICAP/1.0 200 OK
ISTAG: 001-000-01
Encapsulated: req-hdr=0, null-body=457
Date: Sun, 11 Nov 2007 22:30:31 GMT
Connection: close
Server: ICAP-Server-Software-By-YS/1.0

GET http://127.0.0.1/b.txt HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive


is this normal that squid3 doesn't make a reqmod after this  ?

Y


Re: configure: error: cannot compute sizeof (void *), 77 -during configuration process

2007-11-11 Thread Henrik Nordstrom
On sön, 2007-11-11 at 09:17 -0800, Arthur Tumanyan wrote:
 Hi.I have a question.
 
 Please have a look at this part of configure.in script that I trying to
 modify for my needs.
 
 AM_CONDITIONAL(ENABLE_SHAGA, false)
 AC_ARG_ENABLE(shaga,
 [  --enable-shagaEnable ShagaEngine support],
 [ if test $enableval != no; then
 echo ShagaEngine support enabled
 AC_DEFINE(USE_SHAGA, 1, [Define this to include code for ShagaEngine.])
 AM_CONDITIONAL(ENABLE_SHAGA, true)
 CFLAGS=$CFLAGS -L../shaga -lshaga
 fi
 ])

This adds -L../shaga -lshaga to the compile line of every compile in
every subdirectory, and every following compile statement in
configure.in..

Should be added to LIBS, and with an absolute path in -L

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


Re: SIMON, Yannick : introducing myself

2007-11-11 Thread Adrian Chadd
Subscribed!



Adrian

On Sun, Nov 11, 2007, Yannick Simon wrote:
  Hello
 
  i am the CTO of a french e-commerce web site called  www.rueducommerce.fr
 
  i am a expert of ESI developments since i am using AKAMAI's ESI
 technology for many years now
 
  i am developping an ICAP Server written in PERL, just for fun, and i
 can, may be, help you with some bugs with squid3
 
  can i subscribe to squid-dev ?
 
  thank you
 
  Yannick

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -