I'm having problems compiling Apache::Scoreboard on a RH 6.2 system with 
the following packages all compiled from source:

Kernel 2.2.19
Apache 1.3.19
Perl 5.6.0
mod_perl 1.25
libgtop    1.0.7
glib    1.2.8
Apache::Scoreboard 0.10

I've searched the archive, and have seen mention of the same problem 
twice, but no solutions. The error is shown below.


[Apache-Scoreboard-0.10]# make
make[1]: Entering directory `/root/.cpan/build/Apache-Scoreboard-0.10/Dummy'
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux 
-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  
-typemap
/usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap 
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/typemap 
-typemap typemap DummyScoreboard.xs >
DummyScoreboard.xsc && mv DummyScoreboard.xsc DummyScoreboard.c
Please specify prototyping behavior for DummyScoreboard.xs (see perlxs 
manual)
cc -c -I../ 
-I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include 
-I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/modules/perl 

-I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/include 
-I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/regex
-I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/os/unix 
-I/usr/local/apache/include -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64
-O2     -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic 
-I/usr/local/lib/perl5/5.6.0/i686-linux/CORE  DummyScoreboard.c
In file included from DummyScoreboard.xs:2:
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/include/scoreboard.h:150:
 
field `start_time' has incomplete type
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/auto/Apache/include/include/scoreboard.h:151:
 
field `stop_time' has incomplete type
make[1]: *** [DummyScoreboard.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/Apache-Scoreboard-0.10/Dummy'
make: *** [subdirs] Error 2


I've compiled Apache::Scoreboard many times on very similar systems. The 
most recent one with the same setup, apart from:
Kernel 2.2.18
Apache 1.3.12
mod_perl 1.24_01


I'm wondering if I should recompile Apache, Perl or mod_perl after 
installing kernel 2.2.19.

Any suggestions as to why Apache::Scoreboard fails to compile?

-- 
Med venlig hilsen

                                -Toem

Tommy Davis
Adapt A/S,  Havnegade 41, 2. sal,  1058 København K
Tel +45 3341 1050,  Fax +45 3341 1069,  http://www.adapt.dk/


Reply via email to