LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-14-2009, 09:17 PM   #1
FLCL
Member
 
Registered: Jan 2009
Posts: 36

Rep: Reputation: 0
Installing aircrack


Running OpenSuse11.1

I've been trying to install aircrack, but when i go to i get these errors:

Code:
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -I/usr/local/include -DHAVE_SQLITE -Iinclude   -c -o airolib-ng.o airolib-ng.c
airolib-ng.c:40:21: error: sqlite3.h: No such file or directory
airolib-ng.c:95: error: expected ‘)’ before ‘*’ token
airolib-ng.c:99: error: expected ‘)’ before ‘*’ token
airolib-ng.c:129: error: expected ‘)’ before ‘*’ token
airolib-ng.c:134: error: expected ‘)’ before ‘*’ token
airolib-ng.c:160: error: expected ‘)’ before ‘*’ token
airolib-ng.c:191: error: expected ‘)’ before ‘*’ token
airolib-ng.c:223: error: expected ‘)’ before ‘*’ token
airolib-ng.c:248: error: expected ‘)’ before ‘*’ token
airolib-ng.c:276: error: expected ‘)’ before ‘*’ token
airolib-ng.c:306: error: expected ‘)’ before ‘*’ token
airolib-ng.c:391: error: expected ‘)’ before ‘*’ token
airolib-ng.c:404: error: expected ‘)’ before ‘*’ token
airolib-ng.c:415: error: expected ‘)’ before ‘*’ token
airolib-ng.c:436: error: expected ‘)’ before ‘*’ token
airolib-ng.c:474: error: expected ‘)’ before ‘*’ token
airolib-ng.c:517: error: expected ‘)’ before ‘*’ token
airolib-ng.c:632: error: expected ‘)’ before ‘*’ token
airolib-ng.c:708: error: expected ‘)’ before ‘*’ token
airolib-ng.c:745: error: expected declaration specifiers or ‘...’ before ‘sqlite3’
Code:
cc1: warnings being treated as errors
airolib-ng.c: In function ‘initDataBase’:
airolib-ng.c:748: error: implicit declaration of function ‘sqlite3_open’
airolib-ng.c:748: error: ‘db’ undeclared (first use in this function)
airolib-ng.c:748: error: (Each undeclared identifier is reported only once
airolib-ng.c:748: error: for each function it appears in.)
airolib-ng.c:750: error: ‘SQLITE_OK’ undeclared (first use in this function)
airolib-ng.c:751: error: implicit declaration of function ‘sql_error’
airolib-ng.c:752: error: implicit declaration of function ‘sqlite3_close’
airolib-ng.c:758: error: implicit declaration of function ‘sql_exec’
airolib-ng.c: At top level:
airolib-ng.c:794: error: expected ‘)’ before ‘*’ token
airolib-ng.c: In function ‘main’:
airolib-ng.c:878: error: ‘sqlite3’ undeclared (first use in this function)
airolib-ng.c:878: error: ‘db’ undeclared (first use in this function)
airolib-ng.c:916: error: implicit declaration of function ‘check_for_db’
airolib-ng.c:919: error: implicit declaration of function ‘batch_process’
airolib-ng.c:928: error: implicit declaration of function ‘vacuum’
airolib-ng.c:945: error: implicit declaration of function ‘export_cowpatty’
airolib-ng.c:970: error: implicit declaration of function ‘import_cowpatty’
airolib-ng.c:975: error: implicit declaration of function ‘import_ascii’
airolib-ng.c:994: error: implicit declaration of function ‘sql_stdout’
airolib-ng.c:1004: error: implicit declaration of function ‘show_stats’
airolib-ng.c:1014: error: implicit declaration of function ‘verify’
make[1]: *** [airolib-ng.o] Error 1
make[1]: Leaving directory `/home/user/Documents/aircrack-ng-1.0-rc3/src'
make: *** [all] Error 2
Any idea? :/
 
Old 05-14-2009, 11:32 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the ERROR massage tells you what you are missing
[quote]
error: sqlite3.h: No such file or directory[/quote
so install the dependencies as stated in the README and/or the INSTALL or the instructions on the web site
 
Old 05-15-2009, 06:56 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# zypper se sqlite3

# zypper in sqlite3-devel
 
Old 05-15-2009, 01:54 PM   #4
FLCL
Member
 
Registered: Jan 2009
Posts: 36

Original Poster
Rep: Reputation: 0
yeah thats the problem, i have the dependencies installed. So I'm not sure why it's saying not found.In YaST it shows they're intalled.
 
Old 05-15-2009, 06:04 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please do this command :

find /usr/include/ -name sqlite3.h

The x86 + x86_64 packages, sqlite3-devel :
Both should have /usr/include/sqlite3.h ? ?

.....
 
  


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
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
How to use Aircrack-ng? SentralOrigin Linux - Wireless Networking 3 07-11-2007 02:17 PM
Aircrack (no crack) wolf39us Linux - Wireless Networking 1 12-23-2006 11:52 AM
? on using aircrack eroica Linux - Wireless Networking 0 06-23-2005 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:00 PM.

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