use tpm2-abrmd on RHEL7.3

Issues encountered during configuring & compiling tpm2-abrmd:


1. "No package 'dbus-1' found" during configure

Cause:

dbus-1 is the dbus develop package on Ubuntu, which provides dbus-1.pc.

While on RHEL7.3, dbus develop package has a different name - dbus-1. Install dbus-devel from RHEL 7.3 package source would be enough.


Solution:

# yum install dbus-devel


2. "No package 'gio-unix-2.0' found" dung configure

Cause: The package which contains gio-unix-2.0.pc is missing.

# yum provides */gio-unix-2.0.pc
glib2-devel-2.46.2-4.el7.i686 : A library of handy utility functions
Repo        : linux-ftp
Matched from:
Filename    : /usr/lib/pkgconfig/gio-unix-2.0.pc


glib2-devel-2.46.2-4.el7.x86_64 : A library of handy utility functions
Repo        : linux-ftp
Matched from:
Filename    : /usr/lib64/pkgconfig/gio-unix-2.0.pc


Solution:

# yum install glib2-devel


你可能感兴趣的:(use tpm2-abrmd on RHEL7.3)