问题标签 [fedora-27]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
523 浏览

postgresql - 在 mock 中指定 RPM 构建顺序

TLDR:确保使系统操作系统保持最新,以帮助确保与当前规范文件的一致性。

症状

使用 重建 PostgreSQL 11.1 SRPMmock时,构建失败并显示:

注意PQencryptPasswordConn是一个libpq.so函数(postgresql-devel-10.3-5.fc27.x86_64在我的系统上提供......在模拟 chroot 环境之外)。除非我弄错了,否则 Postgresql SRPM 会postgresql-devel与其他人一起构建 RPM。

重现步骤

在尝试应用 SRPM 中尚不存在的任何补丁之前,我运行了以下命令来重建SRPM:

问题

到目前为止,我无法mock将适当的libpq库头文件加载到 chroot 环境中,以确保rpmbuild针对libpq包含PQencryptPasswordConn头文件的构建(它似乎存在于构建环境之外的我的系统上):

在查看mock'sinstalled_pkgs.log时,安装了以下内容(我希望后者会提供一个libpq标题版本):

但是,我找不到将postgresql-*软件包安装到包含更新的库头文件的 chroot 环境中的方法。

由于postgresqlSRPM 应该构建postgresql-develRPM,我认为在尝试编译之前需要在 chrootmock中构建和安装RPM,以便后面的编译找到适当的库头(除非构建过程足够智能,可以识别当前下的新库建造)。postgresql-develrpmbuildpsql/command.c

我怎样才能最好地做到这一点(宁愿避免多次mock调用从 SRPM 构建的每个 RPM 包,除非这是唯一的方法)?

请注意,我系统上的构建过程会产生多个并行编译的过程。

我也试过使用mockchain —recurse没有成功。

系统信息

0 投票
2 回答
2582 浏览

linux - 无法使用 VS Code 编辑器将文件写入 /var/www/html

我正在尝试在 Fedora 27 上使用 VS Code 将 .php 文件保存到 /var/www/html/mysql 但我收到一条消息

在此处输入图像描述

此外,如果我尝试以 root 身份打开 VS Code,我会收到以下消息:

在此处输入图像描述

0 投票
1 回答
37 浏览

ssl - while configuring ldap over ssl it throws an error quoting "Invalid user ldap."

I have been trying to configure the ldap over ssl by following the instructions from the site https://www.server-world.info/en/note?os=Fedora_27&p=openldap .

While Implementing the command

chown ldap. /etc/openldap/certs/server.key /etc/openldap/certs/server.crt /etc/openldap/certs/ca-bundle.crt

It throws an error saying chown: invalid user: ‘ldap.’</p>

Does anyone have any explantion regarding this?

0 投票
0 回答
491 浏览

mongodb - Robo 3T 错误:无法连接到任何 X 显示器

我正在尝试为 MongoDB 设置 Robo 3T 工具。我已按照此链接中给出的步骤在运行 Fedora 27 的机器上安装 robo3t。但是当我尝试运行可执行文件时,出现以下错误:

我正在安装robo3t 1.3.1.

任何帮助,将不胜感激。