If you are looking to install Aircrack on your Mac OS X installation just follow these simple instructions!
So simple and it actually works!
You will need Xcode installed to install this way, there will be no need for gmake or sqlite.
In a terminal windows run:
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
You will notice lots of files downloading, now we need to edit the common.mak file.
Browse to aircrack-ng folder by using the following command
cd aircrack-ng
Open up the file (I will be using nano to do this)
sudo nano common.mak
Enter your password to edit the file.
Look for this line:
CC = $(TOOL_PREFIX)gcc
and replace with:
CC = $(TOOL_PREFIX)gcc-4.0
Then find this line:
CFLAGS ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing
and replace with:
CFLAGS ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
Press ctrl o to write out the file, and then ctrl x to return back to terminal
Now type: The first line may error if you are already in the folder
cd aircrack-ng
make
sudo make install
All files should have been placed in /usr/local/bin/ directory