LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-03-2006, 11:46 PM   #1
manishsingh4u
Member
 
Registered: Oct 2005
Location: Madison, Wisconsin
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
help me - configuring squid with delay pools


Hi,
I am new to Kubuntu. I am using 5.10 Breezy Badger. I want to limit the bandwidth usage on per pc basis as one of my room mates is eating all the bandwith we have. Among the 4 PCs, mine is the only Linux box (and hence the best to be made a server...lol).

I have successfully configured and used squid over Fedora Core 1 and SuSE 9.1 by following this article ->
http://www.linuxsecurity.com/resourc...O/install.html

I am using the same procedure which I did for them with Kubuntu. But I am getting some gcc errors. I have installed gcc by using apt-get install gcc. Here's what I get on the konsole.

Code:
root@Manish:/usr/squid# ./configure --prefix=/opt/squid --exec-prefix=/opt/squid --enable-delay-pools --enable-cache-digests --enable-poll --disable-ident-lookups --enable-truncate --enable-removal-policies
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  -g) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
root@Manish:/usr/squid#
Can anyone help me, how to overcome this gcc problem?
 
Old 04-04-2006, 03:49 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
you really need to learn what is and what is not relevant to a particular problem. this is clearly nothign actaully to do with delay pools whatsoever, merely that you've not installed all the necessary development tools for gcc, which clearly doesn't care what you want to compile and use it for. apt-get install libc-dev.

and /usr/squid/ ? not a good place to compile software. lkeep it in a nominal users home directory or /usr/src/

Last edited by acid_kewpie; 04-04-2006 at 03:52 PM.
 
Old 04-04-2006, 11:14 PM   #3
manishsingh4u
Member
 
Registered: Oct 2005
Location: Madison, Wisconsin
Distribution: RHEL 6
Posts: 422

Original Poster
Rep: Reputation: 30
thanks

Quote:
Originally Posted by acid_kewpie
you really need to learn what is and what is not relevant to a particular problem.
Thanks for your reply. I know that it had nothing to do with delay pools. But, I used this subject as many people like me might have faced the same gcc problem while configuring squid. Anyway, I did what u told.
Code:
root@Manish:~# apt-get install libc6-dev
And it worked.
Code:
root@Manish:/usr/src/squid# ./configure --prefix=/opt/squid --exec-prefix=/opt/squid --enable-delay-pools --enable-cache-digests --enable-poll --disable-ident-lookups --enable-truncate --enable-removal-policies
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  -g) works... yes
Thanks for the help.

Last edited by manishsingh4u; 04-04-2006 at 11:16 PM.
 
  


Reply


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
Squid delay pools Bilal84 Linux - Security 1 04-27-2005 08:38 AM
Problem Delay pools Bilal84 Linux - Networking 0 04-27-2005 03:57 AM
Squid Delay pools Bilal84 Linux - Networking 1 04-26-2005 03:07 PM
Delay pools suggestions requird LinuxLover Linux - Enterprise 1 11-18-2004 09:15 PM
Squid Delay Pools being overrun Redleg Linux - Networking 8 07-03-2004 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration