首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >/配置:错误:无法确定工作目录

/配置:错误:无法确定工作目录
EN

Ask Ubuntu用户
提问于 2021-06-17 08:03:15
回答 1查看 1.5K关注 0票数 0

我对这个错误感到非常沮丧。现在值得注意的是,运行cd "$(pwd)“并响应所有环境变量,一切似乎都井然有序。

我目前正在尝试安装unrealircd 5.2.0.1 (但在运行任何涉及./配置脚本的操作时都会遇到此错误)

以下是我对错误的伪装输出:

代码语言:javascript
复制
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/  _ | | | | |    / | |    /  _ |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|

                               Configuration Program
                                for UnrealIRCd 5.2.0.1
[SNIP]
Would you like to pass any custom parameters to configure?
Most people don't need this and can just press ENTER.
Otherwise, see `./configure --help' and write them here:
[] ->
Running with 4 concurrent build processes by default (make -j4).
./configure --with-showlistmodes --enable-ssl --with-maxconnections=9999999 --with-bindir=/root/unrealircd/bin --with-datadir=/root/unrealircd/data --with-pidfile=/root/unrealircd/data/unrealircd.pid --with-confdir=/root/unrealircd/conf --with-modulesdir=/root/unrealircd/modules --with-logdir=/root/unrealircd/logs --with-cachedir=/root/unrealircd/cache --with-docdir=/root/unrealircd/doc --with-tmpdir=/root/unrealircd/tmp --with-privatelibdir=/root/unrealircd/lib --with-scriptdir=/root/unrealircd --with-nick-history=100 --with-permissions=0600 --enable-dynamic-linking
configure: error: working directory cannot be determined

现在,正如我所说,在安装任何涉及./配置脚本的内容时,都会出现此错误。还值得注意的是,作为任何用户,我无法运行./配置,并出现相同的错误。

cating /etc/passwd为上述用户提供适当的主目录。

现在我的问题是什么?

EN

回答 1

Ask Ubuntu用户

发布于 2021-06-17 08:22:07

文件明确指出:

https://www.unrealircd.org/docs/FAQ#Compile.2Fbuild_问题

编译/构建我运行的问题。/配置和有大量的问题不使用。/配置!运行。/Config代替。

https://www.unrealircd.org/docs/Installing_从…_来源

首先编译,运行./Config脚本,它将问一些问题。您只需按Enter键来接受默认答案。./Config现在,通过运行make编译UnrealIRCd,这可能需要一分钟(或两分钟):

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1346413

复制
相关文章

相似问题

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