LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2005, 01:13 AM   #1
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Perl Net::Pcap install hang at loop test


Hello,

I have tracked down a problem in my perl script to the module Net::Pcap I believe and the loop mod.

So using perl -MPCAN -e shell I tried to install Net:Pcap to see what happens.

After the make, it runs a check and produces the following out put:

t/01-modules OK
t/02-lookup OK
t/03-openlive OK
t/04-loop .....

That is where it hangs idefinitly ... has any one seen this before ?

How do I trouble shoot or resolve this issue ?

I am running slackware 10.1 with kernel 2.4.26 ?

Thanks

Michael
 
Old 08-17-2005, 10:39 AM   #2
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 30
Oh ... wonderful ....

So I am looking through the .cpan/build/Net-Pcap.../ and under there is a t/ directory. Which holds all the test that are run and a README file. The readme file stats that the loop test wait for 10 packets to be received on the network, if there is no network traffic the test will block.

It would be nice if the test printed this to screen .... so you know why it seems to be hanging.

Michael
 
  


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
How to break if loop in Perl? Barca Programming 9 08-03-2011 01:15 PM
Need help with perl loop! morbid_ru Programming 1 02-24-2004 01:14 PM
Need help with perl loop! morbid_ru Programming 2 02-17-2004 05:15 AM
libpcap.so.0 is needed by perl-Net-Pcap-0.04-5 r4736 Linux - Software 8 10-18-2003 03:04 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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