You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2002/04/03 00:22:03 UTC

make test fails on redhat

Hi All,

mod_perl-1.26

uname -a
Linux xxxx 2.4.18-shuckle #2 Wed Mar 13 22:16:15 EST 2002 i686 unknown

perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux
    uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 10:30:48 est 2002 i686 unknown '
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC
-Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Uusethreads -Uuseithreads -Uuselargefiles -Dd_dosuid
-Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Dlocincpth='
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O2 -march=i386 -mcpu=i686',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-98)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Feb 20 2002 15:01:16
  @INC:
    /usr/lib/perl5/5.6.1/i386-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i386-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl

#make test

make[1]: Entering directory `/export/src/mod_perl-1.26/Apache'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Apache'
make[1]: Entering directory `/export/src/mod_perl-1.26/Connection'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Connection'
make[1]: Entering directory `/export/src/mod_perl-1.26/Constants'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Constants'
make[1]: Entering directory `/export/src/mod_perl-1.26/File'
make[1]: Leaving directory `/export/src/mod_perl-1.26/File'
make[1]: Entering directory `/export/src/mod_perl-1.26/Leak'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Leak'
make[1]: Entering directory `/export/src/mod_perl-1.26/Log'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Log'
make[1]: Entering directory `/export/src/mod_perl-1.26/ModuleConfig'
make[1]: Leaving directory `/export/src/mod_perl-1.26/ModuleConfig'
make[1]: Entering directory `/export/src/mod_perl-1.26/PerlRunXS'
make[1]: Leaving directory `/export/src/mod_perl-1.26/PerlRunXS'
make[1]: Entering directory `/export/src/mod_perl-1.26/Server'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Server'
make[1]: Entering directory `/export/src/mod_perl-1.26/Symbol'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Symbol'
make[1]: Entering directory `/export/src/mod_perl-1.26/Table'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Table'
make[1]: Entering directory `/export/src/mod_perl-1.26/URI'
make[1]: Leaving directory `/export/src/mod_perl-1.26/URI'
make[1]: Entering directory `/export/src/mod_perl-1.26/Util'
make[1]: Leaving directory `/export/src/mod_perl-1.26/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache+mod_perl/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
modules/actions.....ok
modules/cgi.........ok
modules/constants...ok
modules/cookie......skipped test on this platform
modules/file........ok
modules/httpdconf...ok
modules/include.....ok
modules/log.........ok
modules/module......skipped test on this platform
modules/perlrun.....ok
modules/psections...skipped test on this platform
modules/request.....skipped test on this platform
modules/src.........ok
modules/ssi.........ok
modules/stage.......skipped test on this platform
modules/status......ok
modules/symbol......skipped test on this platform
modules/uri.........ok
modules/util........ok
internal/api........ok
internal/auth.......ok
internal/croak......ok
internal/dirmagic...ok
internal/error......ok
internal/headers....ok
internal/hooks......ok
internal/http-get...Use of uninitialized value in substitution (s///) at
/usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
internal/http-get...ok 7/16Use of uninitialized value in substitution (s///) at
/usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/lib/perl5/site_perl/5.6.1/Net/HTTP/Methods.pm line 427.
internal/http-get...ok
internal/http-post..ok
internal/proxy......ok
internal/redirect...ok
internal/rwrite.....ok
internal/stacked....ok
internal/table......ok
internal/taint......ok
All tests successful, 6 tests skipped.
Files=34, Tests=382,  9 wallclock secs ( 4.47 cusr +  0.44 csys =  4.91 CPU)
kill `cat t/logs/httpd.pid`
cat: t/logs/httpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
make: *** [kill_httpd] Error 1

I've added "use URI::URL;" to internal/hooks and another one because they
could not find the module.


Regards,




Jie


Re: Modperl Footers/Headers

Posted by Jesus Alejandro Juarez Robles <al...@iztacala.unam.mx>.
Another  option is Apache-NavBar, take a look in the CPAN website

Have a nice day.

Alex --

alex@OpenBSD.Org.MX

On Wed, 3 Apr 2002, Joshua Chamas wrote:

> "Philip M. Gollucci" wrote:
> >
> > Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
> > I need to add a "canned" Footer to every page except one (toc.html).
> > This includes Location handlers, .cgi, .pl, .s?html
> >
> > http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
> > I saw that... but this doesn't work since .cgi, .pl files don't get
> > processed just read and output. (Works great for .html files though)
> >
>
> Take a look at Apache::Sandwich, it may do exactly what you want.
> You will probably have to specify certain file types to run with
> Apache::Sandwich, so you ignore things like image files.
> I would probably just used the <Files> config for that.
>
> If Apache::Sandwich does not work for you as is, you might try
> looking at its techniques or those of Apache::SSI with executing
> subrequests while adding content from various sources.
>
> --Josh
> _________________________________________________________________
> Joshua Chamas                           Chamas Enterprises Inc.
> NodeWorks Founder                       Huntington Beach, CA  USA
> http://www.nodeworks.com                1-714-625-4051
>


Re: Modperl Footers/Headers

Posted by Joshua Chamas <jo...@chamas.com>.
"Philip M. Gollucci" wrote:
> 
> Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
> I need to add a "canned" Footer to every page except one (toc.html).
> This includes Location handlers, .cgi, .pl, .s?html
> 
> http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
> I saw that... but this doesn't work since .cgi, .pl files don't get
> processed just read and output. (Works great for .html files though)
> 

Take a look at Apache::Sandwich, it may do exactly what you want.
You will probably have to specify certain file types to run with
Apache::Sandwich, so you ignore things like image files.
I would probably just used the <Files> config for that.

If Apache::Sandwich does not work for you as is, you might try
looking at its techniques or those of Apache::SSI with executing
subrequests while adding content from various sources.

--Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Modperl Footers/Headers

Posted by "Philip M. Gollucci" <ph...@sduwebship.student.umd.edu>.
Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
I need to add a "canned" Footer to every page except one (toc.html).
This includes Location handlers, .cgi, .pl, .s?html

http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
I saw that... but this doesn't work since .cgi, .pl files don't get
processed just read and output. (Works great for .html files though)

I think I may need to do something with Apache::OuputChain
but I don't know what.


Anywhere I should read that I'm missing ?

Thanks for the help.


END
------------------------------------------------------------------------------
Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3118 301.646.3011

Science, Discovery, & the Universe (UMCP)
        Webmaster & Webship Teacher
        URL: http://www.sdu.umd.edu

EJournalPress.com
        Database/PERL Programmer & System Admin
        URL : http://www.ejournalpress.com

Homepage    : http://p6m7g8.com
Resume      : http://p6m7g8.com/Work/index.html
Software    : http://p6m7g8.com/Developement/





Re: make test fails on redhat

Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,

On Wed, 3 Apr 2002, Jie Gao wrote:

> All tests successful, 6 tests skipped.

Are you sure about your subject line?

> Files=34, Tests=382,  9 wallclock secs ( 4.47 cusr +  0.44 csys =  4.91 CPU)
> kill `cat t/logs/httpd.pid`
> cat: t/logs/httpd.pid: No such file or directory

There may be permissions problems in the directory tree, did you
'make' and 'make test' as root?  I find it's best not to do that.

73,
Ged.