Re: [squid-users] squid-2.5.STABLE8 compilation error
> /usr/bin/ld: cannot find -lz zlib isn't installed. Joost
Re: [squid-users] squid-2.5.STABLE8 compilation error
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 > > > > /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: http://member.fsf.org/join?referrer=3036> http://www.spreadfirefox.com/?q=affiliates&id=468&t=1";>Get Firefox!
Re: [squid-users] squid-2.5.STABLE8 compilation error
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 /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 -- = Sincerely, Yousef Raffah Join FSF as an Associate Member at: http://member.fsf.org/join?referrer=3036> http://www.spreadfirefox.com/?q=affiliates&id=468&t=1";>Get Firefox!
Re: [squid-users] squid-2.5.STABLE8 compilation error
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
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: http://member.fsf.org/join?referrer=3036> http://www.spreadfirefox.com/?q=affiliates&id=468&t=1";>Get Firefox!
Re: [squid-users] squid-2.5.STABLE8 compilation error
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
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: http://member.fsf.org/join?referrer=3036> http://www.spreadfirefox.com/?q=affiliates&id=468&t=1";>Get Firefox!
Re: [squid-users] squid-2.5.STABLE8 compilation error
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
RE: [squid-users] squid-2.5.STABLE8 compilation error
> 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.