in reply to Re^2: Unable to install Lab::VISA module
in thread Unable to install Lab::VISA module
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unable to install Lab::VISA module
by syphilis (Archbishop) on Dec 04, 2014 at 23:05 UTC | |
But there's a "gcc-4" (in your second post) and, on Windows at least, Cygwin is the only system that has a compiler named "gcc-4" (AFAIK). Also, when you ran 'make', there were no complaints about incorrect syntax in the Makefile - which suggests to me that the Makefile was written for the 'make' utility - which means you ran a Cygwin perl as that's the only perl on Windows that writes Makefiles for 'make' by default. (Other Windows perls write Makefiles for either 'nmake' or 'dmake' by default.) It's most unusual on Windows to have a 'make' utility at your disposal unless Cygwin is in your path. If your perl is Strawbeery Perl you need to run 'dmake'. Best thing would be to run perl -V and post the output so that we can see exactly which perl is being invoked. And also provide the output for /usr/bin/gcc -v (and any other CC you might have specified). Lastly, note that if you are using a Cygwin perl, then that Windows library for Visa will be of no use - you'll have to use a Visa library built for Cygwin. There may be one you can install using setup.exe. However, I now gather that your intention is to use Strawberry Perl. In order to do that, make sure you're running in a native Windows (cmd.exe) shell, not a Cygwin shell. Cheers, Rob | [reply] [d/l] [select] |
by savi (Novice) on Dec 04, 2014 at 23:20 UTC | |
| [reply] [d/l] |
by syphilis (Archbishop) on Dec 05, 2014 at 01:15 UTC | |
The system cannot find the path specified. But in your first post you have: 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 | [reply] [d/l] [select] |
by savi (Novice) on Dec 05, 2014 at 18:24 UTC | |