mdk4 icon indicating copy to clipboard operation
mdk4 copied to clipboard

i can't install

Open EvoRongda opened this issue 6 years ago • 17 comments

root@kali:~/mdk4-master# make Makefile:13: *** Recursive variable 'PREFIX' references itself (eventually). Stop. root@kali:~/mdk4-master#

EvoRongda avatar Dec 10 '18 22:12 EvoRongda

now work. I deleted space from line 13,14,15 and i press TAB. and now i have this error dumpfile.c:2:10: fatal error: pcap.h: No such file or directory #include <pcap.h> ^~~~~~~~ compilation terminated. make[1]: *** [: dumpfile.o] Error 1 make[1]: Leaving directory '/root/mdk4-master/src' make: *** [Makefile:10: all] Error 2

Edit: Now i have "make[1]: *** [: dumpfile.o] Error 1 make[1]: Leaving directory '/root/mdk4-master/src' make: *** [Makefile:10: all] Error 2 " here i don't know how modify

EvoRongda avatar Dec 10 '18 22:12 EvoRongda

I`m unable to find the folder mdk4-master after I follow the installation steps: after this command: apt-get install pkg-config libnl-3-dev libnl-genl-3-dev I get the syntax: Reading package lists... Done Building dependency tree
Reading state information... Done libnl-3-dev is already the newest version (3.4.0-1). libnl-genl-3-dev is already the newest version (3.4.0-1). pkg-config is already the newest version (0.29-4+b1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
And after that, when I press cd /mdk4-master I got this: bash: cd: /mdk4-master: No such file or directory. I even searched in my computer for mdk4 and unable to find anything.

rattzy avatar Dec 30 '18 11:12 rattzy

@EvoRongda the first problem you mentioned was a regression that appeared on the last commit and I already created a PR to fix that (https://github.com/aircrack-ng/mdk4/pull/16).

The second problem (pcap.h: No such file or directory) is because you also have to install libpcap-dev, I'm doing a PR to add this to README right now.

Please note that, if it solves your problem, you can install mdk4 using apt (apt install mdk4) if you're running Debian Testing or Kali Linux.

samueloph avatar Jan 05 '19 11:01 samueloph

Also getting the same exception:

[user@host mdk4]$ make
Makefile:13: *** Recursive variable 'PREFIX' references itself (eventually).  Stop.
[user@host mdk4]$ 

https://github.com/aircrack-ng/mdk4/pull/16 resolved the issue for me.

strasharo avatar Jan 13 '19 12:01 strasharo

@rattzy, you should also clone the repo in order to get the mdk4 files: git clone https://github.com/aircrack-ng/mdk4.git

Anyway, i'm getthing the same error:

root@raspberrypi:/home/pi/mdk4# make
Makefile:13: *** Recursive variable 'PREFIX' references itself (eventually).  Stop. 

This solution also fixed the make for me.

But i get another error on make install:

make[2]: Entering directory '/home/pi/mdk4/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/mdk4/src/attacks'
make[1]: Leaving directory '/home/pi/mdk4/src'
PREFIX:=/usr/local make -C src install
/bin/sh: 1: PREFIX:=/usr/local: not found
Makefile:13: recipe for target 'install' failed
make: *** [install] Error 127

Should I open another issue?

victor-ab avatar Feb 22 '19 05:02 victor-ab

Same here on latest Kali and Arch with make 4.2.1, guess a recent make upgrade broke it since it was working for me before at least on Kali.

strasharo avatar Feb 24 '19 21:02 strasharo

yes on new kali 2019 got same error 127 cant install any idea? make[2]: Entering directory '/home/pi/mdk4/src/attacks' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pi/mdk4/src/attacks' make[1]: Leaving directory '/home/pi/mdk4/src' PREFIX:=/usr/local make -C src install /bin/sh: 1: PREFIX:=/usr/local: not found Makefile:13: recipe for target 'install' failed make: *** [install] Error 127

genericc avatar Mar 16 '19 06:03 genericc

on ubuntu 16.4 same

genericc avatar Mar 16 '19 06:03 genericc

yes on new kali 2019 got same error 127 cant install any idea? make[2]: Entering directory '/home/pi/mdk4/src/attacks' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pi/mdk4/src/attacks' make[1]: Leaving directory '/home/pi/mdk4/src' PREFIX:=/usr/local make -C src install /bin/sh: 1: PREFIX:=/usr/local: not found Makefile:13: recipe for target 'install' failed make: *** [install] Error 127

Go to the Makefile at the line 13 and remove the ":" after PREFIX Hope it works

BlackRNG avatar Mar 22 '19 08:03 BlackRNG

BlackRNG cool its works now thanks.

genericc avatar Mar 22 '19 16:03 genericc

i have 2 same Alfa Network AWUS036ACH adaptors but cant deauth client from router on 5 ghz band can maybe someone help me with this issue?im trying about 1month and unfornately.

genericc avatar Mar 22 '19 16:03 genericc

like seriously no one can help with the installation of MDK4 Am stack after updating ma linux

Khwasi avatar Jul 03 '19 18:07 Khwasi

Khwasi i can help you for money if you very need run this script.for my work 100%

genericc avatar Jul 03 '19 18:07 genericc

hmmm please i have figured it out and it's working for me too 100% tanks bro..

Khwasi avatar Jul 03 '19 18:07 Khwasi

who needs help am gonna help you for freeeee!!!!!!!!

Khwasi avatar Jul 03 '19 18:07 Khwasi

Me please

Zero-Sploit avatar Jul 16 '19 23:07 Zero-Sploit

i cant dowloand the lib (apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev) ,it is still varifiable?))

ARaimbekov avatar Nov 14 '19 06:11 ARaimbekov