Solved

SUSE Linux No Exceptable C Compiler Found in $PATH

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anti-Spam SMTP Proxy Server (@SSP) 7 83
Issue to mail 11 72
Best way to virtualise a remote Linux server 2 51
Remove a folder in Linux 9 91
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

21 Experts available now in Live!

Get 1:1 Help Now