Solved

SUSE Linux No Exceptable C Compiler Found in $PATH

Posted on 2016-08-15
5
51 Views
Last Modified: 2016-08-16
SUSE Linux Enterprise Server 11 SP3 for VMware

Trying to install Nagios NRPE Client on this machine

 ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Run this

 rpm -qa | grep gcc
libgcc_s1-32bit-4.7.2_20130108-0.19.3
libgcc_s1-4.7.2_20130108-0.19.3
libgcc43-32bit-4.6.9-0.13.22

uname -a
Linux tgkw002 3.0.101-0.47.71-default #1 SMP Thu Nov 12 12:22:22 UTC 2015 (b5b212e) x86_64 x86_64 x86_64 GNU/Linux

 gcc --version
bash: gcc: command not found

Any ideas?

Thank you

Tom
0
Comment
Question by:Thomas Grassi
  • 3
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 41757370
please check what directories are added to PATH (echo $PATH).

From what you posted, gcc is not found either because it is not installed or not in PATH, run below command and see what it returns:

find / -name gcc -exec ls -l {} \;

If you find gcc under a certain dir , then add to PATH:

PATH=$PATH:/path/to/gcc

You may need to reinstall gcc if the installation was not done or had issues.
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41757755
this did not find any gcc
find / -name gcc -exec ls -l {} \;


When I try to install GCC I get this

 sudo zypper install gcc
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: gcc-4.5-19.1.x86_64 requires gcc45, but this requirement cannot be provided
  uninstallable providers: gcc45-4.5.1_20101208-9.8.i586[opensuse]
                   gcc45-4.5.1_20101208-9.8.x86_64[opensuse]
 Solution 1: downgrade of binutils-2.23.1-0.23.15.x86_64 to binutils-2.21-13.1.x86_64
 Solution 2: do not install gcc-4.5-19.1.x86_64
 Solution 3: do not install gcc-4.5-19.1.x86_64
 Solution 4: break gcc-4.5-19.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/4/c] (c):

What should I select?
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 41757803
try first option
0
 
LVL 23

Author Closing Comment

by:Thomas Grassi
ID: 41757814
Thank you for your help

installed GCC and openssl-devel   now I can run ./configure with no issues
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 41757823
Welcome :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now