Hi
jianfeng,
The first three uninitialized warnings suggest to me that $Config{cc} is unset, which would mean that your perl is not fit for the purpose of building perl extensions, and should be discarded.
Oops ... it's actually $config->{cc}, not $Config{cc} that's uninitialized, and they could be different things ... I haven't checked.
What does the following one-liner report for you:
perl -V:cc
Also, we see, in the output you've provided:
Generating a dmake-style Makefile
Runing
nmake on a Makefile that has been generated for dmake is never going to work.
You should run
dmake instead.
Or, if you really want to use
nmake you could try forcing the build to write a Makefile for
nmake, which you do by starting with:
perl Makefie.PL MAKE=nmake
IMO opinion, the easiest approach for you is to use
Strawberry Perl instead of ActivePerl.
I would recommend
the latest available "Portable" edition - and then use the make utility (gmake) and C compiler (gcc) that have shipped with that Strawberry Perl zip and are ready to use.
DISCLAIMER: I have no idea whether GPIB will install on Strawberry Perl.
GPIB seems to have not been updated since 2002, and there's
an 11-year-old bug report that has not yet received any attention.
Also, the
cpan-testers matrix shows that it fails to build straight out of the box for all of the Windows cpan-testers that tried it out. (But that might simply mean that
c:\pgpib.conf was not found)
Update: A closer look suggests that the immediate problem lies with other missing prerequisite items.
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.