in reply to Re^5: Unable to install Lab::VISA module
in thread Unable to install Lab::VISA module

C:\Strawberry\cpan\Lab-VISA-3.02>/usr/bin/gcc -v
The system cannot find the path specified.


But in your first post you have:
perl Makefile.PL CC=/usr/bin/gcc
Ok ... the 'perl -V' output that you provided is for Cygwin perl, not Srawberry Perl.
To use Strawberry Perl, you need to either remove Cygwin from the path, or put strawberry at the beginning of the path.

To see what's currently in your path, just enter set PATH at the command prompt.

Once you can get 'perl -V' to output the details for Strawberry Perl you are right to go. Make sure you then use 'dmake', not 'make'.

Cheers,
Rob

Replies are listed 'Best First'.
Re^7: Unable to install Lab::VISA module
by savi (Novice) on Dec 05, 2014 at 18:24 UTC
    Perfect I was able to fix the problem, with chaning the PATH variables. I am so thankful to you Rob. You made my day. :)