Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

The error message at the end:

Error: Unable to locate installed Perl libraries or Perl source code. It is recommended that you install perl in a standard location before building extensions. Some precompiled versions of perl do not contain these header files, so you cannot build extensions. In such a case, please build and install your perl from a fresh perl distribution. It usually solves this kind of problem. (You get this message, because MakeMaker could not find "\public\ratlp +erl\5.6.1_ AS629\lib\perl5\5.6.1\MSWin32-x86-multi-thread\CORE\perl.h")
looks to be most serious - it means you can't build extensions in the standard way because of some missing header files. IBM recommends that you install missing modules manually, which is possible, but as was mentioned in earlier responses, you have to take care where to put the files. In the following, let $RATIONAL stand for C:\Program Files\Rational\Common\lib\perl5\site_perl\5.6.1.

What you could do is grab the sources of the binary ppm packages, extract the files, and then copy them into locations that your Perl expects them. For example, for XML-LibXML-Common, which is a prerequisite, download XML-LibXML-Common.tar.gz from http://theoryx5.uwinnipeg.ca/ppmpackages/x86/. When unpacked, the directory structure contains

blib/lib/XML/LibXML/.exists blib/lib/XML/LibXML/Common.pm blib/lib/XML/LibXML blib/arch/auto/XML/LibXML/Common/.exists blib/arch/auto/XML/LibXML/Common/Common.bs blib/arch/auto/XML/LibXML/Common/Common.dll blib/arch/auto/XML/LibXML/Common/Common.exp blib/arch/auto/XML/LibXML/Common/Common.lib blib/arch/auto/XML/LibXML/Common/Common.pdb
Copy the files under blib/lib/ to $RATIONAL, taking care to preserve the subdirectory structure (for example, blib/lib/XML/LibXML/Common.pm would go to $RATIONAL\XML\LibXML\Common.pm). Then copy the files under blib/arch/auto/ to $RATIONAL\MSWin32-x86-multi-thread\auto\, again taking care to preserve the underlying subdirectory structure. Finally, you'll need the libxml2.dll external library; this can be obtained from http://theoryx5.uwinnipeg.ca/ppmpackages/scripts/, and should be placed somewhere under your PATH environment variable (type set PATH at a command prompt to see what your PATH is). You'll then have to repeat this for XML-LibXML, XML-NamespaceSupport, and XML-SAX.

In reply to Re^3: Help required installing LibXML Parser by randyk
in thread Help required installing LibXML Parser by KarthikK

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 musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found