s_h_5*2_1再次编译出现错误:
build_android.sh: 9: build_android.sh: pushd: not found
build_android.sh: 10: build_android.sh: source: not found
build_android.sh: 12: [: SHIP: unexpected operator
build_android.sh: 15: build_android.sh: choosecombo: not found
网上很多english的论坛说了很多都没有解决我的问题,还是国内的如下一句话解决了我的问题:
make出现错误 /bin/sh: pushd: not found
This has to do with /bin/sh being linked to /bin/dash instead of /bin/bash in ubuntu’s latest releases. To fix it once and for all do the following:
# rm -f /bin/sh
# ln -s /bin/bash /bin/sh
问题2:
/bin/bash: glib-genmarshal: command not found
/bin/bash: line 1: glib-mkenums: command not found
解决:
sudo apt-get install libglib2.0-dev
问题3:
selected multilib '32' not installed
sudo apt-
问题4:
imcompitable version of liblzo2 and libuuid
解决:
在64位上安装的版本不能用,在32位ubuntu上安装后将32位版本的lzo2和uuid拷贝过来编译通过。
在尝试编译`s_h_5*2_1`时遇到了一系列shell错误,包括`pushd`、`source`未找到,以及一些操作符错误。通过国内论坛找到的解决方案是:1) 在Ubuntu最新发行版中,将`/bin/sh`链接从`/bin/dash`改为`/bin/bash`;2) 安装`libglib2.0-dev`解决`glib-genmarshal`和`glib-mkenums`命令找不到的问题;3) 安装`g++-4.4-multilib`解决multilib '32'未安装问题;4) 在64位系统上安装32位的lzo2和uuid库以解决版本不兼容问题。

884

被折叠的 条评论
为什么被折叠?



