All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-18 11:07 Terry An
  0 siblings, 0 replies; 6+ messages in thread
From: Terry An @ 2018-10-18 11:07 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Thanks, I'll check it out.

On Thu, Oct 18, 2018 at 6:35 PM Fuchs, Andreas <
andreas.fuchs(a)sit.fraunhofer.de> wrote:

> tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).
> libgcrypt (which is the 1.x branch) is quite old and had a different API
> than the 20 series...
>
> Maybe that's the problem...
> ------------------------------
> *From:* tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Terry An [
> terry.an.bj(a)gmail.com]
> *Sent:* Thursday, October 18, 2018 12:18
> *To:* tpm2(a)lists.01.org
> *Subject:* [tpm2] does anyone compile tpm2-tss-2.1.0 successful on
> CentOS7?
>
> lots of errors on my laptop.
>
> I have updated libgpg-error, libgcrypt-devel, etc..
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1561 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-23  9:37 Luke Hinds
  0 siblings, 0 replies; 6+ messages in thread
From: Luke Hinds @ 2018-10-23  9:37 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 2536 bytes --]

Did you manage to resolve this?

I am trying to build on CentOS 7.5 using the '2.1.0' branch, and seeing a
lot of "error: unknown type name" in src/tss2-esys/esys_crypto_gcrypt.c

The version available on CentOS repositories is:

libgcrypt-devel-1.5.3-14

I took a look at the releases and could not see a 2.0 (not entirely sure I
am looking at the right source?):

https://github.com/gpg/libgcrypt/releases

Any advice here on where to source the correct version and what that
version should be?

On Thu, Oct 18, 2018 at 10:51 PM Fuchs, Andreas <
andreas.fuchs(a)sit.fraunhofer.de> wrote:

> I've just remembered running into this problem some time back and
> situation sounded familiar...
>
> Yes you are right, we should check for one of the 2.0-only symbols, and I
> thought we were.
> We should double-check that in configure.ac. If only gcrypt had a
> pkg-config file.
> ------------------------------
> *From:* Tricca, Philip B [philip.b.tricca(a)intel.com]
> *Sent:* Thursday, October 18, 2018 23:26
> *To:* Fuchs, Andreas
> *Cc:* Terry An; tpm2(a)lists.01.org
> *Subject:* RE: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on
> CentOS7?
>
> If we’re not checking for these dependencies @ configure time then I’d
> call this a bug. The gcrypt handling stuff in the autoconf file is pretty
> convoluted but if I’m reading your last message correctly you’re saying
> that it can’t tell the difference between libgcrypt 1.2 & 2.0?
>
>
>
> *From:* tpm2 [mailto:tpm2-bounces(a)lists.01.org] *On Behalf Of *Fuchs,
> Andreas
> *Sent:* 18 October, 2018 03:35
> *To:* Terry An <terry.an.bj(a)gmail.com>; tpm2(a)lists.01.org
> *Subject:* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on
> CentOS7?
>
>
>
> tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).
>
> libgcrypt (which is the 1.x branch) is quite old and had a different API
> than the 20 series...
>
>
>
> Maybe that's the problem...
> ------------------------------
>
> *From:* tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Terry An [
> terry.an.bj(a)gmail.com]
> *Sent:* Thursday, October 18, 2018 12:18
> *To:* tpm2(a)lists.01.org
> *Subject:* [tpm2] does anyone compile tpm2-tss-2.1.0 successful on
> CentOS7?
>
> lots of errors on my laptop.
>
>
>
> I have updated libgpg-error, libgcrypt-devel, etc..
> _______________________________________________
> tpm2 mailing list
> tpm2(a)lists.01.org
> https://lists.01.org/mailman/listinfo/tpm2
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 6487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-18 21:51 Fuchs, Andreas
  0 siblings, 0 replies; 6+ messages in thread
From: Fuchs, Andreas @ 2018-10-18 21:51 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]

I've just remembered running into this problem some time back and situation sounded familiar...

Yes you are right, we should check for one of the 2.0-only symbols, and I thought we were.
We should double-check that in configure.ac. If only gcrypt had a pkg-config file.
________________________________
From: Tricca, Philip B [philip.b.tricca(a)intel.com]
Sent: Thursday, October 18, 2018 23:26
To: Fuchs, Andreas
Cc: Terry An; tpm2(a)lists.01.org
Subject: RE: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

If we’re not checking for these dependencies @ configure time then I’d call this a bug. The gcrypt handling stuff in the autoconf file is pretty convoluted but if I’m reading your last message correctly you’re saying that it can’t tell the difference between libgcrypt 1.2 & 2.0?

From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Fuchs, Andreas
Sent: 18 October, 2018 03:35
To: Terry An <terry.an.bj(a)gmail.com>; tpm2(a)lists.01.org
Subject: Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).
libgcrypt (which is the 1.x branch) is quite old and had a different API than the 20 series...

Maybe that's the problem...
________________________________
From: tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Terry An [terry.an.bj(a)gmail.com]
Sent: Thursday, October 18, 2018 12:18
To: tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
Subject: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
lots of errors on my laptop.

I have updated libgpg-error, libgcrypt-devel, etc..

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5009 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-18 21:26 Tricca, Philip B
  0 siblings, 0 replies; 6+ messages in thread
From: Tricca, Philip B @ 2018-10-18 21:26 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

If we're not checking for these dependencies @ configure time then I'd call this a bug. The gcrypt handling stuff in the autoconf file is pretty convoluted but if I'm reading your last message correctly you're saying that it can't tell the difference between libgcrypt 1.2 & 2.0?

From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Fuchs, Andreas
Sent: 18 October, 2018 03:35
To: Terry An <terry.an.bj(a)gmail.com>; tpm2(a)lists.01.org
Subject: Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).
libgcrypt (which is the 1.x branch) is quite old and had a different API than the 20 series...

Maybe that's the problem...
________________________________
From: tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Terry An [terry.an.bj(a)gmail.com]
Sent: Thursday, October 18, 2018 12:18
To: tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
Subject: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
lots of errors on my laptop.

I have updated libgpg-error, libgcrypt-devel, etc..

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5103 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-18 10:35 Fuchs, Andreas
  0 siblings, 0 replies; 6+ messages in thread
From: Fuchs, Andreas @ 2018-10-18 10:35 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).
libgcrypt (which is the 1.x branch) is quite old and had a different API than the 20 series...

Maybe that's the problem...
________________________________
From: tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Terry An [terry.an.bj(a)gmail.com]
Sent: Thursday, October 18, 2018 12:18
To: tpm2(a)lists.01.org
Subject: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

lots of errors on my laptop.

I have updated libgpg-error, libgcrypt-devel, etc..

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1211 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?
@ 2018-10-18 10:18 Terry An
  0 siblings, 0 replies; 6+ messages in thread
From: Terry An @ 2018-10-18 10:18 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

lots of errors on my laptop.

I have updated libgpg-error, libgcrypt-devel, etc..

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 127 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-23  9:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 11:07 [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7? Terry An
  -- strict thread matches above, loose matches on Subject: below --
2018-10-23  9:37 Luke Hinds
2018-10-18 21:51 Fuchs, Andreas
2018-10-18 21:26 Tricca, Philip B
2018-10-18 10:35 Fuchs, Andreas
2018-10-18 10:18 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.