GCC not found

Jonathan Wakely jwakely.gcc@gmail.com
Fri Apr 26 08:10:00 GMT 2013


On 26 April 2013 08:40, Brummer, J, Mnr wrote:
> Hi
>
> I am trying to install Geant4 but it is creating a few problems. I have Scientific Linux 6.3. I think that things like gcc, make and Cmake should be already installed, but when I run the cmake command I get an error saying that no cmake has been found. When I try to install Cmake using ./configure the system says that no C compiler has been found. To install gcc I think I also need make and when I run ./configure I get  the following message:
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... no
> checking for cc... no
> checking for cl.exe... no
> configure: error: in `/home/John/Downloads/make-3.82':
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
>
> How do I fix my Cmake and C compiler? I was told that when installing SL6.3 that I should choose the option "Programming and Development" but I didn't see any option when installing the OS.

Since it sounds like you have root access, just install them from the
OS package manager e.g.

    yum install cmake gcc



More information about the Gcc-help mailing list