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

From: Dodjie Nava <[email protected]>
Date: Tue, 16 Mar 2004 15:00:16 +0800

braden,

on redhat 7.3 & later, crt1.o is part of glibc-devel.

you can use this command to verify (redhat 7.3):

    rpm -qlp glibc-devel-2.2.5-34.i386.rpm | grep crt1.o

hope this helps.

Braden Manning wrote:

>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
>
>
>
>

-- 
Dodjie Nava <dpnava@mozcom.com>
Systems Engineer
E-Net Corporation
Binan, Laguna, Philippines
Received on Mon Mar 15 2004 - 23:54:20 MST

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