Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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

In reply to Re: perl v5.28.1 install GPIB module fail by syphilis
in thread perl v5.28.1 install GPIB module fail by jianfeng

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2024-04-19 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found