rich...@ecos.de wrote:
make test TESTARGS="-i"
Hi Gerald, this is better - but it still fails eventually due to not
finding Apache2::ServerRec. See output below. Is this something I need
to install separately? Or should it already have been installed as part
of the installation of mod_perl?
Out of curiosity, what does this TESTARGS do? I have never used it.
Thanks again,
Neil
root@dev:/usr/src/Embperl-2.5.0_1# make test TESTARGS="-i"
make[1]: Entering directory `/usr/src/Embperl-2.5.0_1/xs'
make[2]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
make[4]: Entering directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
make[4]: Leaving directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
make[4]: Entering directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
make[4]: Leaving directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
make[4]: Entering directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
make[4]: Leaving directory
`/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
make[2]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
make[1]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs'
PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i
loading... ok
Testing offline mode...
#0 ascii... ok
#1 pure.htm... ok
#2 nooutput.htm... ok
#3 nooutput.htm... ok
#4 plain.htm... ok
#5 plain.htm... ok
#6 plain.htm... ok
#7 plainblock.htm... ok
#8 plainblock.htm... ok
#18 error.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/msrc/embperl/test/html/error.htm line 23.<
#19 error.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, <F2> line 8.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/msrc/embperl/test/html/error.htm line 23.<
#20 error.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, <F2> line 16.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/msrc/embperl/test/html/error.htm line 23.<
#36 errormismatch.htm... ok
#37 errormismatchcmd.htm... ok
#38 unclosed.htm... ok
#39 notfound.htm... ok
#40 notallow.xhtm... ok
#50 rawinput/rawinput.htm... ok
#51 var.htm... ok
#57 varerr.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: (in cleanup) Global symbol
"$d" requires explicit package name at
/usr/src/Embperl-2.5.0_1/test/html/varerr.htm line 19.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: \(in cleanup\) Global
symbol "\$d" requires explicit package name at
/usr/msrc/embperl/test/html/varerr.htm line 19.<
#61 escape.htm... ok
#62 escape.htm... ok
#64 escutf8.htm... ok
#66 tagscan.htm... ok
#67 tagscan.htm-d 1 ... ok
#69 if.htm... ok
#70 ifperl.htm... ok
#71 loop.htm... ok
#72 loopperl.htm... ok
#73 table.htm... ok
#74 table.htm-d 1 ... ok
#76 lists.htm... ok
#77 select.htm... ok
#78 selecttab.htm... ok
#79 selecttab2.htm... ok
#80 mix.htm... ok
#82 nesting.htm... ok
#83 nesting2.htm... ok
#85 object.htm... ok
#87 input.htm... ok
#88 input.htm... ok
#89 hidden.htm... ok
#90 java.htm... ok
#91 inputjava.htm... ok
#92 inputjs2.htm... ok
#93 inputattr.htm... ok
#94 heredoc.htm... ok
#95 epglobals.htm... ok
#96 keepspaces.htm... ok
#101 keepreq.htm... ok
#102 keepreq.htm... ok
#112 rawinput/include.htm... ok
#113 rawinput/include.htm... ok
#114 execnotfound.htm... ok
#115 includeerr1.htm... ok
#116 includeerr1.htm... ok
#120 includeerr2.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
$Embperl::__56::param[0] in concatenation (.) or string at
/usr/src/Embperl-2.5.0_1/test/html/incsub.htm line 6.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
/usr/msrc/embperl/test/html/incsub.htm line 6.<
#121 includeerr2.htm...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
$Embperl::__56::param[0] in concatenation (.) or string at
/usr/src/Embperl-2.5.0_1/test/html/incsub.htm line 6, <F2> line 8.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
/usr/msrc/embperl/test/html/incsub.htm line 6.<
#122 includeerr3.htm...
Error in Line 11
Is: >***errors: [27126]ERR: 24: Error in Perl code: Can't locate object
method "is" via package "here" (perhaps you forgot
to load "here"?) at
/usr/src/Embperl-2.5.0_1/test/html/incerr.htm line 6, <F2> line
16.<br><
Should: >\*\*\*errors: \[\d+\]ERR: 24: Error in Perl code: Can't locate
object method "is" via package "here".+at
.+incerr.htm line 6.<br><
#123 includeerrbt.htm... ok
#124 incif.htm... ok
#132 callsub.htm... ok
#133 callsub.htm... ok
#134 sub2.htm... ok
#135 sub2.htm... ok
#136 subargs.htm... ok
#137 subargs.htm... ok
#138 subout.htm... ok
#139 subout.htm... ok
#140 subouttab.htm... ok
#141 subouttab.htm... ok
#142 subempty.htm... ok
#143 executesub.htm... ok
#144 executesub.htm... ok
#145 execfirst.htm... ok
#146 execsecond.htm... ok
#147 execprint.htm... ok
#148 execviamod.htm... ok
#149 importsub.htm... ok
#150 importsub.htm... ok
#151 importsub2.htm... ok
#152 subtextarea.htm... ok
#153 subtextarea.htm... ok
#154 subtextarea.htm... ok
#155 subtextarea.htm... ok
#156 execwithsub.htm... ok
#157 nph/div.htm... ok
#159 nph/nphinc.htm... ok
#160 sub.htm... ok
#161 sub.htm... ok
#162 subtab.htm... ok
#163 exit.htm... ok
#164 exit2.htm... ok
#166 exitreq.htm... ok
#167 exitcomp.htm... ok
#168 chdir.htm... ok
#169 chdir.htm... ok
#170 allform/allform.htm... ok
#172 nochdir/nochdir.htm... ok
#176 div.htm... ok
#177 div.htm... ok
#179 ofunc/div.htm... ok
#186 cookieexpire.htm... ok
#241 SSI/ssibasic.htm... ok
#242 SSIEP/ssiep.htm... ok
#243 inctext.htm... ok
#244 incperl.htm... ok
#245 asp.htm... ok
#246 syntax.htm... ok
#247 syntax.htm... ok
#248 changeattr.htm... ok
#249 changeattr.htm... ok
#250 tagintag.htm... ok
#251 rtf/rtfbasic.asc... ok
#252 rtf/rtffull.asc... ok
#253 rtf/rtfadv.asc... ok
#254 rtf/rtfloop.asc... ok
#255 rtf/rtfmeta.asc... ok
#257 pod/pod.asc... ok
#279 app/i18n.htm... ok
#280 xhtml.htm... ok
#281 epform.htm... ok
Testing Execute function...
div.htm from file... ok
div.htm from memory... ok
div.htm to memory... ok
div.htm to tied handle... ok
div.htm from/to memory... ok
error.htm to memory...
Error in Line 8
Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
"qqqqqqqqqqqqqq" may clash with future reserved word at
/usr/msrc/embperl/test/html/error.htm line 23.<
errornous parameter (input) ...ok
errornous parameter (output) ...ok
EmbperlObject/epopage1.htm ...ok
EmbperlObject/sub/epopage2.htm ...ok
EmbperlObject/obj/epoobj3.htm ...ok
EmbperlObject/sub/epobless.htm ...ok
EmbperlObject/sub/epobless.htm ...ok
EmbperlObject/epofdat.htm ... ok
EmbperlObject/sub/epobless2.htm ...ok
EmbperlObject/sub/epobless2.htm ...ok
EmbperlObject/sub/epobless3.htm ...ok
EmbperlObject/sub/epobless3.htm ...ok
EmbperlObject/app/epoapp.htm ...ok
EmbperlObject/app/epoapp2.htm ...ok
EmbperlObject/app/epoapp.htm ...ok
EmbperlObject/app/epoapp.htm ...ok
Testing Ouput Caching...
No cache 1... ok
No cache 2... ok
Expires in 1 sec... ok
Expires in 1 sec (cached)... ok
Wait for expire... ok
Expires in 1 sec (reexec)... ok
Expires function... ok
Expires function (cached)... ok
Expires function (reexec)... ok
Expires string function (cached)...ok
Expires string function (reexec)...ok
Expires named function (cached)...ok
Expires named function (reexec)...ok
Change query_info... ok
Change query_info (cached)... ok
Expires named function (cached)...ok
Change query_info (reexec)... ok
Expires named function (cached)...ok
Change query_info (cached)... ok
Modify source... ok
Modify source query_info... ok
$EXPIRES in source... ok
$EXPIRES in source (cached)...ok
Wait for expire... ok
$EXPIRES in source (reexc)... ok
sub EXPIRES in source... ok
sub EXPIRES in source (cached)...ok
Performing httpd syntax check 1 ... ok
Performing httpd syntax check 2 ... ok
Starting httpd...
[Tue Mar 27 12:04:27 2012] [error] Can't locate Apache2/ServerRec.pm in
@INC (@INC contains: /usr/src/Embperl-2.5.0_1/eg/forms
/usr/src/Embperl-2.5.0_1/blib/arch /usr/src/Embperl-2.5.0_1/blib/lib .
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl /usr/src/Embperl-2.5.0_1/test) at
/usr/src/Embperl-2.5.0_1/blib/lib/Embperl.pm line 74.\nCompilation
failed in require at /usr/src/Embperl-2.5.0_1/test/conf/startup.pl line
65.\nBEGIN failed--compilation aborted at
/usr/src/Embperl-2.5.0_1/test/conf/startup.pl line 65.\nCompilation
failed in require at (eval 2) line 1.\n
[Tue Mar 27 12:04:27 2012] [error] Can't load Perl file:
/usr/src/Embperl-2.5.0_1/test/conf/startup.pl for server localhost:0,
exiting...
Cannot open test/tmp/httpd.pid at test.pl line 2894.
Test terminated with fatal error
make: *** [test_dynamic] Error 1
root@dev:/usr/src/Embperl-2.5.0_1#
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org