Project

General

Profile

Perl » History » Version 11

Greg Mathis, 12/06/2017 02:55 PM

1 1 Greg Mathis
h1. Perl
2 1 Greg Mathis
3 11 Greg Mathis
Last edited by {{lastupdated_by}} 
4 11 Greg Mathis
Last edited by {{lastupdated_at}} 
5 11 Greg Mathis
6 1 Greg Mathis
Go to ActiveState.com to download 32 bit community edition of Perl for Windows
7 1 Greg Mathis
MUST USE 32 BIT VERSION!!!!
8 1 Greg Mathis
See below for notes on problems with 64 bit version.
9 1 Greg Mathis
Installed ActivePerl-5.22.1.2201-MSWin32-x86-64int-299574.msi
10 1 Greg Mathis
Use all default options
11 1 Greg Mathis
12 1 Greg Mathis
Some additional libraries (modules) are needed.
13 1 Greg Mathis
After Perl installed, run Perl Package Manager (PPM) in a DOS command shell, run “ppm”
14 1 Greg Mathis
select View All Packages
15 1 Greg Mathis
16 1 Greg Mathis
Highlight Win32-SerialPort version 0.22 (to use serial port features in serialPortLib.pm)
17 1 Greg Mathis
Go to Action menu, pull down to select it
18 1 Greg Mathis
19 1 Greg Mathis
Highlight IO-Tee (to use the script logging features in commonLib.pm)
20 1 Greg Mathis
Go to Action menu, pull down to select it
21 1 Greg Mathis
22 1 Greg Mathis
Highlight Email-MIME (to allow script to send emails)
23 1 Greg Mathis
Go to Action menu, pull down to select it
24 1 Greg Mathis
25 1 Greg Mathis
Highlight Email-Sender (to allow script to send emails)
26 1 Greg Mathis
Go to Action menu, pull down to select it
27 1 Greg Mathis
28 10 Anonymous
Highlight Authen-SASL (to allow script to send emails)
29 1 Greg Mathis
Go to Action menu, pull down to select it
30 1 Greg Mathis
31 1 Greg Mathis
Go to File and select Run Marked Actions to install the 5 packages
32 1 Greg Mathis
Exit PPM
33 1 Greg Mathis
34 5 Greg Mathis
Created emirs.egse@gmail.com account with password "Emirs2468" to use to send emails from Perl scripts (using our emailLib.pm) Note the gmail security settings that have to be changed, as shown below:
35 6 Greg Mathis
36 4 Greg Mathis
!{width:1000px}appPermissions.png!
37 7 Greg Mathis
38 7 Greg Mathis
39 8 Greg Mathis
*Problems with 64 bit Perl:*
40 7 Greg Mathis
DO NOT INSTALL 64 bit version of Active Perl such as:
41 7 Greg Mathis
ActivePerl-5.22.3.2204-MSWin32-x64-401627.exe
42 7 Greg Mathis
When you run PPM, Win32-SerialPort is no longer an option.
43 7 Greg Mathis
I did go to http://search.cpan.org/~bbirth/Win32-SerialPort-0.22/lib/Win32/SerialPort.pm
44 7 Greg Mathis
On right side of page, download Win32-SerialPort-0.22.tar.gz
45 7 Greg Mathis
Go to http://www.7-zip.org/ and download 7-Zip to gunzip and untar files
46 7 Greg Mathis
Copy Win32-SerialPort-0.22\lib\Win32 to C:\Perl64\site\lib
47 7 Greg Mathis
Copy Win32-SerialPort-0.22\lib\Win32API to C:\Perl64\site\lib
48 7 Greg Mathis
But this didn’t work, neither did trying to use the Makefile and make_install, which appeared to install OK,
49 7 Greg Mathis
but when running comPortTest.pl, it didn’t work (but didn’t show any errors either …)
50 9 Greg Mathis
Bottom line: No reason not to use 32 bit version of Perl, so keep using it.
Add picture from clipboard (Maximum size: 97.7 MB)