0

I am trying to install gnutls 3.7.8 on an Ubuntu 20.04.5 server. Had to install nettle first.

Command I am running for configure:

PKG_CONFIG_PATH="/usr/lib/pkgconfig/:$PKG_CONFIG_PATH" ./configure --prefix=/usr --with-included-unistring --with-included-libtasn1

Running "make --debug=j", this is where things start to go sideways; everything is running smoothly until then:

Making all in nettle
make\[4\]: Entering directory '/home/meowmeow/Installed_Programs/gnutls-3.7.8/lib/nettle'
Putting child 0x56123e85f740 (mac.lo) PID 1065461 on the chain.
Live child 0x56123e85f740 (mac.lo) PID 1065461
CC       mac.lo
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:48: warning: "streebog256_init" redefined
48 | #define streebog256_init \_gnutls_streebog256_init
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:44: note: this is the location of the previous definition
44 | #define streebog256_init nettle_streebog256_init
|
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:49: warning: "streebog256_digest" redefined
49 | #define streebog256_digest \_gnutls_streebog256_digest
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:45: note: this is the location of the previous definition
45 | #define streebog256_digest nettle_streebog256_digest
|
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:50: warning: "streebog512_init" redefined
50 | #define streebog512_init \_gnutls_streebog512_init
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:46: note: this is the location of the previous definition
46 | #define streebog512_init nettle_streebog512_init
|
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:51: warning: "streebog512_update" redefined
51 | #define streebog512_update \_gnutls_streebog512_update
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:47: note: this is the location of the previous definition
47 | #define streebog512_update nettle_streebog512_update
|
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:52: warning: "streebog512_digest" redefined
52 | #define streebog512_digest \_gnutls_streebog512_digest
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:48: note: this is the location of the previous definition
48 | #define streebog512_digest nettle_streebog512_digest
|
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:62:8: error: redefinition of 'struct streebog512_ctx'
62 | struct streebog512_ctx
|        ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:58:8: note: originally defined here
58 | struct streebog512_ctx
|        ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~
In file included from gost/hmac-gost.h:42,
from mac.c:39:
gost/streebog.h:92: warning: "streebog256_update" redefined
92 | #define streebog256_update \_gnutls_streebog512_update
|
In file included from /usr/include/nettle/hmac.h:44,
from mac.c:33:
/usr/include/nettle/streebog.h:88: note: this is the location of the previous definition
88 | #define streebog256_update nettle_streebog512_update
|
In file included from mac.c:39:
gost/hmac-gost.h:51: warning: "hmac_streebog256_set_key" redefined
51 | #define hmac_streebog256_set_key \_gnutls_hmac_streebog256_set_key
|
In file included from mac.c:33:
/usr/include/nettle/hmac.h:80: note: this is the location of the previous definition
80 | #define hmac_streebog256_set_key nettle_hmac_streebog256_set_key
|
In file included from mac.c:39:
gost/hmac-gost.h:52: warning: "hmac_streebog256_digest" redefined
52 | #define hmac_streebog256_digest \_gnutls_hmac_streebog256_digest
|
In file included from mac.c:33:
/usr/include/nettle/hmac.h:81: note: this is the location of the previous definition
81 | #define hmac_streebog256_digest nettle_hmac_streebog256_digest
|
In file included from mac.c:39:
gost/hmac-gost.h:53: warning: "hmac_streebog512_set_key" redefined
53 | #define hmac_streebog512_set_key \_gnutls_hmac_streebog512_set_key
|
In file included from mac.c:33:
/usr/include/nettle/hmac.h:82: note: this is the location of the previous definition
82 | #define hmac_streebog512_set_key nettle_hmac_streebog512_set_key
|
In file included from mac.c:39:
gost/hmac-gost.h:54: warning: "hmac_streebog512_update" redefined
54 | #define hmac_streebog512_update \_gnutls_hmac_streebog512_update
|
In file included from mac.c:33:
/usr/include/nettle/hmac.h:83: note: this is the location of the previous definition
83 | #define hmac_streebog512_update nettle_hmac_streebog512_update
|
In file included from mac.c:39:
gost/hmac-gost.h:55: warning: "hmac_streebog512_digest" redefined
55 | #define hmac_streebog512_digest \_gnutls_hmac_streebog512_digest
|
In file included from mac.c:33:
/usr/include/nettle/hmac.h:84: note: this is the location of the previous definition
84 | #define hmac_streebog512_digest nettle_hmac_streebog512_digest
|
In file included from mac.c:39:
gost/hmac-gost.h:60:8: error: redefinition of 'struct hmac_streebog512_ctx'
60 | struct hmac_streebog512_ctx HMAC_CTX(struct streebog512_ctx);
|        ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~
In file included from mac.c:33:
/usr/include/nettle/hmac.h:254:8: note: originally defined here
254 | struct hmac_streebog512_ctx HMAC_CTX(struct streebog512_ctx);
|        ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~
Reaping losing child 0x56123e85f740 PID 1065461
make\[4\]: \*\*\* \[Makefile:2346: mac.lo\] Error 1
Removing child 0x56123e85f740 PID 1065461 from chain.
make\[4\]: Leaving directory '/home/meowmeow/Installed_Programs/gnutls-3.7.8/lib/nettle'
Reaping losing child 0x562065819fa0 PID 1065420
make\[3\]: \*\*\* \[Makefile:2901: all-recursive\] Error 1
Removing child 0x562065819fa0 PID 1065420 from chain.
make\[3\]: Leaving directory '/home/meowmeow/Installed_Programs/gnutls-3.7.8/lib'
Reaping losing child 0x557239209220 PID 1065419
make\[2\]: \*\*\* \[Makefile:2505: all\] Error 2
Removing child 0x557239209220 PID 1065419 from chain.
make\[2\]: Leaving directory '/home/meowmeow/Installed_Programs/gnutls-3.7.8/lib'
Reaping losing child 0x563a8ddd7ab0 PID 1065402
make\[1\]: \*\*\* \[Makefile:2257: all-recursive\] Error 1
Removing child 0x563a8ddd7ab0 PID 1065402 from chain.
make\[1\]: Leaving directory '/home/meowmeow/Installed_Programs/gnutls-3.7.8'
Reaping losing child 0x55f76896c820 PID 1065391
make: \*\*\* \[Makefile:2182: all\] Error 2
Removing child 0x55f76896c820 PID 1065391 from chain.

I am a biologist, I just want to be able to run remote blast on my server and am basically a monkey typing commands when it comes to compiling things - so at this point, I'm pretty much out of knowledge.

I have tried to reinstall nettle many times using different options; have tried searching through the Makefile trying to find what is happening here; have tried multiple configurations of ./configure for gnutls, googled this every which way. I was expecting...to install gnutls.

Bee
  • 1
  • 1

0 Answers0