首页 > 解决方案 > MacOS 上的 Docker 安装问题 - 构建失败并且 world/authserver 可执行文件似乎丢失

问题描述

我在使用您页面上的“使用 Docker 安装”指南时遇到问题。(在 MacOS 上运行)

每当我在编译步骤并且它运行所有内容时,我都会注意到出现以下错误: 输入命令后:

NOTICE: file </Users/<user>/azerothcore-wotlk/conf/config.sh> has not been found, you should create and configure it.
Deno version check:
/Users/rukazisintakumo/azerothcore-wotlk/apps/bash_shared/deno.sh: line 18: ./deps/deno/bin/deno: cannot execute binary file: Exec format error

然后东西仍然运行,在构建过程结束时,我得到:

[ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/CommandLine/CliRunnable.cpp.o
[100%] Linking CXX executable worldserver
clang: error: unable to execute command: Killed
clang: error: linker command failed due to signal (use -v to see invocation)
make[2]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/build.make:174: src/server/worldserver/worldserver] Error 254
make[1]: *** [CMakeFiles/Makefile2:1159: src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

该过程仍然完成,如果我然后运行容器,我会得到:

ac-authserver_1          | Deno version check:
ac-authserver_1          | Version 1.9.1 is already installed
ac-authserver_1          | Running authserver ...
ac-authserver_1          | /azerothcore/env/dist/bin/authserver doesn't exists!
azerothcore-wotlk_ac-authserver_1 exited with code 1
ac-worldserver_1         | Deno version check:
ac-worldserver_1         | Version 1.9.1 is already installed
ac-worldserver_1         | Running worldserver ...
ac-worldserver_1         | /azerothcore/env/dist/bin/worldserver doesn't exists!

我现在已经尝试了 3 次,老实说,我不知道发生了什么......你能帮我解决我做错了什么吗?

标签: dockerazerothcore

解决方案


好的,我现在找到了解决该问题的方法。报告丢失的 conf 文件是这里的罪魁祸首。将文件从 dist 文件夹复制到请求的文件夹后,复杂功能成功完成。


推荐阅读