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
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
How does this attached patch work for both of you?
Amos
MD5-freebsd.patch
Description: Binary data
>
> 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
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
> 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
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
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
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
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
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
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
>> 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
>
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?
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
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
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
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
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
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.
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
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
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
23 matches
Mail list logo