deepin搭建编译环境是不是跟UBUNTU完全一样的操作
Tofloor
poster avatar
洪旭钢
deepin
2017-07-01 19:40
Author
现在还只是新手,之前使用过一段时间的ubuntu,假如我想编译某个固件,或者ipk的话,是不是按照ubuntu下搭建编译环境一样的操作吗?有没有区别
Reply Favorite View the author
All Replies
avatar
duanyao
deepin
2017-07-01 20:49
#1
没啥区别。
Reply View the author
avatar
153******45
deepin
2017-07-01 21:14
#2
一样的,我之前一直在deepin下编译ipk,只要编译依赖解决不管是linux还是bsd都能编译
Reply View the author
avatar
洪旭钢
deepin
2017-07-02 19:30
#3
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details
Makefile:30: recipe for target '/home/hong/lede/source/build_dir/host/tar-1.29/.configured' failed
make[3]: *** [/home/hong/lede/source/build_dir/host/tar-1.29/.configured] Error 1
make[3]: Leaving directory '/home/hong/lede/source/tools/tar'
tools/Makefile:148: recipe for target 'tools/tar/compile' failed
make[2]: *** [tools/tar/compile] Error 2
make[2]: Leaving directory '/home/hong/lede/source'
tools/Makefile:146: recipe for target '/home/hong/lede/source/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynny' failed
make[1]: *** [/home/hong/lede/source/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynny] Error 2
make[1]: Leaving directory '/home/hong/lede/source'
Build failed - please re-run with -j1 to see the real error message
/home/hong/lede/source/include/toplevel.mk:207: recipe for target 'world' failed
make: *** [world] Error 1
这个错误是什么原因造成的?
Reply View the author
avatar
Lyvnee
deepin
2017-07-02 20:37
#4
https://bbs.deepin.org/post/141859
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment  ...

configure: error: you should not run configure as root
Reply View the author
avatar
洪旭钢
deepin
2017-07-02 21:17
#5
https://bbs.deepin.org/post/141859
configure: error: you should not run configure as root

export FORCE_UNSAFE_CONFIGURE=1 了,但是后面的错误依旧。
Reply View the author