Fedora Linux Support Community & Resources Center
  #1  
Old 15th July 2012, 12:19 PM
NotFromBrooklyn Offline
Registered User
 
Join Date: Dec 2011
Location: Sevilla
Posts: 3
linuxfirefox
[solved] rpmbuild aircrack-ng error

Hello.

I'm building this in a CentOS 6 machine. I compiled it and installed (make; make install) to see if everything works. And then uninstalled it (make uninstall). I think this is what causes the errors.

This is the error message I get:

Code:
Processing files: aircrack-ng-debuginfo-1.1-1.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/makerpm/rpmbuild/BUILDROOT/aircrack-ng-1.1-1.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/local/bin/aircrack-ng
   /usr/local/bin/airdecap-ng
...
And:

Code:
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/local/bin/aircrack-ng
   /usr/local/bin/airdecap-ng
...
I thought of removing those files, but they don't exist.

What's wrong? I don't have experience building rpms, this is my first one. Can someone help me?
__________________
English is not my native language, so please excuse my bad spelling.

Last edited by NotFromBrooklyn; 15th July 2012 at 12:53 PM. Reason: solved
Reply With Quote
  #2  
Old 15th July 2012, 12:21 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: rpmbuild aircrack-ng error

Post the spec file
Reply With Quote
  #3  
Old 15th July 2012, 12:26 PM
NotFromBrooklyn Offline
Registered User
 
Join Date: Dec 2011
Location: Sevilla
Posts: 3
linuxfirefox
Re: rpmbuild aircrack-ng error

I don't think it's a spec file issue. But here it is:
Code:
Name:		aircrack-ng		
Version:	1.1 	
Release:	1
Summary:	Famous wifi cracking suite	

Group:		Applications/System
License:	GPLv2
URL:		www dot aircrack-ng dot org
Source0:	        download dot aircrack-ng dot org/aircrack-ng-1.1.tar.gz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	openssl-devel
BuildRequires:	sqlite-devel
BuildRequires:	libpcap-devel

%description
Aircrack-ng is a network software suite consisting of a detector, packet sniffer, WEP and WPA/WPA2-PSK cracker and analysis tool for 802.11 wireless LANs. It works with any Atheros chipset.

%prep
%setup -q

%build
make sqlite=true

%install
rm -rf %{buildroot}
make sqlite=true install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc

%changelog
I altered a bit the urls because of the forum limitations.
__________________
English is not my native language, so please excuse my bad spelling.
Reply With Quote
  #4  
Old 15th July 2012, 12:39 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: rpmbuild aircrack-ng error

Change the install section to this


Code:
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir}/man1 sqlite=true
You will also need to edit the files section to

Code:
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README VERSION test/ patches/
%{_bindir}/*
%{_sbindir}/*
%{_mandir}/man1/*

Last edited by Yellowman; 15th July 2012 at 12:43 PM.
Reply With Quote
  #5  
Old 15th July 2012, 12:52 PM
NotFromBrooklyn Offline
Registered User
 
Join Date: Dec 2011
Location: Sevilla
Posts: 3
linuxfirefox
Re: rpmbuild aircrack-ng error

Thank you yellowman. You rule
__________________
English is not my native language, so please excuse my bad spelling.
Reply With Quote
Reply

Tags
aircrackng, error, rpmbuild

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rtl8187b error after running "make install" on aircrack-ng installation tutorial pant Hardware & Laptops 2 27th July 2010 06:53 PM
aircrack-ng(error message) eyekay234 Using Fedora 4 25th May 2009 05:03 PM
aircrack-ng error jazzfan Servers & Networking 7 30th June 2008 10:35 PM
rpmbuild with php-4.3-4 get error ? bonghongxanh Using Fedora 3 31st March 2005 05:47 PM


Current GMT-time: 14:51 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat