编译配置如下
./configure --disable-all --with-ssl --with-http-api --with-http-callback --with-ffmpeg --with-transcode
提示安装cherrypy需要管理员权限。提示为
"install CherryPy-3.2.4" require sudoer failed. ret=1
已经到3thirdpart里安装好了cherrypy,仍然提示这个错误。
打开配置脚本看看
if [ $SRS_HTTP_CALLBACK = YES ]; then
if [[ -f ${SRS_OBJS}/CherryPy-3.2.4/setup.py ]]; then
echo "CherryPy-3.2.4 is ok.";
else
require_sudoer "install CherryPy-3.2.4"
echo "install CherryPy-3.2.4";
(
sudo rm -rf ${SRS_OBJS}/CherryPy-3.2.4 && cd ${SRS_OBJS} &&
unzip -q ../3rdparty/CherryPy-3.2.4.zip && cd CherryPy-3.2.4 &&
sudo python setup.py install
)
fi
# check status
ret=$?; if [[ $ret -ne 0 ]]; then ec