configure should realize libssl-dev is missing
Hey Guys,
I thought I would create a new ticket as it doesn't seem to be related to the previous one. I picked up the comments from #5009 (closed) and got in so far as autogen.sh and ./configure work perfectly.
My problem now appears to be that "make" falls over.
Here is the output when I run the command:
root@dragon:~/obfsproxy# make
make all-am
make[1]: Entering directory /root/obfsproxy' gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -I/usr/local/include -I/usr/local/include -g -O2 -MT crypt.o -MD -MP -MF .deps/crypt.Tpo -c -o crypt.o
test -f 'src/crypt.c' || echo './'src/crypt.c In file included from src/crypt.c:16: src/crypt.h:58:25: error: openssl/aes.h: No such file or directory In file included from src/crypt.c:16: src/crypt.h:66: error: expected specifier-qualifier-list before âAES_KEYâ src/crypt.c:21:30: error: openssl/opensslv.h: No such file or directory src/crypt.c:22:25: error: openssl/err.h: No such file or directory src/crypt.c:23:26: error: openssl/rand.h: No such file or directory cc1: warnings being treated as errors src/crypt.c: In function âinitialize_cryptoâ: src/crypt.c:39: error: implicit declaration of function âERR_load_crypto_stringsâ src/crypt.c:50: error: implicit declaration of function âperrorâ src/crypt.c:58: error: implicit declaration of function âRAND_seedâ src/crypt.c: In function âcleanup_cryptoâ: src/crypt.c:71: error: implicit declaration of function âERR_free_stringsâ src/crypt.c: In function âcrypt_newâ: src/crypt.c:147: error: âAES_BLOCK_SIZEâ undeclared (first use in this function) src/crypt.c:147: error: (Each undeclared identifier is reported only once src/crypt.c:147: error: for each function it appears in.) src/crypt.c:149: error: implicit declaration of function âAES_set_encrypt_keyâ src/crypt.c:149: error: âcrypt_tâ has no member named âkeyâ src/crypt.c: In function âcrypt_set_ivâ: src/crypt.c:160: error: âcrypt_tâ has no member named âivecâ src/crypt.c:161: error: âcrypt_tâ has no member named âivecâ src/crypt.c: In function âstream_cryptâ: src/crypt.c:170: error: implicit declaration of function âAES_ctr128_encryptâ src/crypt.c:171: error: âcrypt_tâ has no member named âkeyâ src/crypt.c:171: error: âcrypt_tâ has no member named âivecâ src/crypt.c:171: error: âcrypt_tâ has no member named âecount_bufâ src/crypt.c:172: error: âcrypt_tâ has no member named âposâ src/crypt.c: In function ârandom_bytesâ: src/crypt.c:196: error: implicit declaration of function âRAND_bytesâ make[1]: *** [crypt.o] Error 1 make[1]: Leaving directory
/root/obfsproxy'
make: *** [all] Error 2
Trac:
Username: Monotoko