#!/usr/bin/perl use strict; use ExtUtils::MakeMaker; # If you have Swig installed, un-comment the next line # to re-create the wrapper code. # If you do so, also un-comment the 'clean' section below # to delete the swig-generated files when doing 'make clean'. # TODO: should just check if swig is in the path # system("swig -perl5 -module Lab::VISA visa.i"); WriteMakefile( # 'clean' => { # FILES => 'VISA.pm visa_wrap.c' # }, # Important: you have to adjust the 'LIBS' and 'INC' paths according t +o your local setup! # The correct values may depend on your exact version of LabView, VISA +, GPIB drivers, # the phase of the moon and the local neutrino density... # First two lines are for Windows, second two lines are for Linux. # TODO: find out how to figure these out automatically. (($^O =~ /MSWin32/) ? ('LIBS' => ['"-lC:\\Program Files\\IVI Foundation\\VIS +A\\WinNT\\lib\\msc\\visa32.lib"'], 'INC' => '"-IC:\\Program Files\\IVI Foundation\\VISA +\\WinNT\\Include"', ) : ('LIBS' => ['-lvisa'], 'INC' => '-I/usr/local/include/', ) ), 'NAME' => 'Lab::VISA', 'VERSION_FROM' => 'VISA.pm', 'OBJECT' => q/$(O_FILES)/, 'META_MERGE' => { resources => { homepage => 'https://www.labmeasurement.de/', bugtracker => 'https://www.labmeasurement.de/bugs/', MailingList => 'lab-measurement-users@mailman.uni-reg +ensburg.de', }, }, 'ABSTRACT_FROM' => 'VISA.pod', 'AUTHOR' => ['Daniel Schröer <schroeer@cpan.org>', 'An +dreas K. Hüttel <mail@akhuettel.de>'], );
In reply to Re^4: Unable to install Lab::VISA module
by savi
in thread Unable to install Lab::VISA module
by savi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |