Lab::Measurement::Installation - Installation guide for Lab::Measurement
Since Lab::Measurement does not contain any device driver code itself, its installation is pretty straightforward. However, before you can actually use it, you will have to install a driver binding back-end, such as Lab::VISA or Linux-GPIB, plus its dependencies. Please see the documentation of these packages for more details.
Install Perl.
Tested with ActivePerl from http://www.activestate.com/Products/activeperl/index.mhtml
Make sure to include Perl Package Manager.
Make sure to activate the check box to include perl directory in PATH variable.
Install gnuplot (not mandatory)
Download from http://sourceforge.net/project/showfiles.php?group_id=2055 (gp425win32.zip)
Extract and put it somewhere
Add directory containing pgnuplot.exe to path: My Computer => Properties => Advanced => Environment Variables
pgnuplot.exe
Install the dependencies of our perl modules. Depending on how familiar you are with the perl infrastructure, the easiest might be to use PPM, the Perl Package Manager included with ActivePerl.
Lab::Measurement needs
XML::Generator (PPM would write it as XML-Generator) XML::DOM XML::Twig YAML
Install Lab::Measurement
Unzip/copy sources
Run the following commands in the source directory
perl Build.PL perl Build perl Build install
Have fun!
Strawberry Perl is a Perl distribution for Windows that most closely mimics a Perl installation under Linux. It comes with gcc compiler, dmake and the other relevant tools included.
Lab::Measurement should in principle install out of the box with just the command
cpan Lab::Measurement
executed on the commandline.
As a Linux user you will probably be able to figure out most things yourself.
Install the dependencies
Best you'll use your distribution package management. You need
XML::Generator XML::DOM XML::Twig YAML ... and GnuPlot
(c) 2010, 2011 Daniel Schröer, Andreas K. Hüttel, Daniela Taubert, and others. 2012 Andreas K. Hüttel
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.