Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Help Installing Win32:SerialPort - ReVisited

103 views
Skip to first unread message

CM Analyst

unread,
Jul 19, 2007, 1:43:45 PM7/19/07
to begi...@perl.org
Ok, I will sound like an idiot and at the moment, I
feel like...

Previously I was able to install and use the
Win32:SerialPort module in my script on a WinXP PC.

My requirement is now to run script on a Windows 2000
Workstation, so I downloaded and installed Perl 5 and
the said module using "ppm.bat install Win32-API) (no
errors) and ran my script.

Now I am getting this error message:

C:\temp>perl serial1.pl
Can't locate Win32API/CommPort.pm in @INC (@INC
contains: C:/Perl/site/lib C:/Perl/lib .) at
C:/Perl/site/lib/Win32/SerialPort.pm line 4.
BEGIN failed--compilation aborted at
C:/Perl/site/lib/Win32/SerialPort.pm line 4
.
Compilation failed in require at serial1.pl line 11.
BEGIN failed--compilation aborted at serial1.pl line
11.

I manually copied the supposedly missing module to the
paths indicated in the @INC location but still cannot
get the script to run.

Can anyone please advise me. TIA.

Amad.


____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222

Chas Owens

unread,
Jul 19, 2007, 2:03:52 PM7/19/07
to CM Analyst, begi...@perl.org

It sounds like your dependencies were not correctly installed. Try saying

ppm.bat install Win32API::CommPort
ppm.bat install Win32::SerialPort

And see if you still get the error after that.

0 new messages