Whenever I try to do something in linux as a fresh start, always this type of things happens. Now I tried to install aircrack-ng on my newly installed ubuntu-12.04.
- I downloaded the aircrack-ng-1.1 which is latest stable version
- I installed the pre-requisites which is mentioned on the website - the build-essentials,libsqllite3-dev and libopenssl-dev and everything went fine.
- Now I tried to compile the aircrack-ng-1.1. I used the "make" command. I got some error in folder osdep and in linux.c file.
- Then I went to check for bug fixed for this problem in aircrack-ng. I found that there was a bug report submitted for this.
- Now tried to fix it as mentioned. Still It din't work.
- I went to website again, I saw its written that this solution may not work. I need to downgrade gcc version to 4.5 from 4.6(it comes with build-essential package)
- Now I removed gcc-4.6.3 from Ubuntu-software-center. I installed the gcc-4.5 again from command line by "sudo apt-get install gcc-4.5". It got installed successfully.
- Now when I wanted to check the gcc installed properly or not, i used the command "gcc --version". But it says me there is no command like that and tells me to install. But when I try to install again it tells me that its already installed and up to date.
Very strange strange problems. Anyone know how to make Aircrack compile?