On Wed, 5 May 2010 06:35:37 +0800, "Wong Fei Young" <wongb...@telkom.net>
wrote:
Dear All

I was stopped to compile squid 3.1.1 in Linux OpenSuSE 11.2 with error
below:

configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for lib/libTrie

I did not get this message in OpenSuSE 11.1. What should I do to solve
this
issue?

Many thanks for your advise.

Wong

----snip----

configure: creating ./config.status
config.status: creating Makefile
config.status: creating ska_config.h
config.status: executing depfiles commands
configure: updating ska_config.h
=== configuring in lib/libTrie (/usr/src/squid-3.1.1/lib/libTrie)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr/local/squid'  '--enable-linux-netfilter'
'--enable-storeio=aufs,ufs' '--with-large-files' '--disable-ipv6'
'--with-filedescriptors=8192' '--with-squid=/usr/src/squid-3.1.1'
'--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no

There appears to be no compiler installed on your system.

If you have actually got one installed please let us know what it is.

Hi Amos,

Your advise is very accurate, thanks !

Obviously, I did not install gcc-c++ that required to compile Squid. I just had gcc in my box and succeed to compile Kernel and other software. This made me in vague situation, able to compile kernel and other software but not Squid.

This also solved "configure: WARNING: Cannot find necessary Linux kernel (Netfilter) header files"

Thx & Rgds,

Wong

Reply via email to