Yeah I have installed Strawberry perl and trying to install the Lab::VISA module from Windows command promptBut 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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.