我对这个错误感到非常沮丧。现在值得注意的是,运行cd "$(pwd)“并响应所有环境变量,一切似乎都井然有序。
我目前正在尝试安装unrealircd 5.2.0.1 (但在运行任何涉及./配置脚本的操作时都会遇到此错误)
以下是我对错误的伪装输出:
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _ | | | | | / | | / _ |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
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为上述用户提供适当的主目录。
现在我的问题是什么?
发布于 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,这可能需要一分钟(或两分钟):
https://askubuntu.com/questions/1346413
复制相似问题