LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems installing aircrack-ng (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-aircrack-ng-862439/)

mims 02-13-2011 12:55 PM

Problems installing aircrack-ng
 
Hi everybody, I am trying to install aircrack-ng . I downloaded the source code and make it. Can you give me any advice because this error occurred :
make -C src all
make[1]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o network.o network.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux.o linux.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o common.o common.c
ar cru libosdep.a osdep.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12: fatal error: openssl/hmac.h: No such file or directory
compilation terminated.
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2

acid_kewpie 02-13-2011 01:03 PM

you need to install openssl headers, probably from an openssl-devel rpm package or an equivalent .deb etc, depending on your distro.

knudfl 02-13-2011 01:44 PM

Actually, you can also install aircrack-ng with 'Synaptic'
( Ubuntu Softwarecenter ) or : sudo apt-get install aircrack-ng

The missing openssl files : apt-get install libssl-dev

..


All times are GMT -5. The time now is 02:59 PM.