Solved

SUSE Linux No Exceptable C Compiler Found in $PATH

Posted on 2016-08-15
5
125 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

623 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