Hello,
Sorry if this was posted twice, I can't see the original post .
I am trying to install mod_perl 2.0.3 on a unix station with solaris10 :
SunOS cobar 5.10 Generic_118833-03 sun4u sparc SUNW,Ultra-60
I have apache 2.2.4 installed on my station .
my perl version is v5.8.0 built for sun4-solaris-thread-multi .
Somehow the 'make test' fails .(it's output attached since it's too big
...)
I tried to install mod_perl 2.0.2 and it's even a little worse .
here's the error_log :
[Mon Mar 26 16:15:50 2007] [info] mod_unique_id: using ip addr
147.234.143.10
END in modperl_extra.pl, pid=26787
[Mon Mar 26 16:16:01 2007] [info] mod_unique_id: using ip addr
147.234.143.10
[Mon Mar 26 16:16:02 2007] [notice] Digest: generating secret for digest
authentication ...
[Mon Mar 26 16:16:02 2007] [notice] Digest: done
[Mon Mar 26 16:16:02 2007] [notice] Apache/2.2.4 (Unix) world domination
series/2.0 DAV/2 mod_perl/2.0.3 Perl/v5.8.0 configured -- resuming
normal operations
[Mon Mar 26 16:16:02 2007] [info] Server built: Feb 15 2007 18:15:17
[Mon Mar 26 16:16:02 2007] [debug] prefork.c(991): AcceptMutex: fcntl
(default: fcntl)
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:45 2007] [info] [client 127.0.0.1] TestAPI::aplog test
in progress
*** The following warn entry is expected and harmless ***
This log message comes with no header
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:45 2007] [debug] aplog.pm(71): log_serror test 1
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:45 2007] [debug] aplog.pm(83): (20014)Internal error:
log_serror test 2
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:17:45 2007] [crit] [client 127.0.0.1] (20007)No time was
provided and one was required.: log_rerror test
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:17:45 2007] [error] $r->log_error test
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [error] $s->log_error test
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [error] access to /TestAPI__aplog failed for
127.0.0.1, reason: $r->log_reason test
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [error] access to filename failed for
127.0.0.1, reason: $r->log_reason filename test
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [debug] aplog.pm(144): TestAPI::aplog test
done
[Mon Mar 26 16:17:46 2007] [notice] [client 127.0.0.1] This message
should appear with LogLevel=error!
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [warn] $s->warn test
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [warn] Apache2::ServerRec::warn test
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [warn] Apache2::ServerRec::warn test
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:17:46 2007] [warn] warn test
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:19:16 2007] [error] Process 26866 terminates itself\n
[Mon Mar 26 16:19:30 2007] [error] [client 127.0.0.1] Handler for
modperl returned invalid result code 2
[Mon Mar 26 16:19:30 2007] [error] [client 127.0.0.1] Handler for
modperl returned invalid result code 2
# Failed test 3 in
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestAPI/server_con
st.pm at line 39
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:22:59 2007] [error] Apache::log_error test ok
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:22:59 2007] [warn] Apache->warn ok
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:22:59 2007] [warn] Apache::warn ok
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:22:59 2007] [warn] Apache::Server->warn ok
*** The following warn entry is expected and harmless ***
[Mon Mar 26 16:22:59 2007] [warn] Apache::Server::warn ok
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] APR::Socket::recv:
(11) Resource temporarily unavailable at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line 156
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] Undefined
subroutine &TestError::runtime::no_such_func called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line 150.\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] Operation `""': no
method found, argument in overloaded package overload::Fake at
/sne/perl/lib/5.8.0/overload.pm line 88.\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] Undefined
subroutine &TestError::runtime::no_such_func called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line
150.\n\tTestError::runtime::non_mp_error('APR::Socket=SCALAR(0x185100c)'
) called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line
82\n\tTestError::runtime::die_hook_confess_non_mp_error('Apache2::Reques
tRec=SCALAR(0x184207c)','APR::Socket=SCALAR(0x185100c)') called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line
31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x184207c)
') called at -e line 0\n\teval {...} called at -e line 0\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] custom die hook:
APR::Socket::recv: (11) Resource temporarily unavailable at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line 156 at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line 87.\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:19 2007] [error] [client 127.0.0.1] custom die hook:
Undefined subroutine &TestError::runtime::no_such_func called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/runtime.
pm line 150.\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:25:24 2007] [error] [client 127.0.0.1] failed to resolve
handler `TestError::syntax': syntax error at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestError/syntax.p
m line 17, near "\\;"\nCompilation failed in require at (eval 175) line
3.\n
[Mon Mar 26 16:25:34 2007] [debug] mod_deflate.c(811): [client
127.0.0.1] Zlib: Inflated 14 to 12 : URL
/TestFilter__both_str_native_remove
[Mon Mar 26 16:25:44 2007] [debug] mod_deflate.c(811): [client
127.0.0.1] Zlib: Inflated 54 to 59 : URL /TestFilter__both_str_req_mix
[Mon Mar 26 16:25:44 2007] [debug] mod_deflate.c(516): [client
127.0.0.1] Zlib: Compressed 21 to 27 : URL /TestFilter__both_str_req_mix
*** The following 2 error entries are expected and harmless ***
[Mon Mar 26 16:26:25 2007] [error] [client 127.0.0.1] This filter must
die at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/filter/TestFilter/in_error.
pm line 26.\n
[Mon Mar 26 16:26:25 2007] [error] [client 127.0.0.1]
Apache2::RequestIO::read: (120001) filter handler has failed at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/filter/TestFilter/in_error.
pm line 41
[Mon Mar 26 16:29:08 2007] [error] [client 127.0.0.1] Undefined
subroutine &TestHooks::error::bomb called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/hooks/TestHooks/error.pm
line 21.\n
[Mon Mar 26 16:29:08 2007] [error] [client 127.0.0.1] Undefined
subroutine &TestHooks::error::bomb called at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/hooks/TestHooks/error.pm
line 21.\n
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:30:17 2007] [error] [client 127.0.0.1] File does not
exist: /auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/htdocs/nope
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:32:49 2007] [error] [client 127.0.0.1] need AuthName:
/TestModperl__setauth
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:33:05 2007] [error] [client 127.0.0.1] File does not
exist:
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/htdocs/TestModperl__status
[Mon Mar 26 16:33:05 2007] [error] [client 127.0.0.1] Handler for
modperl returned invalid result code 601
[Mon Mar 26 16:33:05 2007] [error] [client 127.0.0.1] Handler for
modperl returned invalid result code 1
*** The following error entry is expected and harmless ***
[Mon Mar 26 16:33:05 2007] [error] [client 127.0.0.1] Died at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/response/TestModperl/status
.pm line 24.\n
*** The following error entry is expected and harmless ***
Argument "foobar" isn't numeric.
*** The following error entry is expected and harmless ***
Argument "foo9bar" isn't numeric.
Constant subroutine Apache2::Reload::Test::const redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line
69, <fh00002perlfunc.pod> line 6496.
Subroutine subpackage redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 7, <fh00002perlfunc.pod> line 6496.
Subroutine run redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 9, <fh00002perlfunc.pod> line 6496.
Subroutine simple redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 15, <fh00002perlfunc.pod> line 6496.
Prototype mismatch: sub Apache2::Reload::Test::const vs () at
/sne/perl/lib/5.8.0/constant.pm line 108, <fh00002perlfunc.pod> line
6496.
Subroutine prototype redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 17, <fh00002perlfunc.pod> line 6496.
Constant subroutine Apache2::Reload::Test::const redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line
69, <fh00002perlfunc.pod> line 6496.
Subroutine subpackage redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 7, <fh00002perlfunc.pod> line 6496.
Subroutine run redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 9, <fh00002perlfunc.pod> line 6496.
Subroutine simple redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 15, <fh00002perlfunc.pod> line 6496.
Prototype mismatch: sub Apache2::Reload::Test::const vs () at
/sne/perl/lib/5.8.0/constant.pm line 108, <fh00002perlfunc.pod> line
6496.
Subroutine prototype redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/lib/Apache2/Reload/Test.pm
line 17, <fh00002perlfunc.pod> line 6496.
Constant subroutine Apache2::Reload::Test::const redefined at
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/blib/lib/ModPerl/Util.pm line
69, <fh00002perlfunc.pod> line 6496.
[Mon Mar 26 16:35:27 2007] [error] [client 127.0.0.1] user stas:
authentication failure for "/": Password Mismatch
[Mon Mar 26 16:35:46 2007] [info] Child process pid=27413 is exiting
[Mon Mar 26 16:35:46 2007] [info] Child process pid=26801 is exiting
[Mon Mar 26 16:35:46 2007] [info] Child process pid=27413 is exiting -
server push
[Mon Mar 26 16:35:46 2007] [info] Child process pid=26801 is exiting -
server push
END in modperl_extra.pl, pid=27413
END in TestModperl::print, pid=26801
END in modperl_extra.pl, pid=26801
[Mon Mar 26 16:35:46 2007] [info] Child process pid=26804 is exiting
[Mon Mar 26 16:35:46 2007] [info] Child process pid=26804 is exiting -
server push
END in modperl_extra.pl, pid=26804
[Mon Mar 26 16:35:46 2007] [info] removed PID file
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/t/logs/httpd.pid (pid=26794)
[Mon Mar 26 16:35:46 2007] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=26794
here's my bug report :
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
make test failes for mod_perl 2.0.3 and apache 2.2.4
2. Used Components and their Configuration:
*** mod_perl version 2.000003
*** using
/auto/ns_emb/mgr/tools/perl/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /usr/local/apach2/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** /usr/local/apach2/bin/httpd -V
Server version: Apache/2.2.4 (Unix)
Server built: Feb 15 2007 18:15:17
Server's Module Magic Number: 20051115:4
Server loaded: APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.8, APR-Util 1.2.8
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apach2"
-D SUEXEC_BIN="/usr/local/apach2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** /usr/bin/ldd /usr/local/apach2/bin/httpd
libm.so.2 => /lib/libm.so.2
libaprutil-1.so.0 => /usr/local/apach2/lib/libaprutil-1.so.0
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libapr-1.so.0 => /usr/local/apach2/lib/libapr-1.so.0
libuuid.so.1 => /lib/libuuid.so.1
libsendfile.so.1 => /lib/libsendfile.so.1
librt.so.1 => /lib/librt.so.1
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libpthread.so.1 => /lib/libpthread.so.1
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /lib/libaio.so.1
libmd5.so.1 => /lib/libmd5.so.1
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
/platform/SUNW,Ultra-60/lib/libc_psr.so.1
/platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
*** (apr|apu)-config linking info
-L/usr/local/apach2/lib -laprutil-1 -lexpat -liconv -L/usr/local/lib
-L/usr/local/apach2/lib -lapr-1 -luuid -lsendfile -lrt -lsocket -lnsl
-lpthread
*** /sne/perl/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris-thread-multi
uname='sunos gorlsh 5.6 generic_105181-13 sun4u sparc sunw,ultra-60 '
config_args='-Dmksymlinks -Dcc=gcc -Uinstallusrbinperl
-Dprefix=/sne/perl -Accflags=-DAPPLLIB_EXP=\"/sne/Libs/PerlLib\"
-Duseithreads -Ui_gdbm -Ui_dbm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -DAPPLLIB_EXP="/sne/Libs/PerlLib"
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -DAPPLLIB_EXP="/sne/Libs/PerlLib"
-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.2 19991024 (release)',
gccosandvers='solaris2.6'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lposix4 -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lposix4 -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under solaris
Compiled at Mar 20 2003 19:08:37
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/sne/Libs/PerlLib
/sne/perl/lib/5.8.0/sun4-solaris-thread-multi
/sne/perl/lib/5.8.0
/sne/perl/lib/site_perl/5.8.0/sun4-solaris-thread-multi
/sne/perl/lib/site_perl/5.8.0
/sne/perl/lib/site_perl
/sne/Libs/PerlLib
.
*** Packages of interest status:
Apache2 : -
Apache2::Request : -
CGI : 3.27
ExtUtils::MakeMaker: 6.03
LWP : 5.805
mod_perl : -
mod_perl2 : -
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by REPORT on Tue May 8 16:20:27 2007 GMT.
When trying to run perl -MApache2 -MApache::TestReportPerl \
-le 'Apache::TestReportPerl->new->run' > mybugreport
I get :
perl -MApache2 -MApache::TestReportPerl -le
'Apache::TestReportPerl->new->run' > ~/mybugreport
Can't locate Apache2.pm in @INC (@INC contains:
/auto/applic/NoVer/perl5/lib/5.6.1/sun4-solaris
/auto/applic/NoVer/perl5/lib/5.6.1
/auto/applic/NoVer/perl5/lib/site_perl/5.6.1/sun4-solaris
/auto/applic/NoVer/perl5/lib/site_perl/5.6.1
/auto/applic/NoVer/perl5/lib/site_perl .).
BEGIN failed--compilation aborted.
Can you please advise ?
Regards,
Elad Golan
email : [EMAIL PROTECTED]
Tel. 972-3-9268697