Hey Monks,
I’m trying to create a wiki system with Apache2 ASP and PurpleWiki. It’s currently working on one server (older version of Cent OS) I’m trying to get it up on a newer fedora 7 system but I’m getting this error from the Apache started starup.pl script:
[Wed Aug 22 19:19:23 2007] [error] Undefined subroutine &XSLoader::loa +d called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR/XSLoa +der.pm line 31. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Apache/compat.pm line 50. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Ap +ache/compat.pm line 50. Compilation failed in require at /etc/httpd/conf/startup.pl line 20. BEGIN failed--compilation aborted at /etc/httpd/conf/startup.pl line 2 +0. Compilation failed in require at (eval 2) line 1. [Wed Aug 22 19:19:23 2007] [error] Can't load Perl file: /etc/httpd/conf/startup.pl for server c-71-195-247-134.hsd1.ut.comcast +.net:0, exiting...
I don’t understand what could be causing this.
The only thing in XSLoader.pm is the code below. Why does this sub load appear to call itself with XSLoader::Load, Yet the error claims it is undefined on this statement line???
package APR::XSLoader; use strict; use warnings FATAL => 'all'; use XSLoader (); BEGIN { unless (defined &BOOTSTRAP) { *BOOTSTRAP = sub () { 0 }; } } sub load { return unless BOOTSTRAP; XSLoader::load(@_); # this is line 31 where the undefin +ed occurs. } 1; __END__

In reply to XSLoad::load calls itself? by brent.allsop

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



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.