LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2011, 11:15 AM   #1
nomiezvr4
LQ Newbie
 
Registered: Jan 2011
Posts: 26

Rep: Reputation: 0
Error while trying to install ettercap configure error libnet on Red Hat enterprise


Hey guys, I am quite new to Linux. Just some basic information, I am using windows xp but have installed vmwork station and am running Red Hat enterprise linux 4.
When i run ./configure it gives me this error.

"configure: error: libnet >=1.1.2.1 not found "

What should I do next?
 
Old 01-04-2011, 11:21 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You need to install libnet version 1.1.2.1 or higher.

Isn't there a binary package of ettercap available? Do you really need to build it from source? For that matter, is there any reason you are running such an old version of RHEL?
 
Old 01-04-2011, 11:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
# yum install ettercap

.. will provide version 0.7.3 from the EPEL repo
https://fedoraproject.org/wiki/EPEL
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse

# yum install libnet-devel : version 1.1.4 ( also EPEL.)

..
 
Old 01-04-2011, 11:37 AM   #4
nomiezvr4
LQ Newbie
 
Registered: Jan 2011
Posts: 26

Original Poster
Rep: Reputation: 0
The RHEL was already installed so Ive been working with it.
Ok so I ran./configure for libnet 1.1.2.1 tar.gz and it worked fine. Then I went to Ettercap directory and ran ./configure and it gave me the same error.
Should I be running libnet differently?

thanks


Is it a major benefit if i upgrade to a new version?
 
Old 01-04-2011, 11:50 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Any reason not to use the EL4 packages from the epel repo ?
http://download.fedora.redhat.com/pu...r_l.group.html

But if you insist in a manual install, it is ..
cd libnet-1.1.2.1/ && ./configure --prefix=/usr/ && make
su
make install

..
 
Old 01-04-2011, 12:35 PM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by nomiezvr4 View Post
Ok so I ran./configure for libnet 1.1.2.1 tar.gz and it worked fine. Then I went to Ettercap directory and ran ./configure and it gave me the same error.

Just running the configure script for libnet doesn't do anything. To satisfy the ettercap dependency, you need to build and install the library, then re-run the ettercap configuration. At that point it is possible (maybe even likely) that ettercap will complain about another library it is missing, and the process starts over and continues until ettercap finally builds properly.

But as already said a few times now, you shouldn't be building and installing source packages when your distribution already offers them in binary form through a package repository. Building and installing from source is really just a last resort, when there is no other way to get the software installed. Using the distribution's packages is always a better option, as it makes future upgrading and removing of the packages infinitely easier and more reliable.
 
Old 01-04-2011, 12:45 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You are always better off using the rpms vs compiling.

Now when you HAVE to compile (vmware usually) you need the runtime libaries(to run the programs) AND the -devel version (libnet-devel in this case) to compile against. Epel and rpmforge both provide the packages. IF/when you move to RHEL/Centos 5 (or greater) elrepo is another excellent repo.
 
Old 01-04-2011, 02:55 PM   #8
nomiezvr4
LQ Newbie
 
Registered: Jan 2011
Posts: 26

Original Poster
Rep: Reputation: 0
First of all, thanks for all the support!

Knudfl- I will go ahead and install the package this evening!
Will keep you guys updated
 
Old 01-04-2011, 09:29 PM   #9
nomiezvr4
LQ Newbie
 
Registered: Jan 2011
Posts: 26

Original Poster
Rep: Reputation: 0
After an hour of playign with the version of red hat that came with the computer I decided to install a fresh version of linux. I just could not connect to the internet and run su -c 'rpm -Uvh http://download.fedora.redhat.com/pu....rpm'every time I tried I got an error.

I decided to go and install WUBI-ubuntu on the pc. Well the installation was a breeze. So I thought it was a success. WRONG.
When I reboot its suppose to ask me to either run ubuntu or windows and I just do not get that prompt at all. It skips it and goes straight into windows.
Does anyone know what settings I have to change?
Is there a better way to have both windows and linux? http://www.linux.com/archive/feature/114157??

Last edited by nomiezvr4; 01-04-2011 at 09:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2 boot error on Red Hat Enterprise Linux 5.3 desktop client vipul_patel Linux - General 1 12-18-2009 04:56 PM
Error & warnings in installing Libnet-1.1.x & Libnet-config not found error. sakthivelbatusai Linux - Networking 0 03-15-2007 12:14 AM
No hard drives found ERROR MESSAGE on Red Hat Enterprise Linux AS installation Zayar Win Linux - Hardware 5 12-07-2006 08:59 AM
Trying to install ettercap: error with libnet:wrong version?? Baix Linux - Newbie 1 02-22-2005 05:34 PM
./configure error on Red Hat 9 blakezinho Linux - Newbie 2 03-28-2004 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration