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

2007-11-15 Thread Amos Jeffries
Adrian Chadd wrote: On Wed, Nov 14, 2007, Amos Jeffries wrote: The bigger problem which you have just uncovered is that FreeBSD does provide a sys/md5.h, but does not define the MD5_DIGEST_CHARS or MD5_DIGEST_ For the fix of FreeBSD. It should just be a little tweak of the #define for Why don

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

2007-11-14 Thread Adrian Chadd
On Wed, Nov 14, 2007, Amos Jeffries wrote: > The bigger problem which you have just uncovered is that FreeBSD does > provide a sys/md5.h, but does not define the MD5_DIGEST_CHARS or > MD5_DIGEST_ > For the fix of FreeBSD. It should just be a little tweak of the #define for Why don't we just force

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

2007-11-13 Thread Amos Jeffries
How does this attached patch work for both of you? Amos MD5-freebsd.patch Description: Binary data

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

2007-11-13 Thread Amos Jeffries
> > The patches to make "MD5" work on Solaris have broken things on > FreeBSD (at least) which also has a sys/md5.h. Compile fails with > "error: `MD5_DIGEST_LENGTH' was not declared in this scope" > > It seems to me that the original problem was just that Squid's own > MD5 routines are using name

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

2007-11-13 Thread Duane Wessels
The patches to make "MD5" work on Solaris have broken things on FreeBSD (at least) which also has a sys/md5.h. Compile fails with "error: `MD5_DIGEST_LENGTH' was not declared in this scope" It seems to me that the original problem was just that Squid's own MD5 routines are using names that coll

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

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

2007-11-11 Thread Randall DuCharme
Powered by OpenSolaris! http://www.opensolaris.org --- On Sun 11/11, Amos Jeffries < [EMAIL PROTECTED] > wrote: From: Amos Jeffries [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], squid-dev@squid-cache.org, [EMAIL PROTECTED] Date: Sun, 11 Nov 2007 23:24:43

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

2007-11-11 Thread Guido Serassio
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

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

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

2007-11-11 Thread Amos Jeffries
Randall DuCharme wrote: Undefined first referenced symbol in file esiEnableProcessing(HttpReply*) client_side_reply.o esiProcessStream(clientStreamNode*, ClientHttpRequest*, HttpReply*, StoreIOBuffer) client_side_reply.o What does adding a #if ESI #error Something defined ESI! #endif Do to

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

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 st

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

2007-11-10 Thread Randall DuCharme
>> Undefined first referenced >> symbol in file >> esiEnableProcessing(HttpReply*) client_side_reply.o >> esiProcessStream(clientStreamNode*, ClientHttpRequest*, HttpReply*, >> StoreIOBuffer) client_side_reply.o > What does adding a > #if ESI > #error Something defined ESI! > #endif >

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

2007-11-10 Thread Amos Jeffries
Randall DuCharme wrote: Amos wrote Okay. That looks like another seperate problem than MD5. For some reason you have "-Wl,-R -Wl,/usr/sfw/lib/amd64" twice times at the end of the g++ parameters, that looks to be the problem. Are you manually setting those flags or leaving to the autotools?

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

2007-11-10 Thread Randall DuCharme
Amos wrote >> Okay. That looks like another seperate problem than MD5. >> For some reason you have "-Wl,-R -Wl,/usr/sfw/lib/amd64" >> twice times at the end of the g++ parameters, that looks to be >> the problem. Are you manually setting those flags or leaving >> to the autotools? > I

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

2007-11-10 Thread Amos Jeffries
Randall DuCharme wrote: Amos wrote: Maybe this would be the better one if it works: AC_CHECK_LIB(crypt, crypt, [CRYPTLIB=" -lcrypt "]) AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB+=" -lmd5 "]) This works fine. (still learning how to use these GNU auto-tools. I am a C/UNIX developer by profession but

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

2007-11-10 Thread Randall DuCharme
Amos wrote: >Maybe this would be the better one if it works: > AC_CHECK_LIB(crypt, crypt, [CRYPTLIB=" -lcrypt "]) > AC_CHECK_LIB(md5, MD5Init, [CRYPTLIB+=" -lmd5 "]) This works fine. (still learning how to use these GNU auto-tools. I am a C/UNIX developer by profession but don't use GNU to

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

2007-11-10 Thread Amos Jeffries
Randall DuCharme wrote: Just an update Amos, I took the patch plus the change to fix the copy/paste error, hand applied relevant bits to 2.6.STABLE16 and it complained about not being able to find MD5Init, MD5Update and MD5Final. Seems it's in libmd5.so.1. I guess that would be logical LOL. I

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

2007-11-10 Thread Randall DuCharme
Just an update Amos, I took the patch plus the change to fix the copy/paste error, hand applied relevant bits to 2.6.STABLE16 and it complained about not being able to find MD5Init, MD5Update and MD5Final. Seems it's in libmd5.so.1. I guess that would be logical LOL. I hacked configure.in

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

2007-11-09 Thread Amos Jeffries
Randall DuCharme wrote: Greetings, Finally got some time again to get auto-tools working correctly, learn a little bit about using it, and work with the patch. First attempt after bootstrapping and configure (with 3.0.RC1 and GCC) left me with this: . . . if gcc -DHAVE_CONFIG_H -I.

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

2007-11-09 Thread Randall DuCharme
Kind regards -- Randall D. DuCharme (Radio AD5GB) Powered by OpenSolaris! http://www.opensolaris.org --- On Thu 11/08, Amos Jeffries < [EMAIL PROTECTED] > wrote: From: Amos Jeffries [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], squid-dev@squid-ca

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

2007-11-08 Thread Amos Jeffries
OTECTED], [EMAIL PROTECTED] > Date: Thu, 8 Nov 2007 16:53:45 +1300 (NZDT) > Subject: Re: [squid-users] Solaris/OpenSSL/MD5 Issues > >>> Greetings,>> First of all please note that I was using the SunStudio-12 >>> compiler> and not GCC for this. I'm sorry if I

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

2007-11-07 Thread Randall DuCharme
Greetings, Amos requested I post here with these results. A brief update first... I installed libtool(1.5.24), grabbed a fresh squid-2.6.STABLE16 tarball and tried to run bootstrap.sh. It first complained about autoconf (which lives in /usr/sfw) being too old so I installed 2.60 in