gcc error when I'm trying to install readline-6.2

后端 未结 2 1918
耶瑟儿~
耶瑟儿~ 2021-02-19 19:40

Could anyone kindly help me out what\'s wrong with the gcc when I am trying to install readline module for my newly installed python2.7 in the CentOS server?

gcc         


        
相关标签:
2条回答
  • 2021-02-19 19:48

    on Ubuntu sudo apt-get install python-setuptools python-dev ncurses-dev

    0 讨论(0)
  • 2021-02-19 20:01

    readline is bundled with the Python module and it attempts to build it for you, but you'll see this error display if your system was unable to complete the build. In my case, patch was missing from the system. yum install patch solved it for me.

    0 讨论(0)
提交回复
热议问题