Re: [squid-users] Setting up new Squid server

From: Sagar <sagar.navalkar_at_gmail.com>
Date: Wed, 4 Aug 2010 18:43:49 +0530

Hi Amos,

I am getting the following error while installing squid 3.1.6 on RHEL5
while running "make" ... I had an older version of squid installed on
the server which I had un-installed using # rpm -e
squid-2.6.STABLE6-4.el5

=============================================================================================
Making all in compat
make[1]: Entering directory `/root/squid-3.1.6/compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/squid-3.1.6/compat'
Making all in lib

etc......
etc......
etc......
etc......
etc......
etc......
etc......
etc......

depbase=`echo wordlist.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I.. -I../include
-I../src -I../include -I../src -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -MT wordlist.o
-MD -MP -MF $depbase.Tpo -c -o wordlist.o wordlist.cc &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo LoadableModule.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I.. -I../include
-I../src -I../include -I../src -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -MT
LoadableModule.o -MD -MP -MF $depbase.Tpo -c -o LoadableModule.o
LoadableModule.cc &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from ../libltdl/ltdl.h:37,
                 from LoadableModule.cc:10:
../libltdl/libltdl/lt_error.h:35:31: error: libltdl/lt_system.h: No
such file or directory
make[3]: *** [LoadableModule.o] Error 1
make[3]: Leaving directory `/root/squid-3.1.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.1.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.1.6/src'
make: *** [all-recursive] Error 1

=============================================================================================

On Sun, Jul 11, 2010 at 12:50 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Sagar wrote:
>>
>> Hi All,
>>
>> I'm setting up a new internet broadband with squid for proxy.
>>
>> If i want to use a Web GW i give the following line in squid.conf
>>
>> cache_peer 11.122.x.x parent 8080 7 no-query  default
>>
>> But if i do not want to use a Web GW & give my braodband static IP as
>> a next hop to Squid, how do i define that?
>
> Removing the cache_peer directive causes squid to always go DIRECT from
> itself to the source website. The OS underneath Squid takes care of any
> routing gateway, IP selection or NAT that is needed.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.5
>

-- 
Regards.
Sagar Navalkar.
Received on Wed Aug 04 2010 - 13:14:16 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 05 2010 - 12:00:01 MDT