Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SUSE Linux No Exceptable C Compiler Found in $PATH

Posted on 2016-08-15
5
Medium Priority
?
198 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

916 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