Hello,
So, I'm trying to use XML::LibXSLT and I get
~/perl
J-PC:J >./hello.pl
Can't locate XML/LibXSLT.pm in @INC (@INC contains:...<snip>
I'm running cygwin; I've downloaded and installed LibXSLT using cygwin's installer.
I tried the cygwin install method (of libxslt) again but, as might be expected, it said, nothing to install.
Seeing people talk about cpan, I tried
~/perl
J-PC:J >cpan App::cpanminus
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters. Configuration will be written to
<</home/J/.cpan/CPAN/MyConfig.pm>>
CPAN.pm requires configuration, but most of it can be done automatical
+ly.
If you answer 'no' below, you will enter an interactive dialog for eac
+h
configuration option instead.
Would you like to configure as much as possible automatically? [yes] y
+es
at which I got pages and pages of
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
Press SPACE and ENTER to disable unzip
How can I install LibXSLT? I thought with cygwin, all you had to do was run the cygwin setup utility every time you needed a module, and it would work out dependencies and fetch and install the needed modules for you...otherwise, what is it fetching and installing? It's definitely downloading and installing, but what and where?
Thanks,
J
Update:
I'm wondering if I am misunderstanding what cygwin is downloading. After all, cygwin doesn't know that I want perl modules. Is there a difference between cygwin's libxslt and the libxslt perl module?
Even so, I still have the issue that I'm not able to use cpan in cygwin, for some reason.
Update2:I see I can download XML-LibXSLT-1.57.tar.gz *manually* from http://search.cpan.org/~msergeant/XML-LibXSLT-1.57/LibXSLT.pm. Is this the way to go? If so, what do I do with it? It unzips to a tarball, which "untars" to a load of files...am I supposed to compile this stuff?
Thanks,
J
-
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.