* Re: [tpm2] bootstrap error on CentOS7
@ 2018-10-23 8:05 Terry An
0 siblings, 0 replies; 5+ messages in thread
From: Terry An @ 2018-10-23 8:05 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]
here is my tpm2-tss & tpm2-abrmd scripts:
1. tpm2-tss-2.1.0
./configure --prefix=/usr --enable-debug --with-crypto=ossl
--disable-doxygen-doc
make && make install
2. tpm2-abrmd-2.0.2
yum install dbus-devel glib2-devel
TSS2_SYS_CFLAGS=' ' TSS2_SYS_LIBS='-ltss2-sys -L/usr/lib/' ./configure
--prefix=/usr
make && make install
On Tue, Oct 23, 2018 at 3:51 PM Terry An <terry.an.bj(a)gmail.com> wrote:
> I have cloned the latest code of kms-tools from github, and I need to test
> the command 'tpm2-import'
> but the master branch doesn't have "configure" command, and "bootstrap"
> return error
>
> [root(a)localhost tpm2-tools]# ./bootstrap
> Generating file lists: src_vars.mk
> libtoolize: putting auxiliary files in `.'.
> libtoolize: linking file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: linking file `m4/libtool.m4'
> libtoolize: linking file `m4/ltoptions.m4'
> libtoolize: linking file `m4/ltsugar.m4'
> libtoolize: linking file `m4/ltversion.m4'
> libtoolize: linking file `m4/lt~obsolete.m4'
> configure.ac:65: error: possibly undefined macro: AC_MSG_ERROR
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> [root(a)localhost tpm2-tools]# rpm -q libtool pkgconfig autoconf automake
> m4
> libtool-2.4.2-22.el7_3.x86_64
> pkgconfig-0.27.1-4.el7.x86_64
> autoconf-2.69-11.el7.noarch
> automake-1.13.4-3.el7.noarch
> m4-1.4.16-10.el7.x86_64
>
>
>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2549 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tpm2] bootstrap error on CentOS7
@ 2018-10-23 15:23 Philip Tricca
0 siblings, 0 replies; 5+ messages in thread
From: Philip Tricca @ 2018-10-23 15:23 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]
Hi Terry An,
On Tue, Oct 23, 2018 at 03:51:08PM +0800, Terry An wrote:
> I have cloned the latest code of kms-tools from github, and I need to test
> the command 'tpm2-import'
> but the master branch doesn't have "configure" command, and "bootstrap"
> return error
>
> [root(a)localhost tpm2-tools]# ./bootstrap
> Generating file lists: src_vars.mk
> libtoolize: putting auxiliary files in `.'.
> libtoolize: linking file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: linking file `m4/libtool.m4'
> libtoolize: linking file `m4/ltoptions.m4'
> libtoolize: linking file `m4/ltsugar.m4'
> libtoolize: linking file `m4/ltversion.m4'
> libtoolize: linking file `m4/lt~obsolete.m4'
> configure.ac:65: error: possibly undefined macro: AC_MSG_ERROR
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> [root(a)localhost tpm2-tools]# rpm -q libtool pkgconfig autoconf automake m4
> libtool-2.4.2-22.el7_3.x86_64
> pkgconfig-0.27.1-4.el7.x86_64
> autoconf-2.69-11.el7.noarch
> automake-1.13.4-3.el7.noarch
> m4-1.4.16-10.el7.x86_64
This question has been asked and answered several times in our public
bug tracker:
https://github.com/tpm2-software/tpm2-tss/issues/55
https://github.com/tpm2-software/tpm2-tss/issues/185
https://github.com/tpm2-software/tpm2-tss/issues/227
https://github.com/tpm2-software/tpm2-tss/issues/259
https://github.com/tpm2-software/tpm2-tss/issues/1110
If the solutions from these threads doesn't work for you please provide
additional detail.
Philip
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tpm2] bootstrap error on CentOS7
@ 2018-10-23 8:17 Terry An
0 siblings, 0 replies; 5+ messages in thread
From: Terry An @ 2018-10-23 8:17 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 2758 bytes --]
tpm2-abrmd is in my executable path: /usr/sbin
[root(a)localhost ~]# whereis tpm2-abrmd
tpm2-abrmd: /usr/sbin/tpm2-abrmd /usr/share/man/man8/tpm2-abrmd.8
[root(a)localhost ~]#
On Tue, Oct 23, 2018 at 4:07 PM Terry An <terry.an.bj(a)gmail.com> wrote:
> The line 65 in configure.ac, and I don't know how to solve it.
>
> 53 AC_DEFUN([unit_test_checks],[
> 54
> 55 PKG_CHECK_MODULES([CMOCKA],[cmocka],
> 56 [AC_DEFINE([HAVE_CMOCKA],[1])])
> 57
> 58 AC_CHECK_PROG([tpm2_abrmd], [tpm2-abrmd],
> 59 [yes], [no])
> 60
> 61 AC_CHECK_PROG([tpm_server], [tpm_server],
> 62 [yes], [no])
> 63
> 64 AS_IF([test "$tpm2_abrmd" != "yes"],
> 65 [AC_MSG_ERROR([Required executable tpm2_abrmd not found,
> try setting PATH])],
> 66 [])
> 67
> 68 AS_IF([test "$tpm_server" != "yes"],
> 69 [AC_MSG_ERROR([Required executable tpm_server not found, try
> setting PATH])],
> 70 [])
> 71 ])
> 72
>
>
> On Tue, Oct 23, 2018 at 4:05 PM Terry An <terry.an.bj(a)gmail.com> wrote:
>
>> here is my tpm2-tss & tpm2-abrmd scripts:
>> 1. tpm2-tss-2.1.0
>> ./configure --prefix=/usr --enable-debug --with-crypto=ossl
>> --disable-doxygen-doc
>> make && make install
>> 2. tpm2-abrmd-2.0.2
>> yum install dbus-devel glib2-devel
>> TSS2_SYS_CFLAGS=' ' TSS2_SYS_LIBS='-ltss2-sys -L/usr/lib/' ./configure
>> --prefix=/usr
>> make && make install
>>
>> On Tue, Oct 23, 2018 at 3:51 PM Terry An <terry.an.bj(a)gmail.com> wrote:
>>
>>> I have cloned the latest code of kms-tools from github, and I need to
>>> test the command 'tpm2-import'
>>> but the master branch doesn't have "configure" command, and "bootstrap"
>>> return error
>>>
>>> [root(a)localhost tpm2-tools]# ./bootstrap
>>> Generating file lists: src_vars.mk
>>> libtoolize: putting auxiliary files in `.'.
>>> libtoolize: linking file `./ltmain.sh'
>>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
>>> libtoolize: linking file `m4/libtool.m4'
>>> libtoolize: linking file `m4/ltoptions.m4'
>>> libtoolize: linking file `m4/ltsugar.m4'
>>> libtoolize: linking file `m4/ltversion.m4'
>>> libtoolize: linking file `m4/lt~obsolete.m4'
>>> configure.ac:65: error: possibly undefined macro: AC_MSG_ERROR
>>> If this token and others are legitimate, please use
>>> m4_pattern_allow.
>>> See the Autoconf documentation.
>>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>>> [root(a)localhost tpm2-tools]# rpm -q libtool pkgconfig autoconf automake
>>> m4
>>> libtool-2.4.2-22.el7_3.x86_64
>>> pkgconfig-0.27.1-4.el7.x86_64
>>> autoconf-2.69-11.el7.noarch
>>> automake-1.13.4-3.el7.noarch
>>> m4-1.4.16-10.el7.x86_64
>>>
>>>
>>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4595 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tpm2] bootstrap error on CentOS7
@ 2018-10-23 8:07 Terry An
0 siblings, 0 replies; 5+ messages in thread
From: Terry An @ 2018-10-23 8:07 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 2404 bytes --]
The line 65 in configure.ac, and I don't know how to solve it.
53 AC_DEFUN([unit_test_checks],[
54
55 PKG_CHECK_MODULES([CMOCKA],[cmocka],
56 [AC_DEFINE([HAVE_CMOCKA],[1])])
57
58 AC_CHECK_PROG([tpm2_abrmd], [tpm2-abrmd],
59 [yes], [no])
60
61 AC_CHECK_PROG([tpm_server], [tpm_server],
62 [yes], [no])
63
64 AS_IF([test "$tpm2_abrmd" != "yes"],
65 [AC_MSG_ERROR([Required executable tpm2_abrmd not found, try
setting PATH])],
66 [])
67
68 AS_IF([test "$tpm_server" != "yes"],
69 [AC_MSG_ERROR([Required executable tpm_server not found, try
setting PATH])],
70 [])
71 ])
72
On Tue, Oct 23, 2018 at 4:05 PM Terry An <terry.an.bj(a)gmail.com> wrote:
> here is my tpm2-tss & tpm2-abrmd scripts:
> 1. tpm2-tss-2.1.0
> ./configure --prefix=/usr --enable-debug --with-crypto=ossl
> --disable-doxygen-doc
> make && make install
> 2. tpm2-abrmd-2.0.2
> yum install dbus-devel glib2-devel
> TSS2_SYS_CFLAGS=' ' TSS2_SYS_LIBS='-ltss2-sys -L/usr/lib/' ./configure
> --prefix=/usr
> make && make install
>
> On Tue, Oct 23, 2018 at 3:51 PM Terry An <terry.an.bj(a)gmail.com> wrote:
>
>> I have cloned the latest code of kms-tools from github, and I need to
>> test the command 'tpm2-import'
>> but the master branch doesn't have "configure" command, and "bootstrap"
>> return error
>>
>> [root(a)localhost tpm2-tools]# ./bootstrap
>> Generating file lists: src_vars.mk
>> libtoolize: putting auxiliary files in `.'.
>> libtoolize: linking file `./ltmain.sh'
>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
>> libtoolize: linking file `m4/libtool.m4'
>> libtoolize: linking file `m4/ltoptions.m4'
>> libtoolize: linking file `m4/ltsugar.m4'
>> libtoolize: linking file `m4/ltversion.m4'
>> libtoolize: linking file `m4/lt~obsolete.m4'
>> configure.ac:65: error: possibly undefined macro: AC_MSG_ERROR
>> If this token and others are legitimate, please use
>> m4_pattern_allow.
>> See the Autoconf documentation.
>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>> [root(a)localhost tpm2-tools]# rpm -q libtool pkgconfig autoconf automake
>> m4
>> libtool-2.4.2-22.el7_3.x86_64
>> pkgconfig-0.27.1-4.el7.x86_64
>> autoconf-2.69-11.el7.noarch
>> automake-1.13.4-3.el7.noarch
>> m4-1.4.16-10.el7.x86_64
>>
>>
>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4011 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [tpm2] bootstrap error on CentOS7
@ 2018-10-23 7:51 Terry An
0 siblings, 0 replies; 5+ messages in thread
From: Terry An @ 2018-10-23 7:51 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
I have cloned the latest code of kms-tools from github, and I need to test
the command 'tpm2-import'
but the master branch doesn't have "configure" command, and "bootstrap"
return error
[root(a)localhost tpm2-tools]# ./bootstrap
Generating file lists: src_vars.mk
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
configure.ac:65: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
[root(a)localhost tpm2-tools]# rpm -q libtool pkgconfig autoconf automake m4
libtool-2.4.2-22.el7_3.x86_64
pkgconfig-0.27.1-4.el7.x86_64
autoconf-2.69-11.el7.noarch
automake-1.13.4-3.el7.noarch
m4-1.4.16-10.el7.x86_64
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1549 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-10-23 15:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 8:05 [tpm2] bootstrap error on CentOS7 Terry An
-- strict thread matches above, loose matches on Subject: below --
2018-10-23 15:23 Philip Tricca
2018-10-23 8:17 Terry An
2018-10-23 8:07 Terry An
2018-10-23 7:51 Terry An
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.