Unable to compile aircrack


edgarasf123

Still Fresh
Joined
Feb 19, 2014
Messages
6
Im trying to compile aircrack, but it gives me Permission denied. Tried to use "sudo -" but still no success :/. 

Code:
root@edgar-openpandora:/usr/bin/aircrack-ng-1.2-beta2# make
/bin/sh: gcc: Permission denied
expr: syntax error
/bin/sh: gcc: Permission denied
expr: syntax error
make -C src all
/bin/sh: gcc: Permission denied
expr: syntax error
/bin/sh: gcc: Permission denied
expr: syntax error
make[1]: Entering directory `/usr/bin/aircrack-ng-1.2-beta2/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
make[1]: execvp: gcc: Permission denied
make[1]: *** [aircrack-ng.o] Error 127
make[1]: Leaving directory `/usr/bin/aircrack-ng-1.2-beta2/src'
make: *** [all] Error 2
 
Have you tried compiling your code from an SD card, or your profile directory, rather than in /usr/bin?
 
Would it be possible to compile in windows or vm for arm, and then transfer to pandora manually?
 
Last edited by a moderator:
Yes.

But if you want to compile on the pandora, under the normal OS, you should check out the code:blocks pnd.
 
I got version 1.1 to cross compile using Yactfeau, and it works pretty well. I might try packaging it inside a .pnd if I get some time and there is interest, but I think it makes more sense to run it outside a pnd because of the way this tool is used most of the time (opening several terminal windows to simultaneously run several commands).
 
Last edited by a moderator:
Back
Top