首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows 10中未能为AzerothCore构建停靠容器

在Windows 10中未能为AzerothCore构建停靠容器
EN

Stack Overflow用户
提问于 2022-08-01 15:59:20
回答 1查看 151关注 0票数 1

我正在https://www.azerothcore.org/wiki/install-with-docker上学习本教程,但在执行acore.sh停靠器构建时,它失败了,其消息如下:

代码语言:javascript
复制
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桌面应用程序。下面是我下载和构建容器的方式:

git克隆https://github.com/azerothcore/azerothcore-wotlk.git

cd azerothcore-wotlk

cp conf/dist/config.sh conf/config.sh

./acore.sh停靠客户端-数据

./acore.sh码头建造

请告诉我怎么解决这个问题。已经挣扎了几天..。

谢谢

EN

回答 1

Stack Overflow用户

发布于 2022-08-14 09:52:10

我也有过类似的问题。尝试显式地将bin目录的所有者设置为acore

$ git diff apps/compiler/includes/functions.sh

代码语言:javascript
复制
    @@ -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_ccacheShowStats
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73196490

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档