good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: Unable to install Lab::VISA moduleby syphilis (Archbishop) |
on Dec 04, 2014 at 23:05 UTC ( [id://1109299]=note: print w/replies, xml ) | Need Help?? |
Yeah I have installed Strawberry perl and trying to install the Lab::VISA module from Windows command prompt 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
In Section
Seekers of Perl Wisdom
|
|