编译tengine出错,如何解决?

问答中心分类: OneinStack编译tengine出错,如何解决?
davidtall asked 7 年 ago
make[4]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l/engines/ccgost'
make[3]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l/engines'
making install in apps...
make[3]: Entering directory `/root/oneinstack/src/openssl-1.0.2l/apps'
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
installing openssl
installing CA.sh
installing CA.pl
installing tsget
make[3]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l/apps'
making install in test...
make[3]: Entering directory `/root/oneinstack/src/openssl-1.0.2l/test'
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l/test'
making install in tools...
make[3]: Entering directory `/root/oneinstack/src/openssl-1.0.2l/tools'
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[3]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l/tools'
installing libcrypto.a
installing libssl.a
cp libcrypto.pc /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig
chmod 644 /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig/libcrypto.pc
cp libssl.pc /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig
chmod 644 /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig/libssl.pc
cp openssl.pc /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig
chmod 644 /root/oneinstack/src/tengine-2.1.2/../openssl-1.0.2l/.openssl/lib/pkgconfig/openssl.pc
make[2]: Leaving directory `/root/oneinstack/src/openssl-1.0.2l'
make[1]: *** [../openssl-1.0.2l/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory `/root/oneinstack/src/tengine-2.1.2'
make: *** [build] Error 2
[1;31mTengine install failed, Please Contact the author! [0m
/bin/cp: cannot stat `../init.d/Nginx-init-CentOS': No such file or directory
error reading information on service nginx: No such file or directory
error reading information on service nginx: No such file or directory
sed: can't read /etc/init.d/nginx: No such file or directory
mv: cannot stat `/usr/local/tengine/conf/nginx.conf': No such file or directory
/bin/cp: cannot stat `../config/nginx.conf': No such file or directory
grep: /usr/local/tengine/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/tengine/conf/nginx.conf: No such file or directory
include/tengine.sh: line 58: /usr/local/tengine/conf/proxy.conf: No such file or directory
sed: can't read /usr/local/tengine/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/tengine/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/tengine/conf/nginx.conf: No such file or directory
sed: can't read /usr/local/tengine/conf/nginx.conf: No such file or directory
~/oneinstack/src ~/oneinstack
nginx: unrecognized service

1 Answers
oneinstack answered 7 年 ago
修改versions.txt
tengine_version=2.2.1
或者官方提交issues:https://github.com/alibaba/tengine/issues