Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^7: Net::Pcap installation help (and not with the library)

by VinsWorldcom (Priest)
on Jan 10, 2013 at 15:43 UTC ( #1012689=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Net::Pcap installation help (and not with the library)
in thread Net::Pcap installation help (and not with the library)

What are the results of:

perl -v perl -V:cc perl -V:make path

on each machine?

REMEMBER to post your reply output in code tags!

<code>

YOUR OUTPUT GOES HERE

</code>


Comment on Re^7: Net::Pcap installation help (and not with the library)
Download Code
Re^8: Net::Pcap installation help (and not with the library)
by binarygrrl (Novice) on Jan 10, 2013 at 16:23 UTC

    ON LAPTOP

    C:\Perl\Net-Pcap-0.16>perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x +86-multi-t hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1601 [296175] provided by ActiveState http://www.ActiveSt +ate.com Built Aug 30 2012 20:08:55 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\Perl\Net-Pcap-0.16>perl -V:cc Set up gcc environment - gcc.exe (gcc-4.6.3 release with patches [buil +d 20121012 by perlmingw.sf.net]) 4.6.3 cc='C:\STRAWB~1\c\bin\gcc.exe'; C:\Perl\Net-Pcap-0.16>perl -V:make Set up gcc environment - gcc.exe (gcc-4.6.3 release with patches [buil +d 20121012 by perlmingw.sf.net]) 4.6.3 make='C:\STRAWB~1\c\bin\dmake.exe'; C:\Perl\Net-Pcap-0.16>path PATH=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WI +NDOWS\Syst em32\Wbem;C:\Program Files\Windows Imaging\;C:\Program Files\Intel\WiF +i\bin\;C:\ Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\IVI +Foundation \VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\WinNT\Bin;C:\Pro +gram Files \IVI Foundation\IVI\bin;"C:\Program Files\Common Files\EMC";C:\PROGRA~ +1\COMMON~1 \EMC;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\per +l\bin

    ON DESKTOP

    C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>perl -v This is perl 5, version 16, subversion 2 (v5.16.2) built for MSWin32-x +86-multi-thread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>perl -V:cc cc='gcc'; C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>perl -V:make make='dmake'; C:\Perl\Everything.PERL\Packages\Net-Pcap-0.16>path PATH=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WI +NDOWS\System32\Wbem;C:\Program Files\Window s Imaging\;C:\Program Files\IVI Foundation\VISA\WinNT\Bin\;C:\Program +Files\IVI Foundation\VISA\WinNT\Bin;C:\Prog ram Files\IVI Foundation\IVI\bin;C:\strawberry\c\bin;C:\strawberry\per +l\site\bin;C:\strawberry\perl\bin;C:\Progra m Files\TortoiseGit\bin

      What's in C:\Perl and subdirectories that show up in your path.? Do you have Activestate ActivePerl installed on both these machines also?

      When I run the commands, I get:

      vincen_m@C:\Users\vincen_m> perl -V:make make='dmake'; vincen_m@C:\Users\vincen_m> perl -V:cc cc='gcc';

      The "Set up gcc environment - gcc.exe..." stuff you get on the laptop seem indicative of a Perl installation (non-Strawberry) finding the gcc compiler in your path. I've seen this before when I used to use MinGW installed separately and ActivePerl. Strawberry runs much smoother with the "built-in" C (gcc / dmake) in the distribution.

      UPDATE: In fact, you are running ActivePerl, not Strawberry on the Laptop at least as indicated by the line "Binary build 1601 296175 provided by ActiveState http://www.ActiveState.com".

      Start with a clean slate. Uninstall all versions of Perl on one system. Start with a fresh install of Strawberry 5.16 for your architecture. Try the process I recommended in Re: Net::Pcap installation help (and not with the library).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-07-14 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls