Solved

SUSE Linux No Exceptable C Compiler Found in $PATH

Posted on 2016-08-15
5
92 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

739 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