Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

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


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 ?


Old 08-17-2005, 11:39 AM   #2
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.



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

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration