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
2014-03-10 13:09:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6126c5ad24ee56da02d3ec2d0f78c2053b636be
f6126c5a
1 parent
e17539c1
fix ubuntu build bug, add --force-yes to install
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
trunk/auto/depends.sh
trunk/auto/depends.sh
100644 → 100755
查看文件 @
f6126c5
...
...
@@ -40,56 +40,56 @@ function Ubuntu_prepare()
gcc --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"install gcc"
require_sudoer
"sudo apt-get install -y gcc"
require_sudoer
"sudo apt-get install -y
--force-yes
gcc"
sudo apt-get install -y gcc
echo
"install gcc success"
fi
g++ --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"install g++"
require_sudoer
"sudo apt-get install -y g++"
require_sudoer
"sudo apt-get install -y
--force-yes
g++"
sudo apt-get install -y g++
echo
"install g++ success"
fi
make --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"install make"
require_sudoer
"sudo apt-get install -y make"
require_sudoer
"sudo apt-get install -y
--force-yes
make"
sudo apt-get install -y make
echo
"install make success"
fi
autoconf --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"install autoconf"
require_sudoer
"sudo apt-get install -y autoconf"
require_sudoer
"sudo apt-get install -y
--force-yes
autoconf"
sudo apt-get install -y autoconf
echo
"install autoconf success"
fi
libtool --help >/dev/null 2>&1;
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"install libtool"
require_sudoer
"sudo apt-get install -y libtool"
require_sudoer
"sudo apt-get install -y
--force-yes
libtool"
sudo apt-get install -y libtool
echo
"install libtool success"
fi
if
[[
! -f /usr/include/pcre.h
]]
;
then
echo
"install libpcre3-dev"
require_sudoer
"sudo apt-get install -y libpcre3-dev"
require_sudoer
"sudo apt-get install -y
--force-yes
libpcre3-dev"
sudo apt-get install -y libpcre3-dev
echo
"install libpcre3-dev success"
fi
if
[[
! -f /usr/include/zlib.h
]]
;
then
echo
"install zlib1g-dev"
require_sudoer
"sudo apt-get install -y zlib1g-dev"
require_sudoer
"sudo apt-get install -y
--force-yes
zlib1g-dev"
sudo apt-get install -y zlib1g-dev
echo
"install zlib1g-dev success"
fi
if
[[
! -d /usr/include/freetype2
]]
;
then
echo
"install libfreetype6-dev"
require_sudoer
"sudo apt-get install -y libfreetype6-dev"
require_sudoer
"sudo apt-get install -y
--force-yes
libfreetype6-dev"
sudo apt-get install -y libfreetype6-dev
echo
"install libfreetype6-dev success"
fi
...
...
请
注册
或
登录
后发表评论