Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2017-01-06 17:51:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1b1ae00910ef22bcb349e61f8f0ad52135d94587
1b1ae009
1 parent
517812db
fix #727, install valgrind-devel
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
18 行增加
和
4 行删除
trunk/auto/depends.sh
trunk/auto/depends.sh
查看文件 @
1b1ae00
...
...
@@ -104,10 +104,17 @@ function Ubuntu_prepare()
valgrind --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"Installing valgrind."
require_sudoer
"sudo apt-get install -y --force-yes valgrind valgrind-dev"
sudo apt-get install -y --force-yes valgrind valgrind-dev;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
require_sudoer
"sudo apt-get install -y --force-yes valgrind"
sudo apt-get install -y --force-yes valgrind;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
echo
"The valgrind is installed."
fi
if
[[
! -f /usr/include/valgrind/valgrind.h
]]
;
then
echo
"Installing valgrind-dev."
require_sudoer
"sudo apt-get install -y --force-yes valgrind-dev"
sudo apt-get install -y --force-yes valgrind-dev;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
echo
"The valgrind-dev is installed."
fi
if
[
$SRS_NGINX
=
YES
]
;
then
if
[[
! -f /usr/include/pcre.h
]]
;
then
...
...
@@ -204,11 +211,18 @@ function Centos_prepare()
valgrind --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"Installing valgrind."
require_sudoer
"sudo yum install -y valgrind valgrind-devel"
sudo yum install -y valgrind valgrind-devel;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
require_sudoer
"sudo yum install -y valgrind"
sudo yum install -y valgrind;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
echo
"The valgrind is installed."
fi
if
[[
! -f /usr/include/valgrind/valgrind.h
]]
;
then
echo
"Installing valgrind-devel."
require_sudoer
"sudo yum install -y valgrind-devel"
sudo yum install -y valgrind-devel;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then return
$ret
;
fi
echo
"The valgrind-devel is installed."
fi
if
[
$SRS_NGINX
=
YES
]
;
then
if
[[
! -f /usr/include/pcre.h
]]
;
then
echo
"Installing pcre-devel."
...
...
请
注册
或
登录
后发表评论