安装readline-6.2.4.1

,不过在linux下安装readline-6.2.4.1的时候却报了下面2个错。(环境是centos6.2,python2.7)

wget https://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#md5=578237939c81fdbc2c8334d168b17907

gcc: readline/libreadline.a: No such file or directory
gcc: readline/libhistory.a: No such file or directory

解决:
只需要
yum -y install readline-devel
yum -y install patch

你可能感兴趣的:(linux,File)