• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

Trouble installing module (Device::Modem) for ActiveState Perl on Windows.

I'm pretty new to Perl, but loving it for the most part.  Right now, however, I'm beating my head against the wall trying to install a module (Device::Modem) to work on my version of ActiveState Perl in Windows.   I installed Win32::SerialPort without worries, and I ran a test file to ensure I could connect to a Wavecom GSM modem.  All is good on that front.  

When I try to Makefile.pl for Device::Modem, however, I get the error message that:
"Warning:  the following files are missing in your kit: Modem.pm, Please inform the author.  Could not open 'Modem.pm' : No such file or directory at C:/Perl/lib/ExtUtils/MM_Unix.pm"

Now, maybe this won't work on Windows since it references a MM_Unix.pm file, but at the same time the only dependency of the module is Win32::SerialPort which I installed without worry.  I cannot find a modem.pm file anywhere in the directory structure of the distribution I downloaded from CPAN.

Anyway, any help much appreciated.  Alternatively any assistance on how to send and receive AT Commands from a modem (COM port) on a Windows box with Perl would be muy helpful.  Thanks in advance for the help.
  • 2
1 Solution
Hi !

Do you have installed Device::SerialPort ?

Best Regards
Hi !

I a find the Modem.pm in the root of the folder Device-Modem module but the module didn't want install correctly.

Copy the Modem.pm in C:\Perl\site\lib\Device.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now