添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
淡定的跑步鞋  ·  Linux From Scratch ...·  1 周前    · 
冷冷的洋葱  ·  GCC compile error on ...·  3 天前    · 
文雅的开水瓶  ·  warning: relocation ...·  3 天前    · 
任性的包子  ·  江苏省政协·  2 月前    · 
谦和的马克杯  ·  Neo4j Customer ...·  2 月前    · 
大气的小笼包  ·  FriendlyDesktop 18.04 ...·  5 月前    · 

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

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.

Stevena

Dear All,

I have tried to use the solution in this link:

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

    Pls help to solve this issue. Thank you.

    Stevena

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

    sudo zypper in gcc
    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.