Shallot on Debian 9.5 src/math.h:23:24: fatal error
./configure && make Liunx detected. Have you considered switching to BSD? Configuration successful. This does not mean it will build. If you are missing gcc, or required libraries/headers, you will need to install them first. cc -O3 -I/usr/include -I/usr/local/include -L/usr/lib -L/usr/local/lib -Wall -o src/math.o -c src/math.c In file included from src/math.c:3:0: src/math.h:23:24: fatal error: openssl/bn.h: Aucun fichier ou dossier de ce type #include <openssl/bn.h> ^ compilation terminated. Makefile:44 : la recette pour la cible « src/math.o » a échouée make: *** [src/math.o] Erreur 1
I have test install openssl, and, gcc, and linux-headers-4.9.0-7-amd64 But, is already the newest version, i have.
How i can resolved this ? src/math.h:23:24: fatal error: openssl/bn.h: Aucun fichier ou dossier de ce type #include <openssl/bn.h>
I add libssl-dev
./configure && make Liunx detected. Have you considered switching to BSD? Configuration successful. This does not mean it will build. If you are missing gcc, or required libraries/headers, you will need to install them first. cc -O3 -I/usr/include -I/usr/local/include -L/usr/lib -L/usr/local/lib -Wall -o src/math.o -c src/math.c src/math.c: In function ‘easygen’: src/math.c:30:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(num, 3, NULL, NULL); ^~~ In file included from /usr/include/openssl/asn1.h:15:0, from /usr/include/openssl/rsa.h:16, from src/math.h:24, from src/math.c:3: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ src/math.c: In function ‘sane_key’: src/math.c:67:17: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’ BN_sub(p1, rsa->p, BN_value_one()); // p - 1 ^~ src/math.c:78:10: error: dereferencing pointer to incomplete type ‘BIGNUM {aka struct bignum_st}’ if(!chk->neg) ^~ Makefile:44 : la recette pour la cible « src/math.o » a échouée make: *** [src/math.o] Erreur 1
Check out: https://github.com/katmagic/Shallot/pull/37
#37 doesnt seem to be helping. I have the latest commit of shallot and this is still a problem. I checked to make sure openssl is installed and it sure as hell is. I dont know what the problem is. Its in the root include folder and everything.