Home > Archive > PERL Beginners > July 2007 > Need Help Installing Win32:SerialPort - ReVisited
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Need Help Installing Win32:SerialPort - ReVisited
|
|
| CM Analyst 2007-07-19, 6:59 pm |
| 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 2007-07-19, 6:59 pm |
| On 7/19/07, CM Analyst <cmanalyst@yahoo.com> wrote:
> 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.
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.
|
|
|
|
|