Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

im-server-*压缩包找不到 #6

Open
Jule510 opened this issue Jun 6, 2021 · 1 comment
Open

im-server-*压缩包找不到 #6

Jule510 opened this issue Jun 6, 2021 · 1 comment

Comments

@Jule510
Copy link

Jule510 commented Jun 6, 2021

现象:我在一键部署的时候,执行到build im-server这块有报错,报错显示如下:
Nothing to do
tar (child): im-server-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Error: unzip im-server failed.
./setup.sh: line 112: cd: ./im-server-
: No such file or directory
./setup.sh: line 113: ./restart.sh: No such file or directory
./setup.sh: line 114: ./restart.sh: No such file or directory
./setup.sh: line 115: ./restart.sh: No such file or directory
./setup.sh: line 116: ./restart.sh: No such file or directory
./setup.sh: line 117: ./restart.sh: No such file or directory
./setup.sh: line 118: ./restart.sh: No such file or directory
./setup.sh: line 119: ./restart.sh: No such file or directory
./setup.sh: line 120: ./restart.sh: No such file or directory
Error: build im_server failed, stop install.

我没有在im_server目录下有找到压缩包,请问该压缩包从哪里获取呢?

@Jule510
Copy link
Author

Jule510 commented Jun 6, 2021

更新:我在https://github.com/balloonwj/TeamTalk/tree/master/server/src/README.md文件里找到生成im-server-*的压缩包的方法。前提是先执行安装依赖包的脚本。我在执行第二个脚本make_log4cxx.sh时,发现里面的log4xxx的官方下载链接已经更新到12版本,重新找了一个链接下载安装后,有报错,报错显示如下:
checking whether make sets $(MAKE)... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See config.log' for more details. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target install'. Stop.
cp: cannot stat ‘log4cxx/include’: No such file or directory
cp: cannot stat ‘log4cxx/lib/liblog4cxx.so*’: No such file or directory

我修改的脚本的地方如下:
LOG4CXX=apache-log4cxx-0.10.0
#LOG4CXX_PATH=http://mirror.bit.edu.cn/apache/logging/log4cxx/0.10.0/$LOG4CXX.tar.gz
LOG4CXX_PATH=https://archive.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz

请问这个部署出错的地方哪里我忽略了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant