[squid-users] ./configure error when install squid 2.5 stable5

From: Braden Manning <bmanning@dont-contact.us>
Date: Tue, 16 Mar 2004 14:53:57 +1000

Hi,
I'm trying to compile the latest stable build of squid on my redhat 7 box.
Installed latest version of GCC and its associated libraries.
When I run ./configure it gives me the error message below.

[root@squidsey squid-2.5.STABLE5]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc -g) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
[root@squidsey squid-2.5.STABLE5]#

Now the config.log file says this in there somewhere...

configure:1202: checking whether the C compiler (gcc -g) works
configure:1218: gcc -o conftest -g conftest.c 1>&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

I can't find this crt1.o file on my box. I've had a browse on the innernet for some help. They say its a lib file associated to gcc or something to that effect, and find the libgcc rpm and install it, but I'm not convinced....
Anyway, any simple ideas???

Much appreciated..
Braden

#####################################################################################
Note:
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any mistransmission. If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
#####################################################################################

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by MailMarshal
For more information please visit www.marshalsoftware.com
#####################################################################################
Received on Mon Mar 15 2004 - 20:54:31 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST