LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-26-2009, 01:00 AM   #1
gulnawaz
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Question Squid source code installation problem


I am Using the Squid2.7-STABLE7. the ./configure has the following options work successful

./configure --enable-storeio=”disk,aufs,ufs” --enable-removal-policies=”lru,heap” --enable-snmp --enable-delay-pools --enable-arp-acl --enable-cache-digests --enable-linux-netfilter --disable-ident-lookups --enable-underscores --enable-auth=”basic” --enable-basic-auth-helpers=NCSA --with-maxfd=8192 --enable-default-err-language=English && echo “configuration Successful”

BUT make shows the following error:

Error:
make[3]: Leaving directory `/root/Desktop/squid-2.7.STABLE7/src/fs'
Making all in repl
make[3]: Entering directory `/root/Desktop/squid-2.7.STABLE7/src/repl'
make[3]: *** No rule to make target `lib”lru.a', needed by `all-am'. Stop.
make[3]: Leaving directory `/root/Desktop/squid-2.7.STABLE7/src/repl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Desktop/squid-2.7.STABLE7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/Desktop/squid-2.7.STABLE7/src'
make: *** [all-recursive] Error 1

Early response of any one will be highly appreciated.

Regards

Gul
 
Old 11-26-2009, 06:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,277

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
First : /root/ is not supposed to be use for compiling.
/root/ is not to be used for anything. Never.
Doing non administrative tasks as root is unsafe for you,
and a secrurity risk for all others too, if you are
connected to a network / internet.

Default for compiling can be /home/'user'/tmp/
.....
.....
Squid2.7-STABLE7 chokes in one of your options.
Take one away at a time and try again.
Patching for 2.7-STABLE7 is here :
http://packages.debian.org/squeeze/squid
> Links for squid > [squid_2.7.STABLE7-1.diff.gz]
Roll out the patch anywhere to get a folder debian/
The file 'rules' shows the used config options.

If CentOS 5.x : # yum install squid
gets you ver. 2.6 . CentOS 4.x : ver. 2.5 .

A new version with possibly more usable options
wget http://download.fedora.redhat.com/pu...2.fc13.src.rpm
> squid-3.1.0.15-2.fc13.src.rpm : All patching included.
Have a look into 'squid.spec'
.. to see the many included options.
And very easy to rebuild to 'rpm' on CentOS 5.x .
Just works !

rpmbuild -bb squid.spec
.. provides squid-3.1.0.15-2.<arch>.rpm
in /home/'user'/rpms/RPMS/<arch>/ :
> >
Setting up the rpm building account in /home/'user'/
http://www.linuxquestions.org/questi...5.1-766486/#13
..... .. ..
Attached Files
File Type: txt configure-squid.txt (2.3 KB, 6 views)
 
0 members found this post helpful.
Old 12-02-2009, 12:09 AM   #3
gulnawaz
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Squid source Code Installation

I am using centos 2.6 and squid-2.7.STABLE7 i have uzip the squid-2.7.STABLE7 to /src
and have added the --prefix=/usr/local/squid and still i have received the following error plz quid

./cf_gen cf.data ./cf.data.depend
/bin/sh ./repl_modules.sh ”lru heap” > repl_modules.c
/bin/sh ./store_modules.sh ”disk aufs ufs” >store_modules.c
make all-recursive
make[2]: Entering directory `/src/squid-2.7.STABLE7/src'
Making all in fs
make[3]: Entering directory `/src/squid-2.7.STABLE7/src/fs'
make[3]: *** No rule to make target `lib”disk.a', needed by `all-am'. Stop.
make[3]: Leaving directory `/src/squid-2.7.STABLE7/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/squid-2.7.STABLE7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/squid-2.7.STABLE7/src'
make: *** [all-recursive] Error 1
 
Old 12-03-2009, 11:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,277

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
The option --enable-storeio=”disk,aufs,ufs”
will not work with all the squid 2.7...squid-3.0.STABLE20,
using ./configure --enable-storeio=”disk,aufs,ufs” .

The special files / commands etc. to do it is included in
http://download.fedora.redhat.com/pu...2.fc13.src.rpm
.. shown in post # 2 .. and in
http://download.fedora.redhat.com/pu...1.fc10.src.rpm
By doing the rpm rebuild the option will be included.
Else not.
Please read post # 2 again.
.....
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Source code for Debian Installation kushalkoolwal Debian 5 10-03-2005 03:26 PM
Source Code-installation-Slackware 9.1 lmellen Slackware - Installation 14 01-25-2004 05:20 PM
source code installation-slackware lmellen Slackware - Installation 0 01-17-2004 01:22 PM
Source Code installation for 9.2 yraen69 Mandriva 1 01-16-2004 05:56 AM
How to optimize source code installation? Waldi Slackware 4 08-05-2003 01:47 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration