[squid-users] Re: Cannot find OpenSSL headers

From: Henrik Nordstrom <[email protected]>
Date: 24 Feb 2003 11:04:56 +0100

Then please do this.

1. Start from a fully clean squid-2.5.STABLE1 source tree
   (remove your current tree, and unpack the tarball again).

2. Configure Squid with "--with-openssl", WITHOUT any argument.

3. If it still complains, check config.log to see why if fails to find
your OpenSSL headers and verify your OpenSSL installation.

Regards
Henrik

m�n 2003-02-24 klockan 03.22 skrev Ben White:
> Hi Henrik,
>
> My OpenSSL is installed in /usr/include/openssl.
>
> I have already done :
> ./configure --with-openssl=/usr/include/openssl
>
> I still have the same problem as before when "make" is
> executed, ie " ../include/md5.h:18:2: #error Cannot
> find OpenSSL headers".
>
> I'm at my wits'end.
>
> --- Henrik Nordstrom <hno@squid-cache.org> wrote: >
> Where is your OpenSSL installed? If not installed in
> > usr (includes in
> > /usr/include/openssl, libraries in /usr/lib/libssl*
> > etc) then you
> > need to specify the exact same prefix as used when
> > installing OpenSSL
> > to Squid configure --with-openssl=... option.
> >
> > Note: When changing configure options or components
> > Squid depends on
> > such as OpenSSL you need to run "make distclean" or
> > "rm config.cache"
> > to force configure to retest your system.
> >
> > Regards
> > Henrik
> >
> > On Thursday 20 February 2003 06.59, Ben White wrote:
> > > Henrik,
> > >
> > > Would you be able to help ? I have posted my
> > problem
> > > below to the forum before, but the suggested
> > solutions
> > > did not help much.
> > >
> > > I'm using squid-2.5.STABLE1-20030220 on Solaris 8.
> > >
> > > I have done :
> > > 1)./configure --prefix=/usr/local/squid
> > --with-openssl
> > > 2)./configure --prefix=/usr/local/squid
> > --enable-ssl
> > >
> > > But when I execute "make" command, I keep having
> > this
> > > below :
> > >
> > > In file included from rfc2617.c:52:
> > > ../include/md5.h:18:2: #error Cannot find OpenSSL
> > > headers
> > > rfc2617.c: In function `DigestCalcHA1':
> > > rfc2617.c:105: `MD5_CTX' undeclared (first use in
> > this
> > > function)
> > > rfc2617.c:105: (Each undeclared identifier is
> > reported
> > > only once
> > > rfc2617.c:105: for each function it appears in.)
> > > rfc2617.c:105: parse error before "Md5Ctx"
> > > rfc2617.c:108: warning: implicit declaration of
> > > function `MD5_Init'
> > > rfc2617.c:108: `Md5Ctx' undeclared (first use in
> > this
> > > function)
> > > rfc2617.c:109: warning: implicit declaration of
> > > function `MD5_Update'
> > > rfc2617.c:114: warning: implicit declaration of
> > > function `MD5_Final'
> > > rfc2617.c: In function `DigestCalcResponse':
> > > rfc2617.c:142: `MD5_CTX' undeclared (first use in
> > this
> > > function)
> > > rfc2617.c:142: parse error before "Md5Ctx"
> > > rfc2617.c:149: `Md5Ctx' undeclared (first use in
> > this
> > > function)
> > > make[1]: *** [rfc2617.o] Error 1
> > > make[1]: Leaving directory
> > > `/squid-2.5.STABLE1-20030220/lib'
> > > make: *** [all-recursive] Error 1
> > >
> > >
> > > Thank you.
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Promote your business from just $5 a month!
> > > http://sg.biztools.yahoo.com
> >
>
> __________________________________________________
> Do You Yahoo!?
> Promote your business from just $5 a month!
> http://sg.biztools.yahoo.com

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Feb 24 2003 - 03:05:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:34 MST