Turn your Mobile Apps into m-commerce apps – Learn More!

You're Browsing As A Guest! Register Now...
Become an Expert!

Join 416,736 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,927 people online right now.Registration is fast and FREE... Join Now!



Perl Cpan Doesnt work Rate Topic: -----

#1 RobinV  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 1
  • View blog
  • Posts: 44
  • Joined: 21-May 08


Dream Kudos: 0

Share |

Perl Cpan Doesnt work

Post icon  Posted 18 January 2009 - 07:06 AM

Hello all,

I am quite new to perl. But I want to learn it since it will take so much work and time of my shoulders.

But I've already got a problem.
Any module I want to get for my perl progs doesn't work.. They all return Install: No

This is what happened with the Win32::SystemInfo module for example:
<Fetch goes before this>
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::SystemInfo
'nmake' is not recognized as an internal or external command,
operable program or batch file.
  CJOHNSTON/Win32-SystemInfo-0.11.zip
  nmake -- NOT OK   <-- Bet that that is the error..
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 CJOHNSTON/Win32-SystemInfo-0.11.zip		  : make NO



This is also with Net::Pcap.
I use ActivePerl. and I did do some googling but it doesn't make to much sense to me.
I have bought the Camel book so I hope that will come soon.

Thanks.

Cheers,
Robin
Was This Post Helpful? 0
  • +
  • -


#2 KevinADC  Icon User is offline

  • D.I.C Regular
  • Icon

Reputation: 27
  • View blog
  • Posts: 401
  • Joined: 23-January 07


Dream Kudos: 50

Re: Perl Cpan Doesnt work

Posted 18 January 2009 - 09:55 AM

Use the PPM application that comes with activeperl to install modules. Or delete/uninstall activeperl and install strawberryperl (www.strawberryperl.com) in which case you can use the CPAN module/shell to install modules from CPAN.

Open the activeperl documentation and read the PPM instuctions, its pretty easy to use. Not all CPAN modules are available via PPM but many are.
Was This Post Helpful? 1
  • +
  • -

#3 RobinV  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 1
  • View blog
  • Posts: 44
  • Joined: 21-May 08


Dream Kudos: 0

Re: Perl Cpan Doesnt work

Posted 18 January 2009 - 12:23 PM

heh, great that worked.
For most modules.

But what about net::pcap::easy? or net::pcap.
Is that not supported? Great tool though. But I'd love it if I can use (win)pcap aswell since then I can quickly script the sniffers I need.

Thanks already
Cheers,
Robin
Was This Post Helpful? 0
  • +
  • -

#4 KevinADC  Icon User is offline

  • D.I.C Regular
  • Icon

Reputation: 27
  • View blog
  • Posts: 401
  • Joined: 23-January 07


Dream Kudos: 50

Re: Perl Cpan Doesnt work

Posted 18 January 2009 - 10:59 PM

If you use the GUI interface to PPM there is some extra repositories you can add easily. Some other repository might have a module you are looking for. But as I said, not all modules have been ported to PPM usage and I don't know about the ones you mentioned.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users