in reply to installing win32 in perl 5.8.4

Sounds like you didn't do perl Makefile.PL first

Update: The installation instructions for Win32::Serialport say

INSTALLATION: Version 0.18 adds a more Un*x-like installation for ALL Perl versions. perl Makefile.PL [optional PORT] perl test.pl perl install.pl The Makefile.PL creates the test.pl, install.pl, and t/DefaultPort.pm files. With no port specified, COM1 is used.

Replies are listed 'Best First'.
Re^2: installing win32 in perl 5.8.4
by sparkel (Acolyte) on Dec 07, 2004 at 21:32 UTC
    Since I was installing through CPAN, when should I type the command, perl makefile.pl?

    In CPAN, I typed in

    install Win32

    And got the error in the end before it called makefile.pl. Thanks

      Dunno about Win32 (although it's already installed if you're using ActiveState), but it doesn't look like you can't use cpan to install Win32::Serialport, because it has a nonstandard installation instructions. Just do it from the prompt.

        Hi,

        Okay, Let me try the install from the prompt. Where can I find the zip file for Win32::SerialPort?

        Thanks.

Re^2: installing win32 in perl 5.8.4
by sparkel (Acolyte) on Dec 07, 2004 at 22:42 UTC
    Hi

    I tried installing through prompt. The makefile.pl runs fine. But, the test.pl fails all the 7 scripts. I am not sure what is happening, but it seems as if my system got all messed up when I installed the activestate perl 5.8.4 (I had activestate 5.8.0 earlier). What do you guys suggest?

    Thanks.

      Don't mix Cygwin and ActiveState Perl. ActiveState Perl expects nmake.exe by Microsoft, and not the Cygwin make tools. If you installed the Cygwin build of Perl, then make sure that the Cygwin Perl finds the Cygwin make. The Microsoft nmake.exe and the Cygwin make.exe are not compatible, and each Perl build creates a Makefile specificially tailored to the expected version of the make tool.

        So how do I make sure that Cygwin perl finds the cygwin make? Thanks