我正在https://www.azerothcore.org/wiki/install-with-docker上学习本教程,但在执行acore.sh停靠器构建时,它失败了,其消息如下:
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /azerothcore/env/dist/etc/authserver.conf.dist
-- Installing: /azerothcore/env/dist/bin/authserver
CMake Error at src/server/apps/cmake_install.cmake:59 (file):
file INSTALL cannot copy file
"/azerothcore/var/build/obj/src/server/apps/authserver" to
"/azerothcore/env/dist/bin/authserver": Permission denied.
Call Stack (most recent call first):
src/server/cmake_install.cmake:42 (include)
src/cmake_install.cmake:47 (include)
cmake_install.cmake:52 (include)因此,容器不能正常运行,永远处于开始循环中。
我正在Windows 10中构建容器,并使用Docker桌面应用程序。下面是我下载和构建容器的方式:
cd azerothcore-wotlk
cp conf/dist/config.sh conf/config.sh
./acore.sh停靠客户端-数据
./acore.sh码头建造
请告诉我怎么解决这个问题。已经挣扎了几天..。
谢谢
发布于 2022-08-14 09:52:10
我也有过类似的问题。尝试显式地将bin目录的所有者设置为acore。
$ git diff apps/compiler/includes/functions.sh
@@ -103,6 +103,7 @@ function comp_compile() {
comp_ccacheResetStats
time make -j $MTHREADS
+ sudo chown -R acore:acore /azerothcore/env/dist/bin
make -j $MTHREADS install
comp_ccacheShowStatshttps://stackoverflow.com/questions/73196490
复制相似问题