Hello,
I have installed apache, and built modperl, here is
output from the make test, please let me know if I can
overlook certain errors here or these need to be
addressed(I assume).
Also, I did not add proxy or some other options, ie.
deflate, etc. - perhaps this explains why certain
tests were skipped.
Thanks for your support, :-)
Steve Larson
[EMAIL PROTECTED]
Output from make test
[EMAIL PROTECTED] modperl]# echo Error output from make
test
[EMAIL PROTECTED] modperl]# make test
apr-ext/uuid......................Can't load
'/usr/local/source/mod_perl-1.99_12/t/../blib/arch/Apache2/auto/APR/APR.so'
for module APR:
/usr/local/source/mod_perl-1.99_12/t/../blib/arch/Apache2/auto/APR/APR.so:
undefined symbol: apr_hook_global_pool at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 229.
at apr-ext/uuid.t line 25
Compilation failed in require at apr-ext/uuid.t line
25.
apr-ext/uuid......................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
directive/perl....................NOK 3# Failed test 3
in directive/perl.t at line 27
directive/perl....................NOK 7# Failed test 7
in directive/perl.t at line 27 fail #2
directive/perl....................FAILED tests 3, 7
Failed 2/8 tests, 75.00% okay
filter/both_str_req_mix...........skipped
all skipped: cannot find module
'Compress::Zlib', cannot find module 'deflate'
filter/both_str_req_proxy.........skipped
all skipped: cannot find module 'proxy'
modperl/request_rec_tie_api.......skipped
all skipped: perl 5.008: PerlIO is used
instead of TIEd IO
modules/apache_status.............skipped
all skipped: CGI.pm (2.93 or higher) or
Apache::Request is needed
modules/cgi.......................skipped
all skipped: cannot find module 'CGI'
modules/cgi2......................skipped
all skipped: cannot find module 'CGI'
modules/cgipost...................skipped
all skipped: cannot find module 'CGI'
modules/cgipost2..................skipped
all skipped: cannot find module 'CGI'
modules/cgiupload.................skipped
all skipped: cannot find module 'CGI'
modules/cgiupload2................skipped
all skipped: cannot find module 'CGI'
modules/include...................skipped
all skipped: cannot find module 'CGI'
modules/include2..................NOK 4# Failed test 4
in modules/include2.t atline 30 fail #2
modules/include2..................FAILED test 4
Failed 1/4 tests, 75.00% okay
modules/proxy.....................skipped
all skipped: cannot find module 'proxy'
perl/hash_attack..................skipped
all skipped: relevant only for perl 5.8.2 and
higher
perl/ithreads.....................skipped
all skipped: perl 5.8.1 or higher w/ithreads
enabled is required
perl/ithreads2....................skipped
all skipped: perl 5.8.1 or higher w/ithreads
enabled is required
Failed Test Stat Wstat Total Fail Failed List
of Failed
-------------------------------------------------------------------------------
apr-ext/uuid.t 255 65280 3 3 100.00% 1-3
directive/perl.t 8 2 25.00% 3 7
modules/include2.t 4 1 25.00% 4
15 tests skipped.
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine
t/logs/error_log)
[EMAIL PROTECTED] modperl]# echo output from perl Version
[EMAIL PROTECTED] modperl]# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion
0) configuration: Platform:
osname=linux, osvers=2.4.21-1.1931.2.382.entsmp,
archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -g -pipe
-march=i386 -mcpu=i686 -Dmyhostname=localhost
[EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dvendorprefix=/usr
-Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0
-Duseshrplib -Dusethreads -Duseithreads
-Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm
-Duseperlio -Dinstallusrbinperl -Ubincompat5005
-Uversiononly -Dpager=/usr/bin/less -isr'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=define use5005threads=undef'
useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030222 (Red Hat
Linux 3.2.2-5)', gccosandvers=''
gccversion='3.2.2 200302'
intsize=r, longsize=r, ptrsize=5, doublesize=8,
byteorder=1234
d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='l, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc'
l', ldflags =' -L/u'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
-lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libper
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef,
ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5',
lddlflags='s Unicode/Normalize
XS/A'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY
USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
MAINT18379
Built under linux
Compiled at Aug 13 2003 11:47:58
@INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
.
[EMAIL PROTECTED] modperl]#
[EMAIL PROTECTED] modperl]# echo !!! error running tests
(please examine t/logs/error_log)
[EMAIL PROTECTED] modperl]# cat t/logs/error_log
END in modperl_extra.pl, pid=5580
[Thu Jan 15 10:31:03 2004] [notice] Apache/2.0.48
(Unix) mod_perl/1.99_12 Perl/v5.8.0 configured --
resuming normal operations
[Thu Jan 15 10:31:03 2004] [info] Server built: Jan 14
2004 13:14:36
[Thu Jan 15 10:31:03 2004] [debug] prefork.c(1037):
AcceptMutex: pthread (default: pthread)
[Thu Jan 15 10:31:05 2004] [error] server reached
MaxClients setting, consider raising the MaxClients
setting
[Thu Jan 15 10:31:16 2004] [info] [client 127.0.0.1]
TestAPI::aplog test in progress
This log message comes with no header
*** The following warn entry is expected and it is
harmless ***
[Thu Jan 15 10:31:16 2004] [debug]
/usr/local/source/mod_perl-1.99_12/t/response/TestAPI/aplog.pm(48):
log_serror test ok
*** The following warn entry is expected and it is
harmless ***
[Thu Jan 15 10:31:16 2004] [debug]
/usr/local/source/mod_perl-1.99_12/t/response/TestAPI/aplog.pm(52):
(20014)Error string not specified yet: log_serror test
2
ok
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:31:16 2004] [crit] [client 127.0.0.1]
(20007)No time was provided and one was required.:
log_rerror test ok
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:31:16 2004] [error] $r->log_error test
ok
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:31:16 2004] [error] $s->log_error test
ok
[Thu Jan 15 10:31:16 2004] [debug]
/usr/local/source/mod_perl-1.99_12/t/response/TestAPI/aplog.pm(73):
TestAPI::aplog test done
[Thu Jan 15 10:31:16 2004] [warn] ApacheApache->warn
test ok
[Thu Jan 15 10:31:16 2004] [warn] $s->warn test ok
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:31:41 2004] [error] Apache::log_error
test ok
[Thu Jan 15 10:31:49 2004] [error] [client 127.0.0.1]
File does not exist: /var/mod_perl-1.99_12/t/htdocs
[Thu Jan 15 10:31:50 2004] [error] [client 127.0.0.1]
File does not exist: /var/mod_perl-1.99_12/t/htdocs
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:00 2004] [error] [client 127.0.0.1]
Undefined subroutine &TestError::runtime::no_such_func
called at
/usr/local/source/mod_perl-1.99_12/t/response/TestError/runtime.pm
line 19.
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:01 2004] [error] failed to resolve
handler `TestError::syntax'[Thu Jan 15 10:32:01 2004]
[error] [client 127.0.0.1] syntax error at
/usr/local/source/mod_perl-1.99_12/t/response/TestError/syntax.pm
line 22, near "\;"
Compilation failed in require at (eval 115) line 3.
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:28 2004] [error] [client 127.0.0.1]
File does not exist:
/usr/local/source/mod_perl-1.99_12/t/htdocs/nope
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:46 2004] [error] [client 127.0.0.1]
need AuthName: /TestModperl__setauth
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:47 2004] [error] [client 127.0.0.1]
File does not exist:
/usr/local/source/mod_perl-1.99_12/t/htdocs/TestModperl__status
*** The following error entry is expected and it is
harmless ***
[Thu Jan 15 10:32:47 2004] [error] [client 127.0.0.1]
Died at
/usr/local/source/mod_perl-1.99_12/t/response/TestModperl/status.pm
line 24.
*** The following error entry is expected and it is
harmless ***
Argument "foobar" isn't numeric.
*** The following error entry is expected and it is
harmless ***
Argument "foo9bar" isn't numeric.
[Thu Jan 15 10:33:01 2004] [info] Child process
pid=5583 is exiting
[Thu Jan 15 10:33:01 2004] [info] Child process
pid=5586 is exiting
[Thu Jan 15 10:33:01 2004] [info] removed PID file
/usr/local/source/mod_perl-1.99_12/t/logs/httpd.pid
(pid=5582)
[Thu Jan 15 10:33:01 2004] [notice] caught SIGTERM,
shutting down
END in modperl_extra.pl, pid=5582
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> steve larson wrote:
> > Hello,
> > source of Apache 2 was located here:
> > /usr/local/source/apache2
> >
> > Apache 2 was installed here:
> > /usr/local/apache2
>
> So you should use the latter path to build mp2. Like
> so:
>
> perl Makefile.PL \
> MP_APXS=/usr/local/apache2/support/apxs \
> MP_INST_APACHE2=1 \
> MP_DEBUG=1
>
>
__________________________________________________________________
> Stas Bekman JAm_pH ------> Just Another
> mod_perl Hacker
> http://stason.org/ mod_perl Guide --->
> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org
> http://apacheweek.com
> http://modperlbook.org http://apache.org
> http://ticketmaster.com
>
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html