no comments yet
24 Jun 2015

error: command 'gcc' failed with exit status 1 的解决办法

今天安装FastDFS的python api测试的时候提示这个错误,在此记录一下。
出现error: command 'gcc' failed with exit status 1的解决办法:

yum install gcc python-devel

出现以下error:

_mysql.c:2444: error: ‘_mysql_ConnectionObject’ has no member named ‘open’ error: command 'gcc' failed with exit status 1

yum -y install mysql-devel libxml2 libxml2-dev libxslt* zlib gcc openssl