develooper Front page | perl.beginners | Postings from February 2002

Installing Win32::SerialPort

Thread Next
Lorne Easton
February 11, 2002 15:21
Installing Win32::SerialPort
Message ID:
I have Activestate Perl installed.

C:\code\perl>perl -v

This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Binary build 630 provided by ActiveState Tool Corp.
Built 20:29:41 Oct 31 2001

I am using a cpan distro of  Win32::SerialPort (0.19). The install goes ok
and installs the appropriate files in the appropriate directories. I am
getting the following error though

C:\code\perl>echo use Win32::SerialPort; >>

Can't locate Win32/ in @INC (@INC contains: c:/Perl/lib
c:/Perl/site/lib .
) at c:/Perl/site/lib/Win32API/ line 5.
BEGIN failed--compilation aborted at c:/Perl/site/lib/Win32API/
Compilation failed in require at c:/Perl/site/lib/Win32/ line
BEGIN failed--compilation aborted at c:/Perl/site/lib/Win32/
line 4
Compilation failed in require at line 1.
BEGIN failed--compilation aborted at line 1.

All the files are in the right spot and the
module in question appropriately refers to Win32API
as Win32API and not Win32::API as the error
would suggest (I think) . I have tried it on another
pc using a fresh install of ASPerl, but to no avail.

There is no PPM for it either..

Any ideas, or has anyone come across this before..?

Thanks in advance for any advice you can give..


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About