[squid-users] RE: compilation issue

From: Guy Speier <guys@dont-contact.us>
Date: Mon, 21 Feb 2005 13:45:45 -0600

By mosifying the file rfc2617.c and giving the absolute path to md5.g, I
get further, but still fail at;
Making all in fs
source='ufs/store_dir_ufs.c' object='ufs/store_dir_ufs.o' libtool=no \
depfile='.deps/ufs/store_dir_ufs.Po'
tmpdepfile='.deps/ufs/store_dir_ufs.TPo' \
depmode=none /bin/sh ../../cfgaux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -I/usr/local/ssl/include -g -c -o
ufs/store_dir_ufs.o `test -f ufs/store_dir_ufs.c || echo
'./'`ufs/store_dir_ufs.c
"../../src/ssl_support.h", line 46: warning: old-style declaration or
incorrect type for: SSL_CTX
"../../src/ssl_support.h", line 46: syntax error before or at: *
"../../src/ssl_support.h", line 46: warning: old-style declaration or
incorrect type for: sslCreateContext
"../../src/structs.h", line 816: syntax error before or at: SSL
cc: acomp failed for ufs/store_dir_ufs.c

Do you have any ideas of what could cause this?

-----Original Message-----
From: Guy Speier
Sent: Monday, February 21, 2005 1:12 PM
To: squid-users@squid-cache.org
Subject: compilation issue

Hello,

I am trying to compile squid (STABLE8 on solaris9) after the following
configure:

/configure --enable-ssl --prefix=/usr/local/bin/squid
--with-openssl=/usr/local/ssl

And I get:
cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/local/ssl/include -g -c `test -f rfc2617.c || echo
'./'`rfc2617.c
"../include/md5.h", line 18: #error: Cannot find OpenSSL headers
cc: acomp failed for rfc2617.c
*** Error code 2
make: Fatal error: Command failed for target `rfc2617.o'
Current working directory
/userdata/users/guys/squid/squid-2.5.STABLE8/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

I have also tried --with-openssl=
/usr/local/ssl/include/openssl
and
/usr/local/ssl/include

And I do have the headers at:
/usr/local/ssl/include/openssl

Thank you for your help!
Guy
Received on Mon Feb 21 2005 - 12:44:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST