Improve on the list of dependencies.

Update the list of rpm dependencies referred to in INSTALL and
configure.ac and the spec file.
This commit is contained in:
Stefan Berger 2014-12-09 13:42:17 -05:00
parent 1201a5e0d7
commit 095168973d
3 changed files with 14 additions and 4 deletions

12
INSTALL
View File

@ -4,6 +4,7 @@ Building and running the swtpm has dependencies on the following packages:
- autoconf
- bash
- coreutils
- expect
- libtool
- sed
- libtpms
@ -14,9 +15,18 @@ Building and running the swtpm has dependencies on the following packages:
- glib2-devel
- gmp
- gmp-devel
- nss-devel
- net-tools
- selinux-policy-devel
- gnutls
- gnutls-devel
- libtasn1
- libtasn1-tools
- libtasn1-devel
- rpm-build (to build RPMs)
Use 'yum install <package name(s)> to install these packages.
On RHEL or Fedora use 'yum install <package name(s)> to install the above rpm
packages.
Use the following sequence to build and install the Software TPM.

View File

@ -96,12 +96,12 @@ fi
NSS_CFLAGS=$(pkg-config --cflags nss)
if test $? -ne 0; then
AC_MSG_ERROR("Is nss-softokn-freebl-devel installed? -- could not get cflags for nss")
AC_MSG_ERROR("Is nss-devel installed? -- could not get cflags for nss")
fi
NSS_LDFLAGS=$(pkg-config --libs nss)
if test $? -ne 0; then
AC_MSG_ERROR("Is nss-softokn-freebl-devel installed? -- could not get libs for nss")
AC_MSG_ERROR("Is nss-devel installed? -- could not get libs for nss")
fi
CFLAGS="$CFLAGS $GLIB_CFLAGS $NSS_CFLAGS"

2
dist/swtpm.spec.in vendored
View File

@ -22,7 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: automake autoconf bash coreutils libtool sed
BuildRequires: libtpms-devel fuse-devel glib2-devel gmp-devel
BuildRequires: expect bash net-tools
BuildRequires: expect bash net-tools nss-devel
%if %{with_gnutls}
BuildRequires: gnutls >= 3.1.0 gnutls-devel
BuildRequires: libtasn1-tools libtasn1-devel libtasn1