Hi John,

I would first suggest trying *CC="gcc" CXX="g++" ../configure*, and if that
works, try to find out what *which* *cc* and *which* *c++* return and find
out what they symlink to.
I believe autotools uses *cc* and *c++* rather than *gcc* and *g++* by
default, so I think there's probably something funky going on there.

MPark.

On Fri, Jul 24, 2015 at 2:31 PM Benjamin Hindman <[email protected]>
wrote:

> Hey John,
>
> It appears that we're finding gcc 4.6.3 on your machine. Is it possible
> that your autotools are hard coded to look for a gcc that is not the gcc
> that you've installed and is on your path?
>
> At least for me I use devtoolset-2 and Software Collections (scl) and I
> can get my machine into funky set ups where I've got a gcc 4.8 installed
> but using autotools it picks the wrong compiler.
>
> Ben.
>
> On Fri, Jul 24, 2015 at 2:02 PM John Omernik <[email protected]> wrote:
>
>> I am trying to build 0.23, I got the error below.  I already installed
>> gcc-4.8 and set my alternatives to work with 4.8 as you can see gcc
>> --version returns the right version, where is the configure script pulling
>> that data? Are there flags I could use to help it through the process? :)
>>
>> John
>>
>>
>>
>> configure: error: GCC 4.8 or higher required (found 4.6.3)
>>
>> darkness@hadoopmapr1:/opt/mapr/mesos/mesos-0.23.0/build$ gcc --version
>>
>> gcc (Ubuntu 4.8.1-2ubuntu1~12.04) 4.8.1
>>
>> Copyright (C) 2013 Free Software Foundation, Inc.
>>
>> This is free software; see the source for copying conditions.  There is NO
>>
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>

Reply via email to