thpfft has asked for the wisdom of the Perl Monks concerning the following question:

I must be missing something really obvious with Apache::Scoreboard, because I can't begin to make it work. The documentation for Apache::Watchdog::RunAway suggests that someone must have been able to install it at some point, and even if that person was Stas I would have thought I was in with a chance. But no: not a flicker.

On os x it won't compile. Fair enough: I'm still using the stock apple mod_perl on that machine, and I'm not surprised to see symbol trouble. On both linux boxes I've tried. it appears to install perfectly (manually, since there is a more recent version 2 that is for mod_perl 2 only) but following the instructions and including this in a virtualhost:

<Location "/scoreboard"> SetHandler perl-script PerlHandler Apache::Scoreboard::send </Location>

Fails immediately with the sensible observation that there is no Apache/Scoreboard/send.pm in @INC. There isn't, and there's nothing to suggest that there ever was, except for that bit of cargo code above.

We know what that terrible void means: it's in C somewhere. So i'm stumped. Could someone who speaks XS please let me know what stupid thing I am doing wrong? Thank you very much.

ps. thanks, PodMaster. I knew it would be dumb, but not that dumb :(

Replies are listed 'Best First'.
Re: Apache::Scoreboard (v0.10)
by PodMaster (Abbot) on Sep 19, 2004 at 22:53 UTC
    Looking at the docs here, the example includes a tad more than what you've shown (namely a statement which loads Apache::Scoreboard).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.