To: beginners@perl.org From: andy <[EMAIL PROTECTED]> Subject: Manually installing perl modules on windows Date sent: Fri, 23 Nov 2007 07:26:35 -0800 (PST) Organization: http://groups.google.com
> Hi, > > I am trying to talk to a programmable oven over serial port for heat > testing of a PCB. > > I am using ActiveState perl v5.8.8 on Windows XP. I am trying to > install the Win32:SerialPort package using Activestates Perl Package > Manager (PPM). Unfortunatley, I cant see it anywhere,in the package > repository. I checked active states website and sure enough they say > its not available :-( > > I have used packages before on a unix system and installed them > manually using make, make test, make install. But i dont have a make > utility on my windows system, is there an easy way to install modules > that PPM doesnt have on a windows system? ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe Though that will only help if the module in question doesn't contain any XS part (C code that needs to be compiled). For that you'd need a C compiler. There are more repositories than the ActiveState one, you may want to add them to PPM and search again: c:\> ppm ppm> search PPM::Repositories ppm> install 1 ppm> quit c:\> perl -MPPM::UI -MPPM::Repositories -e "$v = join('.',unpack('CC',$^V));for(keys %Repositories){ $rep = $Repositories{$_}; next unless $rep->{Active} and grep { $_ == $v } @{$rep->{PerlV}}; print qq{$_ => $rep->{location}\n}; PPM::UI::repository_add($_, $rep->{location},'','')}" c:\> ppm ppm> search Win32::SerialPort HTH, Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/