Well, that's part of the problem.  Even when I explicitly set CXX=g++, I
don't see any errors relating to g++ in config.log.  The only reference I'm
seeing to "cannot run C++ compiled programs" comes in STDOUT, and isn't
repeated in the log.

This is what I'm seeing in STDOUT, if it helps:
checking whether we are cross compiling... configure: error: in
`/src/objss9/clamav-0.96.3/libclamav/c++':
configure: error: cannot run C++ compiled programs.



On Tue, Oct 5, 2010 at 3:26 PM, René Berber <rber...@prodigy.net.mx> wrote:

> On 10/5/2010 3:06 PM, Tom Goerger wrote:
>
> > The first error I'm seeing has to do with ac_nonexistent.h being not
> found.
> >  I'm not sure what package that module should be part of.  I do have g++
> > installed, maybe we're running an outdated version?  It's 3.4.5.  Could
> be
> > totally offbase with that, but it's certainly the first failure I
> > encountered in the config.log, and I'm seeing it a couple of times.
>
> No, that has nothing to do, that's just a configure test.
>
> In config.log you need to search for the exact phrase "cannot run C++
> compiled programs", then look at the lines above and you'll see the code
> used for the test (C or C++ code), the command (should be g++ ...), and
> the error returned by the compiler.
>
> My guess is that configure is using c++ instead of g++, the former being
> a stub Sun installs (at least used to install on Solaris 9) that just
> shows a dumb message telling you that if you want the compiler you
> should install Sun Studio, or something similar.  That could be easily
> fixed by running './configure CC=gcc CXX=g++'.
> --
> René Berber
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>



-- 
Tom Goerger
University of Minnesota - Internet Services
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to