Note that there are some explanatory texts on larger screens.

plurals
  1. POPerl module broke my windows xampp installation
    primarykey
    data
    text
    <p>PROBLEM: In the process of trying to install gitstat on a Windows7 machine I broke my xampp Apache installation. Now I can't get gitstat or apache to work. </p> <p>APACHE ERROR: </p> <pre><code>[error] Can't load Perl file: C:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...` </code></pre> <p>Other people have reported this issue being caused by the PERL5LIB environment variable, but that variable does not exist on my machine. </p> <p>WHAT I DID / GITSTAT ERROR:</p> <p>I needed the SOAP::Lite module installed so I followed the windows guide here: <a href="http://soaplite.com/install.html" rel="nofollow">http://soaplite.com/install.html</a></p> <p>As far as I could tell I installed the module successfully, console output below</p> <pre><code>cpan[1]&gt; install SOAP::Lite CPAN: Storable loaded ok (v2.21) Going to read '\xampp\perl\bin\.cpan\Metadata' Database was generated on Wed, 27 Jun 2012 02:47:03 GMT SOAP::Lite is up to date (0.714). </code></pre> <p>I saw a SOAP directory in perl/site/lib which (to me) means that the module should be available. When I look in my perllocal.pod file SOAP:Lite is in there. </p> <p>Part of the gitstat installation instructions say to copy the Lite.pm file from perl/site/lib/SOAP into gitstat\gstat_pl\lib </p> <p>However, when I try to perform step nine of gitstat installation (perl gitstat.pl HEAD) I get the following:</p> <pre><code>C:\xampp\htdocs\gitstat\gstat_pl&gt;perl gitstat.pl HEAD Supported versions: BEGIN failed--compilation aborted at C:/xampp/perl/site/lib/SOAP/Lite.pm line 34 86. Compilation failed in require at C:/xampp/perl/site/lib/SOAP/Constants.pm line 1 3. BEGIN failed--compilation aborted at C:/xampp/perl/site/lib/SOAP/Constants.pm li ne 13. Compilation failed in require at lib/Lite.pm line 3444. BEGIN failed--compilation aborted at lib/Lite.pm line 3444. Compilation failed in require at gitstat.pl line 30. </code></pre> <p>If I don't copy the file from perl/site/lib/SOAP then I get </p> <pre><code>C:\xampp\htdocs\gitstat\gstat_pl&gt;perl gitstat.pl HEAD Can't locate lib/Lite.pm in @INC (@INC contains: C:/xampp/perl/lib C:/xampp/perl /site/lib .) at gitstat.pl line 30. </code></pre> <p>I don't understand why CPAN didn't install the Lite.pm module in the @INC path or why the compilation might fail when the module is available, or most importantly why my Apache install is broken. Also I'm very new to Perl and CPAN and my understanding of Apache is primitive so simpler explanations would be greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload