且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

idn2.h:没有这样的文件或目录

更新时间:2023-11-09 11:47:28

libidn2-devel 通过 EPEL回购

Name        : libidn2-devel
Arch        : x86_64
Version     : 2.0.4
Release     : 1.el6
Size        : 54 k
Repo        : epel
Summary     : Development files for libidn2
URL         : https://www.gnu.org/software/libidn/#libidn2
License     : (GPLv2+ or LGPLv3+) and GPLv3+
Description : The libidn2-devel package contains libraries and header files for
            : developing applications that use libidn2.

Wiki页面此处将为您提供更多详细信息,如果您要安装EPEL与 yum 一起使用,则应下载(并安装) rpm 到您的系统,然后在 /etc/yum.repos.d/epel.repo 中签入它将离开的配置文件。在其中,您需要检查 [EPEL] 部分的行 enabled = 1 (我认为默认情况下已禁用)

The wiki page here will give you some more details, and if you want to install EPEL for use with yum then you should download (and install) this rpm to your system then check in /etc/yum.repos.d/epel.repo for the config file it will leave. Inside there you need to check the [EPEL] section has the line enabled=1 (I think its disabled by default)

您可能希望/需要清理尝试手动安装的内容,以便避免更新等问题。

You may want/need to clean up the stuff you have tried to manually install though so you avoid any problems with updates etc.