> I'm not strong in XS, so I hope someone will land me a helping hand
> figuring this out :)
>
> Here's an error I get compiling Apache::Scoreboard (0.08):
>
> /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
> /usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.00503/ExtUtils/typemap -typemap typemap
> DummyScoreboard.xs >xstmp.c && mv xstmp.c DummyScoreboard.c
> Error: 'Apache' not in typemap in DummyScoreboard.xs, line 121
> Please specify prototyping behavior for DummyScoreboard.xs (see perlxs manual)
>
> Does anyone have any ideas how to go about fixing this? I strongly suspect
> the error has to do with the fact that I run RedHat ;)
May be, but your problem lies not in the fact that you run RH, but in fact
that you didn't install mod_perl from scratch, as RH comes with *broken*
mod_perl.
I use RH6.0/6.1 with perl5.005.03 and freshly compiled mod_perl and the
package gets built for me without any problems.
Now back to the problem: Your installation is missing the whole
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache tree
the above command is missing this line:
-typemap
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/typemap
where the missing typemap is located.
Install mod_perl from scratch and you will get it working without any
problems. (or grab a new rpm from perl.apache.org/distributions.html)
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com