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