rkd77 / elinks

Fork of elinks
Other
335 stars 35 forks source link

check for gcrypt.h while configure with --with-gnutls and add libgcypt to Makefile #86

Open zubator opened 3 years ago

zubator commented 3 years ago

Hi, If I try to compile with gnutls option I can see this error

ssl.c:15:10: fatal error: gcrypt.h: No such file or directory 15 | #include | ^~~~~~ compilation terminated. make[3]: [../../.././Makefile.lib:133: ssl.o] Error 1 make[3]: Leaving directory '/home/zubator/programming/get_advers/myGE/elinks/src/network/ssl' make[2]: [../.././Makefile.lib:268: all-recursive] Error 1 make[2]: Leaving directory '/home/zubator/programming/get_advers/myGE/elinks/src/network' make[1]: [.././Makefile.lib:268: all-recursive] Error 1 make[1]: Leaving directory '/home/zubator/programming/get_advers/myGE/elinks/src' make: [Makefile.lib:268: all-recursive] Error 1

I installed headers files and compiled sources, but got error due linking, that cannot find function gcry_create_nonce. It is better to add libgcrypt library to linker.

rkd77 commented 3 years ago

Did you install libgcrypt20-dev or similar name of the package?

zubator commented 3 years ago

yes, I installed libgcrypt20-dev package and after this fixed bug, but also need to add -lgcrypt for linker

bulbalion commented 3 years ago

Try: apt-get install libgnutls28-dev libunistring-dev libgrypt-dev p11-kit