Search squid archive

RE: [squid-users] SO_Fail -1 in store.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> 
> >> What is the best approach to upgrade to 2.5.STABLE7 from 
> 2.5.STABLE6?
> I
> >> see info on how to apply patches but not a new STABLE release.
> 
> >Just install the new version ontop of the old and restart Squid. Same
> as 
> >when patching except that there is no doubt in what Squid version you
> are 
> >using.
> 
> >> Is this really the only option?  I can't fix STABLE7?
> 
> >2.5.STABLE7 is 2.5.STABLE6 + all patches and a few other cosmetic
> changes 
> >to bring everything together in a nice package.
> >
> >Going from one 2.5.STABLE to another 2.5.STABLE or applying 
> a patch to
> a 
> >2.5.STABLE is all the same effort (reinstall ontop of existing 
> >installation, then restart Squid), and by using the current STABLE
> release 
> >you can be confident that your questions will be taken seriously when
> you 
> >have trouble with stability or to reach some site.
> 
> 
> I tried to install 2.5STABLE7 but after doing .configure, 
> make and make
> install I run squid -v and still STABLE6.  I checked to 
> config.log file
> and these look to be the only errors:
> 
> configure:8051: checking Default FD_SETSIZE value
> configure:8081: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8073: warning: return type defaults to `int'
> configure: In function `main':
> configure:8076: warning: implicit declaration of function `exit'
> configure:8100: checking Maximum number of filedescriptors we can open
> configure:8172: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8119: warning: return type defaults to `int'
> configure: In function `main':
> configure:8167: warning: implicit declaration of function `exit'
> configure:8199: checking Default UDP send buffer size
> configure:8225: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8212: warning: return type defaults to `int'
> configure:8244: checking Default UDP receive buffer size
> configure:8270: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8257: warning: return type defaults to `int'
> configure:8289: checking Default TCP send buffer size
> configure:8315: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8302: warning: return type defaults to `int'
> configure:8338: checking Default TCP receive buffer size
> configure:8364: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8351: warning: return type defaults to `int'
> configure:8386: checking if sys_errlist is already defined
> configure:8420: checking for libresolv _dns_ttl_ hack
> configure:8429: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> /tmp/ccSM7OfG.o(.text+0x7): In function `main':
> /root/squid-2.5.STABLE7/configure:8425: undefined reference to
> `_dns_ttl_'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8422 "configure"
> #include "confdefs.h"
> extern int _dns_ttl_;
> int main() {
> return _dns_ttl_;
> ; return 0; }
> configure:8445: checking if inet_ntoa() actually works
> configure:8469: gcc -o conftest -g -O2 -Wall -D_REENTRANT
> -I/usr/kerberos/include    -g conftest.c -lrt -lpthread -lm -lresolv
> -lbsd -lnsl  1>&5
> configure:8458: warning: return type defaults to `int'
> configure:8495: checking for working statvfs() interface
> configure:8514: gcc -c -g -O2 -Wall -D_REENTRANT 
> -I/usr/kerberos/include
> conftest.c 1>&5
> configure:8534: checking for _res.nsaddr_list
> 
> 
> 
> Is are these warnings preventing the upgrade? 

  No,configure has it's tests which can fail or not, for instance.


> What else 
> could I check?
> Thanks.
 
   - check whether squid was build ; should be in relative
to your unpacked distribution root :

        `updist`/src/squid  (so to speak)

Check then for instance :

        `updist`/src/squid -v


        `updist` = dir which contains configure


If that's all OK, check the log/output of 'make install' :
check for any errors.

M.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux