LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2010, 03:18 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
having trouble installing aircrack-ng from tarball


i downloaded a souce tarball for aircrack-ng from linux, when i extract it and move the terminal to its directory and run make and make install it gives me errors like the following

Code:
>make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/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
make[3]: gcc: Command not found
make[3]: *** [osdep.o] Error 127
make[3]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make: *** [all] Error 2
and when i run make install
Code:
make install
make -C src install
make[1]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/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
make[3]: gcc: Command not found
make[3]: *** [osdep.o] Error 127
make[3]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make: *** [install] Error 2
what is missing here what is the problem does it have to be in /tools/wifi or does it not matter

as you can see by the little icon next to my penguin i am using fedora (goddard) but i want to know how to install this in several other distros other than fedora because tarballs are universal with linux distros and i wanna know how to install it without using the internet (just want to know how to install it from tarball)
 
Old 06-18-2010, 03:32 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Looks like you don't have gcc installed. Install gcc.

Code:
make[3]: gcc: Command not found
 
Old 06-18-2010, 04:03 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
where can i find a tarball archive that will install gcc (the computers i plan on installing aircrack-ng on aren't connected to the internet and if i could connect them to the internet then whats the point of using aircrack-ng)

i think i found the tarball for it but you tell me if i got it right
http://gcc.igor.onlinedirect.bg/releases/gcc-4.5.0/
which one should i download the bz2 or the gz (does it matter)

is this the only thing i have to install

Last edited by baronobeefdip; 06-18-2010 at 04:07 PM.
 
Old 06-18-2010, 04:15 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
the computers i plan on installing aircrack-ng on aren't connected to the internet and if i could connect them to the internet then whats the point of using aircrack-ng
You are walking on very thin ice here. Please take the time to re-read the LQ Rules :
Code:
Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
We are not going to help you steal your neighbour's bandwidth.
 
Old 06-18-2010, 04:27 PM   #5
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
this isn't for thievery or anything like that (i swear to god) this is for my networking class i have no experience installing this kinds of things and neither does the instructor

plus my neighbors use wpa security and i don't wanna bother with wpa at all since its too difficult to figure out

i apprecate the help though thanks guys

plus besides installing all of this aircrack stuff we were previously trying to learn how to install samba from source as well and we are still trying to install and run apache http server (haven't got it down yet i have a thread around here asking that)

Last edited by baronobeefdip; 06-18-2010 at 04:31 PM.
 
Old 06-18-2010, 04:39 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
If it is for your networking class, then I expect you'll find the network connection details are available from your educational institution. Ask for them, and if you are entitled to them, they will be provided.

If your class "instructor" doesn't know how to set this up, then (s)he does not qualify for the post of "instructor".
 
Old 06-18-2010, 05:04 PM   #7
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
hes done stuff like this but only in windows (apparently all of the lesson plans and activities are dealing with windows not linux so everyone has either no or very minimal experience with linux)

we already know the weps and stuff for the schools wifi and they already know what goes on in this class so its okay we aren't stealing anything

i just installed openssl and i tried installing from atarball again and it still didn't work, instead this came up

Code:
make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/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/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/baronobeefdip/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:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
cc1: warnings being treated as errors
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: error: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: error: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2
baronobeefdip@baronobeefdip-desktop:~/Downloads/aircrack-ng-1.1$ sudo make 
make -C src all
make[1]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/baronobeefdip/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:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
cc1: warnings being treated as errors
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: error: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: error: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2
after looking closer at the error message that is showing up in the last code entry i found that the libssl-dev isn't installed (i also found that this is a debian/ubuntu problem and i want to install it in operating systems that aren't debian based for this to work) also i have been testing the tarball to see this but i'm not going to try the tarball in ubuntu anymore apt-get install is easier

i found out that fedora doesn't have the make command installed onto it what should i do about this, i had this working in pclinuxos 2009.1 before but i didn't know how to make it work at the time and i can't find another download of that os (the 2010 version of pclinuxos doesn't work well)

Last edited by baronobeefdip; 06-18-2010 at 06:52 PM.
 
Old 06-19-2010, 03:48 PM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
just found out that there is a live cd with aircrack-ng already installed onto it (along with other cool networking tools) its called backtrack but when i tried it, it won't reconize my wlan card (Zydas chipset it works fine when i use the aircrack-ng program i downloaded in ubuntu) whats the deal (i downloaded version 3 because it was small enough to fid on a cd-r but i don't think that it works with fairly new wireless cards) how do i fix this
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing aircrack FLCL SUSE / openSUSE 4 05-15-2009 06:04 PM
Trouble installing Aircrack on OpenSuse 11.1 bryanlee1981 Linux - Software 1 03-01-2009 05:33 PM
Problems installing Aircrack jamminbreeze Linux - Newbie 5 01-08-2008 10:01 AM
Need help Installing a Tarball little_penguin Linux - Software 6 02-12-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration