docker - 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 次,老实说,我不知道发生了什么......你能帮我解决我做错了什么吗?
解决方案
好的,我现在找到了解决该问题的方法。报告丢失的 conf 文件是这里的罪魁祸首。将文件从 dist 文件夹复制到请求的文件夹后,复杂功能成功完成。
推荐阅读
- javascript - _locale.cy.request 不是函数
- android - 如何在 React Native Android 10 中从照片中获取位置数据
- javascript - 需要在前端显示 json 值
- mysql - 如何将一行从一个表复制到另一个表,该表的列比mysql中的第一个多?
- flutter - AnimationPositioned 在 Flutter 上没有动画
- c# - 如何修改此 RegEx 表达式,使其匹配任何后跟 @ 的字符(只有一个)
- drools - 为什么 Drools 在 jitting 时会抛出 IllegalAccessError?
- python - 在 seaborn 散点图中为不同类别设置不同的透明度值
- c# - 对象开始后跳到右上角
- c# - Automapper - 将索引映射到集合的属性