You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Alvar Freude <al...@agi.de> on 2001/06/07 13:55:03 UTC
Make Test Error, 1.3.2, modperl
Hi,
i have the same error as desribed in
http://www.ecos.de/~mailarc/embperl/2001-05/msg00109.html
All output and error-messages below ...
Any ideas how to avoid this error?
If installed with force, the same error appears when using sessions!
Ciao
Alvar
# make test TESTARGS="-h"
PERL_DL_NONLAZY=0 /client/perl-5.6.1/bin/perl -Iblib/arch -Iblib/lib
-I/client/perl-5.6.1/lib/5.6.1/i686-linux -I/client/perl-5.6.1/lib/5.6.1
test.pl -h
loading... ok
Starting httpd... [24497]SES: Embperl Session management enabled (>=
1.50)
pid = 24497 ok
Testing mod_perl mode...
#0 ascii... ok
#1 pure.htm... ERR:Internal Server Error
Input: test/html/pure.htm
Output: test/tmp/out.htm
Log: test/tmp/test.log
ERRORS detected! NOT all test have been passed successfully
Found unexpected output in httpd errorlog:
[Thu Jun 7 13:40:32 2001] [error] Can't call method "getid" on an
undefined value at
/root/.cpan/build/HTML-Embperl-1.3.2/blib/lib/HTML/Embperl.pm line 1691.
make: *** [test_dynamic] Error 1
config.pl:
----------
# cat conf/config.pl
# This file is automaticly generated by Makefile.PL, do not edit
$EPPATH='/root/.cpan/build/HTML-Embperl-1.3.2' ;
$EPUSER='nobody' ;
$EPGROUP='root' ;
$EPPORT=8531 ;
$EPHTTPD='/client/sbin/apache' ;
$EPHTTPDDLL='' ;
$EPWIN32='' ;
$EPAPACHESRC='/usr/local/sw/src/nk/apache-1.3.14/src' ;
$EPAPACHE_SSL='0' ;
$EPSTRONGHOLD='' ;
$EPSSLDISABLE='' ;
$EPSTRONGHOLDKEY='' ;
$EPMODPERL='
LoadModule env_module
"/usr/local/sw/src/nk/apache-1.3.14/src/modules/standard/mod_env.so"
LoadModule alias_module
"/usr/local/sw/src/nk/apache-1.3.14/src/modules/standard/mod_alias.so"
LoadModule cgi_module
"/usr/local/sw/src/nk/apache-1.3.14/src/modules/standard/mod_cgi.so"
LoadModule dir_module
"/usr/local/sw/src/nk/apache-1.3.14/src/modules/standard/mod_dir.so"
LoadModule mime_module
"/usr/local/sw/src/nk/apache-1.3.14/src/modules/standard/mod_mime.so"
LoadModule perl_module
"/usr/local/sw/i386_lnx2/apache-1.3.14/libexec/libperl.so"
LoadModule action_module
"/usr/local/sw/i386_lnx2/apache-1.3.14/libexec/mod_actions.so"';
$EPSTARTUP='startup.pl';
$EPAPACHEVERSION='Server version: Apache/1.3.14 (Unix)';
$EPSESSIONVERSION='1.53';
$EP2='';
$EPMODPERLVERSION='1.25';
$EPNULL='/dev/null';
test.log:
---------
# cat test.log
[24497]MEM: Load /root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii in
HTML::Embperl::DOC::_1
[24497]CACHE: New File for
'/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii' (85363f0) in
'HTML::Embperl::DOC::_1' hash cache-key
'/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii'
[24497]REQ: Embperl 1.3.2 starting... Thu Jun 7 13:40:32 2001
[24497]REQ: No Safe Eval All Opcode allowed mode = mod_perl (3)
[24497]REQ: Package = HTML::Embperl::DOC::_1
[24497]TAB: get TabRow = 0, Used = 1
[24497]TAB: get TabRow = 0, Used = 2
[24497]TAB: get TabRow = 0, Used = 3
[24497]TAB: get TabCol = 0, Used = 1
[24497]TAB: get TabCol = 0, Used = 2
[24497]TAB: get TabCol = 0, Used = 3
[24497]TAB: get TabCount = 0, Used = 1
[24497]TAB: get TabCount = 0, Used = 2
[24497]TAB: get TabCount = 0, Used = 3
[24497]TAB: get TabMaxRow = 100, Used = 1
[24497]TAB: get TabMaxRow = 100, Used = 2
[24497]TAB: get TabMaxRow = 100, Used = 3
[24497]TAB: get TabMaxCol = 10, Used = 4
[24497]TAB: get TabMaxCol = 10, Used = 5
[24497]TAB: get TabMaxCol = 10, Used = 6
[24497]TAB: get TabMode = 17, Used = 7
[24497]TAB: get TabMode = 17, Used = 8
[24497]TAB: get TabMode = 17, Used = 9
[24497]TAB: get EscMode = 3, Used = 10
[24497]TAB: get EscMode = 3, Used = 11
[24497]TAB: get EscMode = 3, Used = 12
[24497]HDR: 2
[24497]HDR: Host=localhost:8531
[24497]HDR: User-Agent=libwww-perl/5.53
[24497]ENV: QUERY_STRING=
[24497]ENV: EMBPERL_SESSION_CLASSES=File Null
[24497]ENV: REMOTE_PORT=2586
[24497]ENV: HTTP_USER_AGENT=libwww-perl/5.53
[24497]ENV: EMBPERL_ALLOW=asc|\.htm$
[24497]ENV: HTTP_HOST=localhost:8531
[24497]ENV: EMBPERL_SRC=/root/.cpan/build/HTML-Embperl-1.3.2
[24497]ENV: GATEWAY_INTERFACE=CGI-Perl/1.1
[24497]ENV:
SESSION_FILE_DIRECTORY=/root/.cpan/build/HTML-Embperl-1.3.2/test/tmp
[24497]ENV: SCRIPT_NAME=/embperl/ascii
[24497]ENV: SERVER_NAME=localhost
[24497]ENV: MOD_PERL=mod_perl/1.25
[24497]ENV: CGIEMBPERL_OBJECT_BASE=epobase.htm
[24497]ENV:
SCRIPT_FILENAME=/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii
[24497]ENV: EMBPERL_DEBUG=133980157
[24497]ENV: CGIEMBPERL_OBJECT_FALLBACK=epofallback.htm
[24497]ENV:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/
X11:/usr/X11R6/bin:/opt/jre/bin:/root/bin:/usr/local/sw/i386_lnx2/mysql-3.2
3.28/bin
[24497]ENV: EMBPERL_MAILDEBUG=1
[24497]ENV: EMBPERL_SESSION_CLASS=Embperl
[24497]ENV: SERVER_ADDR=127.0.0.1
[24497]ENV: SERVER_PROTOCOL=HTTP/1.0
[24497]ENV: SERVER_SIGNATURE=
[24497]ENV:
PATH_TRANSLATED=/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii
[24497]ENV: LOC=embperl
[24497]ENV: SERVER_SOFTWARE=Apache/1.3.14 (Unix) Embperl/1.3.2
mod_perl/1.25 AuthMySQL/2.20
[24497]ENV: SERVER_ADMIN=[no address given]
[24497]ENV: REMOTE_ADDR=127.0.0.1
[24497]ENV: EMBPERL_VIRTLOG=/embperl/log
[24497]ENV: SESSION_DBI_DATASOURCE=dbi:mysql:session
[24497]ENV: DOCUMENT_ROOT=/root/.cpan/build/HTML-Embperl-1.3.2/test
[24497]ENV: REQUEST_URI=/embperl/ascii?
[24497]ENV:
EMBPERL_LOG=/root/.cpan/build/HTML-Embperl-1.3.2/test/tmp/test.log
[24497]ENV:
EMBPERL_SESSION_ARGS='Directory=/root/.cpan/build/HTML-Embperl-1.3.2/test/t
mp'
[24497]ENV: REQUEST_METHOD=GET
[24497]ENV: SERVER_PORT=8531
[24497]Formdata... length = 0
[24497]Using APACHE for output...
[24497]Reading /root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii as
input using PerlIO ...
[24497]ERR: 32: Line 1: Warning in Perl code: Use of uninitialized value
in subroutine entry at /root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii
in block starting at line 1.
[24497]ERR: 32: Line 1: Warning in Perl code: Use of uninitialized value
in subroutine entry at /root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii
in block starting at line 1.
[24497]SES: Received Cookie ID: New Cookie ID: Session data is NOT
modified
[24497]HDR: 3
[24497]HDR: Content-Length=3163
[24497]HDR: Connection=close
[24497]HDR: Content-Type=text/plain
[24497]PERF: input = /root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii
[24497]PERF: Time: 0 ms Evals: 0 No Evals to cache
[24497]Request finished. Thu Jun 7 13:40:32 2001
. Entry-SVs: 16635 -OBJs: 12 Exit-SVs: 16759 -OBJs: 14
[24497]MEM: Free buffer for
/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii in
HTML::Embperl::DOC::_1
[24497]CUP: ***** Cleanup package: HTML::Embperl::DOC::_1 *****
[24497]CUP: Source
[24497]CUP: leave unchanged &Execute
[24497]CUP: leave unchanged &MailFormTo
[24497]CUP: $cnt = 0
[24497]CUP: $col = 0
[24497]CUP: $dbgAllCmds = 0
[24497]CUP: $dbgCmd = 0
[24497]CUP: $dbgDefEval = 0
[24497]CUP: $dbgEnv = 0
[24497]CUP: $dbgEval = 0
[24497]CUP: $dbgFlushLog = 0
[24497]CUP: $dbgFlushOutput = 0
[24497]CUP: $dbgForm = 0
[24497]CUP: $dbgFunc = 0
[24497]CUP: $dbgHeadersIn = 0
[24497]CUP: $dbgImport = 0
[24497]CUP: $dbgInput = 0
[24497]CUP: $dbgLogLink = 0
[24497]CUP: $dbgMem = 0
[24497]CUP: $dbgProfile = 0
[24497]CUP: $dbgSession = 0
[24497]CUP: $dbgShowCleanup = 0
[24497]CUP: $dbgSource = 0
[24497]CUP: $dbgStd = 1
[24497]CUP: $dbgTab = 0
[24497]CUP: $dbgWatchScalar = 0
[24497]CUP: $escmode = 3
[24497]CUP: leave unchanged &exit
[24497]CUP: %fdat = ()
[24497]CUP: @ffld = ()
[24497]CUP: %fsplitfdat = ()
[24497]CUP: %http_headers_out = ()
[24497]CUP: %idat = ()
[24497]CUP: $maxcol = 0
[24497]CUP: $maxrow = 0
[24497]CUP: %mdat = (_session_id => e36982cb3525b1634a91fa43b6210f0b, )
[24497]CUP: $optAllFormData = 0
[24497]CUP: $optAllowZeroFilesize = 0
[24497]CUP: $optDisableChdir = 0
[24497]CUP: $optDisableEmbperlErrorPage = 0
[24497]CUP: $optDisableFormData = 0
[24497]CUP: $optDisableHtmlScan = 0
[24497]CUP: $optDisableInputScan = 0
[24497]CUP: $optDisableMetaScan = 0
[24497]CUP: $optDisableTableScan = 0
[24497]CUP: $optDisableVarCleanup = 0
[24497]CUP: $optEarlyHttpHeader = 0
[24497]CUP: $optKeepSpaces = 0
[24497]CUP: $optKeepSrcInMemory = 0
[24497]CUP: $optNoHiddenEmptyValue = 0
[24497]CUP: $optNoUncloseWarn = 0
[24497]CUP: $optOpcodeMask = 0
[24497]CUP: $optOpenLogEarly = 0
[24497]CUP: $optRawInput = 0
[24497]CUP: $optRedirectStdout = 0
[24497]CUP: $optReturnError = 0
[24497]CUP: $optSafeNamespace = 0
[24497]CUP: $optSendHttpHeader = 0
[24497]CUP: $optUndefToEmptyValue = 0
[24497]CUP: $req_rec = Apache=SCALAR(0x853655c)
[24497]CUP: $row = 0
[24497]CUP: $tabmode = 0
[24497]CUP: %udat = (_session_id => aab44f0fc556aae7cbfd5b03ae3abeb6, )
[24497]MEM: Load /root/.cpan/build/HTML-Embperl-1.3.2/test/html/pure.htm in
HTML::Embperl::DOC::_2
[24497]CACHE: New File for
'/root/.cpan/build/HTML-Embperl-1.3.2/test/html/pure.htm' (853d418) in
'HTML::Embperl::DOC::_2' hash cache-key
'/root/.cpan/build/HTML-Embperl-1.3.2/test/html/pure.htm'
[24497]REQ: Embperl 1.3.2 starting... Thu Jun 7 13:40:32 2001
[24497]REQ: No Safe Eval All Opcode allowed mode = mod_perl (3)
[24497]REQ: Package = HTML::Embperl::DOC::_2
[24497]TAB: get TabRow = 0, Used = 5
[24497]TAB: get TabRow = 0, Used = 6
[24497]TAB: get TabRow = 0, Used = 7
[24497]TAB: get TabCol = 0, Used = 5
[24497]TAB: get TabCol = 0, Used = 6
[24497]TAB: get TabCol = 0, Used = 7
[24497]TAB: get TabCount = 0, Used = 5
[24497]TAB: get TabCount = 0, Used = 6
[24497]TAB: get TabCount = 0, Used = 7
[24497]TAB: get TabMaxRow = 100, Used = 29
[24497]TAB: get TabMaxRow = 100, Used = 30
[24497]TAB: get TabMaxRow = 100, Used = 31
[24497]TAB: get TabMaxCol = 10, Used = 32
[24497]TAB: get TabMaxCol = 10, Used = 33
[24497]TAB: get TabMaxCol = 10, Used = 34
[24497]TAB: get TabMode = 17, Used = 35
[24497]TAB: get TabMode = 17, Used = 36
[24497]TAB: get TabMode = 17, Used = 37
[24497]TAB: get EscMode = 3, Used = 38
[24497]TAB: get EscMode = 3, Used = 39
[24497]TAB: get EscMode = 3, Used = 40
httpd.err.log:
--------------
# cat httpd.err.log
[24497]SES: Embperl Session management enabled (>= 1.50)
[Thu Jun 7 13:40:32 2001] [warn] [24497]ERR: 32: Line 1: Warning in Perl
code: Use of uninitialized value in subroutine entry at
/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii in block starting at
line 1.
[Thu Jun 7 13:40:32 2001] [warn] [24497]ERR: 32: Line 1: Warning in Perl
code: Use of uninitialized value in subroutine entry at
/root/.cpan/build/HTML-Embperl-1.3.2/test/html/ascii in block starting at
line 1.
[Thu Jun 7 13:40:32 2001] [error] Can't call method "getid" on an
undefined value at
/root/.cpan/build/HTML-Embperl-1.3.2/blib/lib/HTML/Embperl.pm line 1691.
perl -V:
--------
# /client/perl-5.6.1/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.2.14-11.lfs, archname=i686-linux
uname='linux web.bf-direkt.de 2.2.14-11.lfs #1 tue apr 18 20:02:40 edt
2000 i686 unknown '
config_args='-Ubincompat5005 -Uuselargefiles'
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='cc', ccflags ='-fno-strict-aliasing',
optimize='-O2',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)', 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='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
libc=/lib/libc-2.1.3.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 Jun 6 2001 18:46:06
@INC:
/client/perl-5.6.1/lib/5.6.1/i686-linux
/client/perl-5.6.1/lib/5.6.1
/client/perl-5.6.1/lib/site_perl/5.6.1/i686-linux
/client/perl-5.6.1/lib/site_perl/5.6.1
/client/perl-5.6.1/lib/site_perl
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Make Test Error, 1.3.2, modperl
Posted by Alvar Freude <al...@merz-akademie.de>.
Hi,
> This is a problem with Perl 5.6.0+ and it is fixed in Embperl 1.3.3
yes, i found the solution (changing two lines) in my mail-archive (but not
on the website archive, but perhaps I'm too stupid) and it works -- thanx.
Ciao
Alvar
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Make Test Error, 1.3.2, modperl
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> i have the same error as desribed in
>
> http://www.ecos.de/~mailarc/embperl/2001-05/msg00109.html
>
>
> All output and error-messages below ...
>
>
> Any ideas how to avoid this error?
>
This is a problem with Perl 5.6.0+ and it is fixed in Embperl 1.3.3
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org