You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/11/09 14:30:36 UTC

Re: Compiling Apache-Scoreboard-2.01

Maxim Nechaev wrote:
> I have a problem to make Apache-Scoreboard-2.01 with error message:
> 
> Error: 'APR::OS::Thread' not in typemap in Scoreboard.xs, line 624
> Please specify prototyping behavior for Scoreboard.xs (see perlxs manual)
> make: *** [Scoreboard.c] Error 1
> 
> Software:
> slackware-8.0
> apache-2.0.52
> mod_perl-1.99_17

Yup, it's outdated. I'll fix and upload a new release a bit later.


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Compiling Apache-Scoreboard-2.01

Posted by Stas Bekman <st...@stason.org>.
Maxim Nechaev wrote:
> SB> Yup, it's outdated. I'll fix and upload a new release a bit later.
> 
> Apache-Scoreboard-2.01 is a latest available version via CPAN. Where
> get new release?

I'll upload one soon. Meanwhile you can apply this patch to version 2.01.

Index: Scoreboard.xs
===================================================================
RCS file: /home/stas/cvs/modules/Apache-Scoreboard-2.0/Scoreboard.xs,v
retrieving revision 1.3
diff -u -r1.3 Scoreboard.xs
--- Scoreboard.xs       21 Dec 2003 04:59:32 -0000      1.3
+++ Scoreboard.xs       9 Nov 2004 23:33:37 -0000
@@ -613,7 +613,7 @@
      RETVAL

  # at the moment always gives 0 (blame httpd)
-APR::OS::Thread
+U32
  worker_score_tid(self)
      Apache::ScoreboardWorkerScore self


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html