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 - 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 11-29-2006, 04:55 PM   #1
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Rep: Reputation: 15
I have no "make", plz advise


Hiya Everyone

Im trying to Install AirSnort for a Univeristy Project

After i compile the source code this happens:

When i come to run the command "make", i get the following error:

make: *** No Targets specified and no makefile found. Stop.

and when i come to run the command "make install" i get the following error:

make: *** No rule to make argert "install". Stop

Im running Suse 10.1

Kernel Verion:

2.6.16.21-0.25-smp

Any help would be great

Thanks

Kai
 
Old 11-29-2006, 04:59 PM   #2
Indiestory
Member
 
Registered: Aug 2006
Location: Aberdeen, Scotland
Distribution: OpenBSD
Posts: 164
Blog Entries: 1

Rep: Reputation: 30
Are you running ./configure first, this normally creates a make file

try

Code:
./configure && make && makeinstall
could also try

Code:
./configure && make && checkinstall
if you have checkinstall installed on your system which i would strongly advise if you build alot from source. It creates a package specific to your distribution ( your case a .rpm file) which can be easily install and makes uninstalling easy too.
 
Old 11-29-2006, 05:00 PM   #3
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
I Also forgot to add:

When i run "make --version"

i get the following:

GNU Make 3.80
Copyright (c) 2002 Free Software Foundation inc
This is free software... ect ect


Thanks

Kai
 
Old 11-29-2006, 05:02 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Isn't there an airsnort package available via the YaST installer?
 
Old 11-29-2006, 05:05 PM   #5
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
Yes im Running ./configure first, and its building the source code

I had alook at the YaSt installer to check the DVD disc, and no there is no AirSnort Package

Thanks

Kai
 
Old 11-29-2006, 05:06 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Where did you get airsnort - what version?
 
Old 11-29-2006, 05:14 PM   #7
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
I Got airsnort from:

http://airsnort.shmoo.com/

Thanks

Kai
 
Old 11-29-2006, 05:25 PM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I just built it successfully. Strange. Here was my procedure in case it helps:

downloaded file airsnort-0.2.7e.tar.gz. Download came courtesy of sourceforge. Thanks again sf!

un-tared file with:
Code:
tar zxf airsnort-0.2.7e.tar.gz
It created a directory named "airsnort-0.2.7e". Change to directory:
Code:
cd airsnort-0.2.7e
Run configure:
Code:
./configure
seemed to run OK. Run make:
Code:
make
Failed. Complains about pcap. Install libpcap-dev. Note this command/package name is ubuntu specific:
Code:
sudo apt-get install libpcap-dev
Try to make again:
Code:
make
It works. I chose not to make install, but use checkinstall, which builds a package first and then installs that. It makes un-installation much easier:
Code:
sudo checkinstall
Done.
 
Old 11-29-2006, 05:29 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Are there any errors in the ./configure?
It will not make the Makefile unless everything it checks on is there.

Brian
 
Old 11-30-2006, 08:09 AM   #10
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
Hi there

no it doesn't throw an error in ./configure

thanks

Kai
 
Old 11-30-2006, 08:14 AM   #11
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
Hi there

I forgot to ask,

What is libpcap-dev?

I have only been using Linux for a week, so im still a newbie

thanks

kai
 
Old 11-30-2006, 08:23 AM   #12
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
It's the name of the package on the Ubuntu distribution which provides the development version of the pcap (packet capture) library. airsnort need this to be installed before it will build. Most distros separate libraries into runtime and development packages. The runtime provides the /usr/lib/... files (like DLLs under windows), and the -dev package provides the /usr/include/.../*.h files needed by the compiler to build programs which use the library.
 
Old 11-30-2006, 12:19 PM   #13
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
Hey Everyone

When i run ./configure, i do get an error, its the following:

checking for gtk+-2.0 >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.



And i havn't got a clue what that means :-(

I had alook in YaSt and it appears that gtk and gtk2 are both installed,

any idea's?

Thanks

Kai
 
Old 11-30-2006, 12:28 PM   #14
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
It means that the program you are trying to build depends on some software which isn't installed. In this case gtk+-2.0.

You probably do have the runtime version of this package installed, but probably not the development version (needed to compile programs which use the library). Open up YaST and install the version of this package which has -devel on the end of the name.

When building a program, you should read the README and INSTALL files. These will usually list such dependencies. In the case of airsnort, you need gtk and libpcap, as well as some kernel dependencies which I hope SuSE will handle OK.
 
Old 11-30-2006, 12:37 PM   #15
bigbadbo
Member
 
Registered: Nov 2006
Location: Nottingham - UK
Distribution: SuSe 10.1, Fedora Core 5
Posts: 30

Original Poster
Rep: Reputation: 15
Hi there

ok, Ive managed to make the file

ive also done a "make install"

thanks for your help on that.


This might sound a bit noobish, but this is the first program i have made in Linux, how do i run it ? lol

thanks

Kai
 
  


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
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
Can't resize ext3 partition (using "parted"). Help or advise another app, plz kornerr Linux - General 2 04-28-2005 10:01 AM
ipw2200, error when "make" plz help pz Mike zq Linux - Laptop and Netbook 8 04-11-2005 12:24 PM
WPC11 Ver4 and "Make" errors. plz help JRR Linux - Hardware 4 05-22-2004 05:08 PM
Error why "make" in Fluxbox 0.1.8, plz help Rampage2884 Linux - General 1 05-21-2002 05:57 AM

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

All times are GMT -5. The time now is 05:50 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