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

From: Randall DuCharme <radio-ad5gb@dont-contact.us>
Date: Wed, 7 Nov 2007 21:47:23 -0500 (EST)

Greetings,

It appears as though you may be correct. Sorry, I'm not that familiar
(yet) with the GNU auto-tools.

Anyway, bootstrap.sh says bad things about my system:

$ ./bootstrap.sh
WARNING: Cannot find libtool version 1.5 1.4
./bootstrap.sh: libtool: not found
Trying
automake : -1.9
autoconfg:
libtool :
Bootstrapping
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/sfw/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/sfw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/sfw/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT
./bootstrap.sh: libtoolize: not found
libtoolize failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree


Thus, it appears as though I have some work to do before I can
upgrade my proxy :(.


Kind regards


--
Randall D. DuCharme (Radio AD5GB)
Powered by OpenSolaris!
http://www.opensolaris.org

 --- On Wed 11/07, Amos Jeffries < squid3@treenet.co.nz > wrote:
From: Amos Jeffries [mailto: squid3@treenet.co.nz]
To: radio-ad5gb@excite.com
     Cc: squid-users@squid-cache.org
Date: Wed, 07 Nov 2007 23:18:39 +1300
Subject: Re: [squid-users] Solaris/OpenSSL/MD5 Issues

Randall DuCharme wrote:> > Greetings,> > I've recently run into a problem with building Squid on the latest Solaris 10 release from Sun as well as the Nevada 74 release of OpenSolaris and before I start hacking and wasting time, I'm wondering if someone else has encountered/solved this. I've done a pretty exhaustive Google and BLOG (several) search(es) but am still empty-handed.> > The problem seems to be about /usr/include/sys/md5.h .... as follows:> > In file included from /usr/include/inet/ip_stack.h:37,> from /usr/include/inet/ip.h:50,> from /usr/include/netinet/ip_compat.h:189,> from IPInterception.cc:59:> /usr/include/sys/md5.h:62: error: conflicting declaration 'typedef struct MD5_CTX MD5_CTX'> ../include/md5.h:59: error: 'MD5_CTX' has a previous declaration as `typedef struct MD5Context MD5_CTX'> /usr/include/sys/md5.h:62: error: declaration of `typedef struct MD5_CTX MD5_CTX'> ../include/md5.h:59: error: conflicts
with previous declaration `typedef struct MD5Context MD5_CTX'> /usr/include/sys/md5.h:62: error: declaration of `typedef struct MD5_CTX MD5_CTX'> ../include/md5.h:59: error: conflicts with previous declaration `typedef struct MD5Context MD5_CTX'> /usr/include/sys/md5.h:62: error: declaration of `typedef struct MD5_CTX MD5_CTX'> ../include/md5.h:59: error: conflicts with previous declaration `typedef struct MD5Context MD5_CTX'> /usr/include/sys/md5.h:66: error: declaration of C function `void MD5Final(void*, MD5_CTX*)' conflicts with> ../include/md5.h:63: error: previous declaration `void MD5Final(uint8_t*, MD5Context*)' here> gmake[1]: *** [IPInterception.lo] Error 1> gmake[1]: Leaving directory `/export/home/randy/Download/squid-3.0.RC1/src'> gmake: *** [all-recursive] Error 1IPInterception does nothing with MD5_CTX.Ooooh. Last time I saw an error that appeared to be buried in the sys headers it turned out to be an autoconf problem generating weird syntax.Try running
bootstrap.sh, and configure, etc again on a clean set of sources.If the problem persists please attach a copy of the resulting include/autoconf.h and configure.log to squid-dev or bugzilla.Also any patches you are applying.> > I'm still running an older (2.6-STABLE5) release that was built on an earlier release of OpenSolaris so I'm not exactly sure what changed or when. > > > Further, I've tried to build 3.0RC1 with SunStudio12 but it complains about operator overloading when building Squid's 3.0 RC1 like so:> > CC: Warning: Option -fhuge-objects passed to ld, if ld is invoked, ignored otherwise> "HttpRequestMethod.h", line 138: Error: Overloading ambiguity between "operator!=(const HttpRequestMethod&, const _method_t&)" and "operator!=(int, int)".> 1 Error(s) detected.> *** Error code 1> make: Fatal error: Command failed for target `cf_gen.o'> Current working directory /export/home/randy/Download/squid-3.0.RC1/srcThis second looks like a compiler issue.Somehow its not
registering types properly in its symbol tables. It's confusing ptr with int, and even appears to be screwing the const correctness over (the error is for constptr-to-data, where the squid code contains ptr-to-constdata. Two very different types in C++).> > I can hack my way past the overloading ambiguity problem as well as the GNU assumpton about the -f switch (-fhuge-objects ) but end up> with roughly the same problem with /usr/include/sys/md5.h.> > What the heck am I missing??????> > > Kind regards!> Amos

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on Wed Nov 07 2007 - 19:47:33 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST