At 12:03 PM -0700 10/20/03, Stas Bekman wrote:
Stas Bekman wrote: [...]
No ... I haven't gotten that far ... I'm just trying to run a script from the command line. The following works just fine on my Linux box ...
Hehe, that's your problem. Apache:: modules don't work from the command line, since the modperl/apache runtime environment is not loaded. perhaps Apache::Scoreboard should be patched to require 'mod_perl', I'll look into adding it.
Try with this patch:
<snip>
It still gives me the undefined symbols when running from the command line.
Right, please disregard my patch then. For some reason:
% perl -Mmod_perl -le1
doesn't fail ;) I thought it will ;)
The patch will still be needed to prevent from people trying to run it from mod_perl 2.0.
However, I can start my server with Apache::Scoreboard installed and if I modify the little script on my Linux box to fetch the scoreboard image from my MacOSX machine, I get ...
-1608318976 : _ 167772160 7214202.880000 GET /admin/phpMyAdmin-2.5.4-rc1/left.php?lang=en-iso-8859-1&ser
-1574764544 : K 50331648 671088.640000 GET /icons/blank.gif HTTP/1.1
-1557987328 : K 33554432 0.000000 GET /icons/back.gif HTTP/1.1
-1541210112 : _ 100663296 5536481.280000 GET /scoreboard HTTP/1.1
-1524432896 : K 50331648 1342177.280000 GET /icons/folder.gif HTTP/1.1
-1507655680 : W 33554432 4697620.480000 GET /scoreboard HTTP/1.1
-1490878464 : _ 33554432 167772.160000 GET /admin/phpMyAdmin-2.5.4-rc1/images/pma_logo.png HTTP/1.1
... which is a response, but it still looks like it's got issues. When I fetch from the Linux box it looks like below. Guess the image isn't compatible across platforms or something?
13802 : _ 0 0.000000 13803 : _ 0 0.000000 13804 : _ 44 0.230000 GET /matpower/ HTTP/1.1 13805 : _ 132 1.150000 GET /robots.txt HTTP/1.1 13806 : _ 129 2.410000 GET /powerweb/papers/HICSS97.pdf HTTP/1.1 19153 : _ 74 2.830000 GET /powerweb/ HTTP/1.1 19154 : _ 72 0.340000 GET /tcc/pix/TCCalculator.gif HTTP/1.0 19155 : _ 107 0.750000 GET /default.css HTTP/1.1 19184 : _ 63 2.610000 GET /matpower HTTP/1.0 19474 : W 113 0.440000 GET /scoreboard HTTP/1.1 19544 : . 0 0.000000 19545 : . 0 0.000000 19546 : . 0 0.000000
apxs/send.c converts the scoreboard image into the network order bytes before sending it out. I'd suggest to look at that code in order to debug it.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com