On Tue, 21 Mar 2000, Charles Day wrote:

> Stas,
> 
> Trying to get Apache::VMonitor up, I'm getting the same error Gustav saw
> with Apache::Scoreboard, but I'm running your gcc and Linux 2.2.12.  Did you
> ever figure this one out?

Get the latest Apache::Scoreboard 0.10

> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 
> 
> 
> Here's my error message...
> 
> [root@razor Apache-Scoreboard-0.10]# make
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Apache
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Apache
> mkdir blib/arch/auto/Apache/Scoreboard
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Apache
> mkdir blib/lib/auto/Apache/Scoreboard
> mkdir blib/man3
> cp lib/Apache/ScoreboardGraph.pm blib/lib/Apache/ScoreboardGraph.pm
> cp Scoreboard.pm blib/lib/Apache/Scoreboard.pm
> make[1]: Entering directory `/usr/src/Apache-Scoreboard-0.10/Dummy'
> mkdir ../blib/arch/auto/Apache/DummyScoreboard
> mkdir ../blib/lib/auto/Apache/DummyScoreboard
> cp DummyScoreboard.pm ../blib/lib/Apache/DummyScoreboard.pm
> /usr/bin/perl -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503
> /usr/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap
> /usr/lib/perl5/5.00503/ExtUtils/typemap -typemap
> /usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/typemap -typemap
> typemap DummyScoreboard.xs >xstmp.c && mv xstmp.c DummyScoreboard.c
> Please specify prototyping behavior for DummyScoreboard.xs (see perlxs
> manual)
> cc -c -I../ -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include
> -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include/modules/perl
> -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include/include
> -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include/os/unix
> -Dbool=char -DHAS_BOOL -O2    -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic
> -I/usr/lib/perl5/5.00503/i586-linux/CORE  DummyScoreboard.c
> In file included from DummyScoreboard.xs:2:
> /usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include/include/scoreb
> oard.h:149: field `start_time' has incomplete type
> /usr/lib/perl5/site_perl/5.005/i586-linux/auto/Apache/include/include/scoreb
> oard.h:150: field `stop_time' has incomplete type
> make[1]: *** [DummyScoreboard.o] Error 1
> make[1]: Leaving directory `/usr/src/Apache-Scoreboard-0.10/Dummy'
> make: *** [subdirs] Error 2
> 
> 
> List: apache-modperl
> Subject: Re: Another problem compiling Apache-Scoreboard-0.08 
> From: Stas Bekman 
> Date: 2000-01-23 12:26:28
> On Sun, 23 Jan 2000, Gustav Kristoffer Ek wrote: 
> > I got the folowing error when compiling Apache::Scoreboard 0.08: 
> > 
> > make 
> > make[1]: Entering directory 
> > `/usr/src/cpan/build/Apache-Scoreboard-0.08/Dummy' 
> > cc -c -I../ 
> > -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include 
> >
> -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/modules/perl
> 
> > -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include 
> > -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/regex 
> > -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/os/unix 
> > -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"0.04\" 
> > -DXS_VERSION=\"0.04\" -fpic -I/usr/lib/perl5/5.00503/i686-linux/CORE 
> > DummyScoreboard.c 
> > In file included from DummyScoreboard.xs:2: 
> >
> /usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include/scoreb
> oard.h:150: 
> > field `start_time' has incomplete type 
> >
> /usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include/scoreb
> oard.h:151: 
> > field `stop_time' has incomplete type 
> > make[1]: *** [DummyScoreboard.o] Error 1 
> > make[1]: Leaving directory 
> > `/usr/src/cpan/build/Apache-Scoreboard-0.08/Dummy' 
> > make: *** [subdirs] Error 2 
> > 
> > 
> > Line 150 and 151 in scoreboard.h looks like: 
> > 
> > struct timeval start_time; 
> > struct timeval stop_time; 
> > 
> > I'm using modperl 1.21_01-dev and perl 5.00503 on a i386 running linux 
> > 2.3.20. Gustav, I can build this version with no problems using the same
> environment, but kernel 2.2.12. I thought that may be the
> /usr/src/linux/include/linux/time.h has been changed, but according to
> <http://lxr.linux.no/diff/include/linux/time.h?v=2.3.28;diffvar=v;diffval=2.
> 2.12
> > it's the same. So I believe the difference you and me might have is in
> compiler version. Mine is: (cc == gcc) gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release) Hope this helps... 
> _______________________________________________________________________ 
> 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> [
> 
> 
> 



______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide http://perl.apache.org/guide/ 
mailto:[EMAIL PROTECTED]  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------

Reply via email to