LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   help me - configuring squid with delay pools (https://www.linuxquestions.org/questions/ubuntu-63/help-me-configuring-squid-with-delay-pools-431533/)

manishsingh4u 04-03-2006 11:46 PM

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?

acid_kewpie 04-04-2006 03:49 PM

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/

manishsingh4u 04-04-2006 11:14 PM

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.


All times are GMT -5. The time now is 12:45 AM.