Re: [squid-users] PHP-Problem

From: Alexandre Correa <alexandre@dont-contact.us>
Date: Mon, 24 Sep 2007 02:28:14 -0300

Hello,

configure:2305: error: C compiler cannot create executables

this message seems that your system hasn´t a fully working compiler !!

try: yum install gcc
or
up2date -d -i -u gcc

and rebuild squid src-rpm !

regards !

See `config.log' for more details.
On 9/24/07, Andreas Meyer <anmeyer@anup.de> wrote:
> "Amos Jeffries" <squid3@treenet.co.nz> schrieb:
>
> > > What could be the problem with the Squid? If I circumvent the Squid, the
> > > shops
> > > are displayed without adding an "index.php" to the URL.
> > >
> >
> > PLEASE upgrade. There are quite a few serious problems known about
> > versions of squid as old as that one. Not to mention the speed and
> > configurability increases made across the 2.6 versions.
>
> I took a squid-2.6.STABLE5-7.src.rpm and tried to rebuild it but it
> didn't work out:
>
> Thread model: posix
> gcc version 3.3 20030226 (prerelease) (SuSE Linux)
> configure:2231: $? = 0
> configure:2233: gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:2236: $? = 1
> configure:2260: checking for C compiler default output
> configure:2263: gcc -O2 -march=i486 -mcpu=i686 -fPIE -DLDAP_DEPRECATED -fno-strict-aliasing -pie conftes
> t.c >&5
> gcc: unrecognized option `-pie'
> cc1: error: unrecognized option `-fPIE'
> configure:2266: $? = 1
> configure: failed program was:
> | #line 2239 "configure"
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME "Squid Web Proxy"
> | #define PACKAGE_TARNAME "squid"
> | #define PACKAGE_VERSION "2.6.STABLE5"
> | #define PACKAGE_STRING "Squid Web Proxy 2.6.STABLE5"
> | #define PACKAGE_BUGREPORT "http://www.squid-cache.org/bugs/"
> | #define PACKAGE "squid"
> | #define VERSION "2.6.STABLE5"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:2305: error: C compiler cannot create executables
> See `config.log' for more details.
>
> Don't know how to continue.
>
> BTW, the problem I mentioned first with the index.php is suddenly
> gone, I don't know what happend. It took me three days of confusion
> and suddenly it's gone.
>
> Regards
> --
> Andreas Meyer
>
> Internet-Tel.: 06341620317
> Mein öffentlicher GPG-Schlüssel unter:
> http://gpg-keyserver.de/pks/lookup?search=anmeyer&fingerprint=on&op=index
>

-- 
Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net
Received on Sun Sep 23 2007 - 23:28:27 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT