在《TPM零知识学习四 —— tpm2-tss源码安装》一文(链接如下)中讲解了tpm2-tss的源码安装方法和过程。
TPM零知识学习四 —— tpm2-tss源码安装_蓝天居士的博客-优快云博客
但那其中只有tpm2-tss是源码编译,而其依赖是通过apt install下载安装的。本文讲一下依赖也从源码编译的方法。由于依赖很多,这里只给出一部分依赖源码编译的方法。
前文中提到的tpm2-tss源码下载等步骤在此不再赘述,直接到编译这一步。
penghao@Ding-Perlis-MP26JBT0:~/TPM/tss/tpm2-tss$ ./bootstrap
Generating file lists: src_vars.mk
aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4'
aclocal: installing 'm4/ltdl.m4' from '/usr/share/aclocal/ltdl.m4'
aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4'
aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4'