Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-21 Thread Joost de Heer
 /usr/bin/ld: cannot find -lz

zlib isn't installed.

Joost



Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Yousef Raffah
On Sat, 19 Feb 2005 15:20:37 +0100, Elsen Marc [EMAIL PROTECTED] wrote:
 
  Hello everyone,
 
  I have a RedHat AS 3.0 box which I want to install squid on. So I
  downloaded squid-2.5.STABLE8 and unpacked it.
 
  I used these options as my configure options:
  ./configure --enable-xmalloc-statistics --enable-delay-pools
  --enable-useragent-log --enable-referer-log --enable-snmp
  --enable-arp-acl --enable-ssl --enable-linux-netfilter
  --enable-x-accelerator-vary
 
 ...
 
- Does it work (as a test) when --enable-ssl is not used ?
works like a charm withouth --enable-ssl

- Do you have openssl installed on your system.
 
Yes, openssl-0.9.7a-22.1 is installed



-- 
=
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
URL:http://member.fsf.org/join?referrer=3036
a href=http://www.spreadfirefox.com/?q=affiliatesamp;id=468amp;t=1;Get
Firefox!/a


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Reuben Farrelly
Hi,
At 01:39 a.m. 21/02/2005, you wrote:
On Sat, 19 Feb 2005 15:20:37 +0100, Elsen Marc [EMAIL PROTECTED] wrote:

  Hello everyone,
 
  I have a RedHat AS 3.0 box which I want to install squid on. So I
  downloaded squid-2.5.STABLE8 and unpacked it.
 
  I used these options as my configure options:
  ./configure --enable-xmalloc-statistics --enable-delay-pools
  --enable-useragent-log --enable-referer-log --enable-snmp
  --enable-arp-acl --enable-ssl --enable-linux-netfilter
  --enable-x-accelerator-vary
 
 ...

- Does it work (as a test) when --enable-ssl is not used ?
works like a charm withouth --enable-ssl
- Do you have openssl installed on your system.

Yes, openssl-0.9.7a-22.1 is installed
What about openssl-devel ?
reuben


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Yousef Raffah
On Sat, 19 Feb 2005 16:47:36 +0100 (CET), Henrik Nordstrom
[EMAIL PROTECTED] wrote:
 On Sat, 19 Feb 2005, Yousef Raffah wrote:
 
  I have a RedHat AS 3.0 box which I want to install squid on. So I
  downloaded squid-2.5.STABLE8 and unpacked it.
 
  I used these options as my configure options:
  ./configure --enable-xmalloc-statistics --enable-delay-pools
  --enable-useragent-log --enable-referer-log --enable-snmp
  --enable-arp-acl --enable-ssl --enable-linux-netfilter
  --enable-x-accelerator-vary
 
 Are you positively sure you want all those --enable options? Several of
 them are not suited for production use, and most never needed in an normal
 Internet proxy.
 
 Rule of thumb is to never include an --enable option unless you know what
 this option does and are positively sure you must use it.
 
OK thanks a lot for the hints :)

  In file included from ../../src/squid.h:384,
  from ufs/store_dir_ufs.c:36:
  ../../src/ssl_support.h:46: syntax error before '*' token
 
 If you want to compile with Squid --enable-ssl (only needed to run Squid
 as an SSL accelerating reverse proxy in front of your own web servers) you
 need the following packages installed on RedHat:
 
Yes, this is the main reason I want squid for ;)

openssl-devel
openssl-0.9.7a-22.1
openssl-devel-0.9.7a-22.1

krb5-devel
krb5-devel-1.2.7-19

pkgconfig
pkgconfig-0.14.0-5

I have these packages installed.
 
 plus the normal development tools..
I'm sorry but which packages exactly? How can I know the required
development packages here?

-- 
=
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
URL:http://member.fsf.org/join?referrer=3036
a href=http://www.spreadfirefox.com/?q=affiliatesamp;id=468amp;t=1;Get
Firefox!/a


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Henrik Nordstrom
On Sun, 20 Feb 2005, Yousef Raffah wrote:
Yes, this is the main reason I want squid for ;)
   openssl-devel
openssl-0.9.7a-22.1
openssl-devel-0.9.7a-22.1
   krb5-devel
krb5-devel-1.2.7-19
   pkgconfig
pkgconfig-0.14.0-5
I have these packages installed.
Are you positively sure you had these installed when you ran configure the 
first time? The error indicates configure could not find the openssl 
headers from openssl-devel.

Try make distclean or start from a new source tree.
I'm sorry but which packages exactly? How can I know the required
development packages here?
You already have these.
Regards
Henrik


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Yousef Raffah
On Sun, 20 Feb 2005 14:24:58 +0100 (CET), Henrik Nordstrom
[EMAIL PROTECTED] wrote:
 On Sun, 20 Feb 2005, Yousef Raffah wrote:
 
  Yes, this is the main reason I want squid for ;)
 
 openssl-devel
  openssl-0.9.7a-22.1
  openssl-devel-0.9.7a-22.1
 
 krb5-devel
  krb5-devel-1.2.7-19
 
 pkgconfig
  pkgconfig-0.14.0-5
 
  I have these packages installed.
 
 Are you positively sure you had these installed when you ran configure the
 first time? The error indicates configure could not find the openssl
 headers from openssl-devel.
 
 Try make distclean or start from a new source tree.
 
I just tried it now after installing the missing development packages
and got this different error

./configure --enable-ssl
snip
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/root/squid-2.5.STABLE8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-2.5.STABLE8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-2.5.STABLE8/src'
make: *** [all-recursive] Error 1
/snip

-- 
=
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
URL:http://member.fsf.org/join?referrer=3036
a href=http://www.spreadfirefox.com/?q=affiliatesamp;id=468amp;t=1;Get
Firefox!/a


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-20 Thread Yousef Raffah
On Sun, 20 Feb 2005 17:21:02 +0100 (CET), Henrik Nordstrom
[EMAIL PROTECTED] wrote:
 
 
 On Sun, 20 Feb 2005, Yousef Raffah wrote:
 
  I just tried it now after installing the missing development packages
  and got this different error
 
  ./configure --enable-ssl
  snip
  /usr/bin/ld: cannot find -lz
 
 You are now missing zlib-devel.
 
Thanks a lot Henrik, it is has compiled successfully now :)

-- 
=
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
URL:http://member.fsf.org/join?referrer=3036
a href=http://www.spreadfirefox.com/?q=affiliatesamp;id=468amp;t=1;Get
Firefox!/a


[squid-users] squid-2.5.STABLE8 compilation error

2005-02-19 Thread Yousef Raffah
Hello everyone,

I have a RedHat AS 3.0 box which I want to install squid on. So I
downloaded squid-2.5.STABLE8 and unpacked it.

I used these options as my configure options:
./configure --enable-xmalloc-statistics --enable-delay-pools
--enable-useragent-log --enable-referer-log --enable-snmp
--enable-arp-acl --enable-ssl --enable-linux-netfilter
--enable-x-accelerator-vary

It went fine and reported no errors, however, when I make all, I get
the following *syntax* error!

In file included from ../../src/squid.h:384,
 from ufs/store_dir_ufs.c:36:
../../src/ssl_support.h:46: syntax error before '*' token
../../src/ssl_support.h:46: warning: type defaults to `int' in
declaration of `sslCreateContext'
../../src/ssl_support.h:46: warning: data definition has no type or
storage class
In file included from ../../src/squid.h:409,
 from ufs/store_dir_ufs.c:36:
../../src/structs.h:820: syntax error before SSL
../../src/structs.h:820: warning: no semicolon at end of struct or union
../../src/structs.h:821: syntax error before ':' token
ufs/store_dir_ufs.c: In function `storeUfsDirRebuildFromDirectory':
ufs/store_dir_ufs.c:423: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:423: dereferencing pointer to incomplete type
ufs/store_dir_ufs.c: In function `storeUfsDirWriteCleanEntry':
ufs/store_dir_ufs.c:1030: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:1030: dereferencing pointer to incomplete type
ufs/store_dir_ufs.c: In function `storeUfsDirWriteCleanDone':
ufs/store_dir_ufs.c:1056: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:1056: dereferencing pointer to incomplete type
make[4]: *** [ufs/store_dir_ufs.o] Error 1

Can someone direct me on this please? What is happenning? why is it
looking at ufs filesystem? I don't have UFS!

Thanks in advance.

-- 
=
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
URL:http://member.fsf.org/join?referrer=3036
a href=http://www.spreadfirefox.com/?q=affiliatesamp;id=468amp;t=1;Get
Firefox!/a


RE: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-19 Thread Elsen Marc
 
 Hello everyone,
 
 I have a RedHat AS 3.0 box which I want to install squid on. So I
 downloaded squid-2.5.STABLE8 and unpacked it.
 
 I used these options as my configure options:
 ./configure --enable-xmalloc-statistics --enable-delay-pools
 --enable-useragent-log --enable-referer-log --enable-snmp
 --enable-arp-acl --enable-ssl --enable-linux-netfilter
 --enable-x-accelerator-vary
 
...

   - Does it work (as a test) when --enable-ssl is not used ?
   - Do you have openssl installed on your system.
  
   (Please 'address' both items in the given order).

   M.


Re: [squid-users] squid-2.5.STABLE8 compilation error

2005-02-19 Thread Henrik Nordstrom
On Sat, 19 Feb 2005, Yousef Raffah wrote:
I have a RedHat AS 3.0 box which I want to install squid on. So I
downloaded squid-2.5.STABLE8 and unpacked it.
I used these options as my configure options:
./configure --enable-xmalloc-statistics --enable-delay-pools
--enable-useragent-log --enable-referer-log --enable-snmp
--enable-arp-acl --enable-ssl --enable-linux-netfilter
--enable-x-accelerator-vary
Are you positively sure you want all those --enable options? Several of 
them are not suited for production use, and most never needed in an normal 
Internet proxy.

Rule of thumb is to never include an --enable option unless you know what 
this option does and are positively sure you must use it.

In file included from ../../src/squid.h:384,
from ufs/store_dir_ufs.c:36:
../../src/ssl_support.h:46: syntax error before '*' token
If you want to compile with Squid --enable-ssl (only needed to run Squid 
as an SSL accelerating reverse proxy in front of your own web servers) you 
need the following packages installed on RedHat:

  openssl-devel
  krb5-devel
  pkgconfig
plus the normal development tools..
Regards
Henrik