# No acceptable C compiler found in $PATH when installing

**URL:** <https://forums.suse.com/t/no-acceptable-c-compiler-found-in-path-when-installing/30204>\
**Category:** SLES SAP Applications\
**Created:** [August 22, 2017, 4:05am UTC](https://forums.suse.com/t/no-acceptable-c-compiler-found-in-path-when-installing/30204 "2017-08-22T04:05:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevena1974](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@stevena1974](https://forums.suse.com/u/stevena1974)\
**Post date:** [August 22, 2017, 4:05am UTC](https://forums.suse.com/t/no-acceptable-c-compiler-found-in-path-when-installing/30204/1 "2017-08-22T04:05:03Z")

</div>

Dear All,

This new thread is copied from this link:  
[https://forums.suse.com/showthread.php?9855-no-acceptable-C-compiler-found-in-PATH-when-installing-py](https://forums.suse.com/showthread.php?9855-no-acceptable-C-compiler-found-in-PATH-when-installing-py)

because of wrong forum.  
here is my problem:

I’m trying to update the python version from 2.6.x to 2.7.x in the SLES 11.4 for SAP Hana.  
I follow the steps belows:

tar -zxvf Python-2.7.x.tar.gz  
cd Python-2.7.x  
./configure

command I get the following output:

checking for --enable-universalsdk… no  
checking for --with-universal-archs… 32-bit  
checking MACHDEP… linux3  
checking EXTRAPLATDIR…  
checking machine type as reported by uname -m… x86\_64  
checking for --without-gcc… no  
checking for gcc… no  
checking for cc… no  
checking for cl.exe… no  
configure: error: in `/home3/mikos89/Python-2.7.1': configure: error: no acceptable C compiler found in $PATH See `config.log’ for more details.

I’ve got the solution in my old thread i.e. by installing gcc but the gcc installation failed.  
The solution is put the DVD into server or else it cannot be read to get the ‘gcc’ and  
‘linux-kernel-headers’ packages.

May I install gcc from gcc folder ? Please help. Thank you.

BR,  
Stevena

---

<div class="post-metadata">

**Author:** ![stevena1974](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@stevena1974](https://forums.suse.com/u/stevena1974)\
**Post date:** [August 22, 2017, 4:25am UTC](https://forums.suse.com/t/no-acceptable-c-compiler-found-in-path-when-installing/30204/2 "2017-08-22T04:25:10Z")

</div>

Dear All,

I have tried to use the solution in this link:

[https://lizards.opensuse.org/2013/10/07/opensuse-and-gcc-part1/](https://lizards.opensuse.org/2013/10/07/opensuse-and-gcc-part1/)

- YaST way part.

but I do not know yet which file to install.  
Here are the screen shot showing the list of gcc files there:

[http://imgur.com/0zkT0RA](http://imgur.com/0zkT0RA)

Pls help to solve this issue. Thank you.

BR,  
Stevena

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [August 22, 2017, 6:25am UTC](https://forums.suse.com/t/no-acceptable-c-compiler-found-in-path-when-installing/30204/3 "2017-08-22T06:25:55Z")

</div>

What you have selected should be plenty, or you can use the command from  
the previous thread:

```auto
sudo zypper in gcc

#or

sudo zypper in gcc43
```

For this to work, whether via zypper or Yast, you’ll need to have  
installation media setup properly.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.
