Aircrack-ng
Welcome, Guest. Please login or register.
November 21, 2009, 02:27:29 am

Login with username, password and session length
Search:     Advanced search
29627 Posts in 5045 Topics by 13317 Members
Latest Member: JatStraikar
* Home Help Search Login Register
+  Aircrack-ng
|-+  Members only
| |-+  Mac OSX
| | |-+  Compiling aircrack-NG 1.0 on Snow Leopard
« previous next »
Pages: [1] Print
Author Topic: Compiling aircrack-NG 1.0 on Snow Leopard  (Read 1220 times)
mokum
Newbie
*
Posts: 1


Compiling aircrack-NG 1.0 on Snow Leopard
« on: September 15, 2009, 01:30:25 pm »

harleyb on the kismac-ng forums posted this working change to compile the current AirCrack-NG [version 1.0] on Snow Leopard.

Carbon Copy:
Quote from: harleyb
Obviously, you need Xcode installed. However, you don't need gmake or sqlite like aircrack-ng's guide says.
Open Terminal, run:
Code:
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng

Now, you need to edit common.mak to build for a 32-bit architecture using 10.5 headers, and have it use gcc-4.0 instead of 4.2.

Find this line:
Code:
CC              = $(TOOL_PREFIX)gcc
and replace with:
Code:
CC              = $(TOOL_PREFIX)gcc-4.0

Then find this line:
Code:
CFLAGS          ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing
and replace with:
Code:
CFLAGS          ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk

Go back to Terminal and:
Code:
cd aircrack-ng
make
sudo make install

Look at the make install output to find out where stuff got placed; the tools you'll likely use are in /usr/local/bin/

Hope this helps somebody!

And this actually works.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Aircrack-ng | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!