Hi :)
I've just downloaded MP2 RC1 and I decided to make some tests.
First, I tested it against my win32 (win 2000 advanced server), apache 2.0.52
and ActivePerl 5.8.4
some were skipped due to missing modules (module deflate and module proxy)
When hookrun.t is reached at 1/10
a window opens with title: Apache.exe - Application Error
The instruction at "0x6eecdad9" referenced memory ar "0x00000000". The memory
could not be "read".
and when I press OK I get in the console:
t\hooks\hookrun.........................ok 1/10request has failed (the response
code was: 500)
see t/logs/error_log for more details
t\hooks\hookrun.........................dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t\hooks\init............................request has failed (the response code wa
s: 500)
see t/logs/error_log for more details
t\hooks\init............................dubious
Test returned status 77 (wstat 19712, 0x4d00)
obviously Apache is not running anymore so I cancel the remainnig tests.
###########################################
###########################################
Next i tested it against my Cygwin installation: apache 2.0.52, perl 5.8.0
$ make
cd "src/modules/perl" && make
make[1]: Entering directory `/usr/src/mod_perl-2.0.0-RC1/src/modules/perl'
gcc -I/usr/src/mod_perl-2.0.0-RC1/src/modules/perl -I/usr/src/mod_perl-2.0.0-RC1
/xs -I/home/Administrator/httpd/include -I/home/Administrator/httpd/include -I/
home/Administrator/httpd/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/
usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE -DMOD_PERL -DMP_COMPAT_1X -DCYGWIN -
O3 \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
mod_perl.c: In function `modperl_shutdown':
mod_perl.c:61: `my_perl' undeclared (first use in this function)
mod_perl.c:61: (Each undeclared identifier is reported only once
mod_perl.c:61: for each function it appears in.)
mod_perl.c: In function `modperl_hook_post_config_last':
mod_perl.c:676: `my_perl' undeclared (first use in this function)
mod_perl.c: In function `modperl_child_exit':
mod_perl.c:770: `my_perl' undeclared (first use in this function)
mod_perl.c: In function `modperl_response_handler':
mod_perl.c:990: `my_perl' undeclared (first use in this function)
mod_perl.c: In function `modperl_response_handler_cgi':
mod_perl.c:1028: `my_perl' undeclared (first use in this function)
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory `/usr/src/mod_perl-2.0.0-RC1/src/modules/perl'
make: *** [modperl_lib] Error 2
###########################################
###########################################
I managed to test RC1 on some other platforms (I registered at
Hewlett-Packard's Test Drive program (you can do it at www.hp.com))
and they gave me ftp and telnet access to these platforms:
###########################################
###########################################
Platform: HP Tru64 Unix 4.0g(JAVA) AS1200 [EMAIL PROTECTED] (ev56)
Server: Apache 2.0.52 (default install (./configure --prefix=/path/to/dir))
Perl:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration
osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
uname='osf1 spe145.testdrive.compaq.com v4.0 1530 alpha '
config_args='-ds -e'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
Compiler:
cc='cc', ccflags ='-std -fprm d -ieee -D_INTRINSICS
-I/usr/local/include -DLANGUAGE_C',
optimize='-O4',
cppflags='-std -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C'
ccversion='V6.3-129', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Built under dec_osf
Compiled at Dec 27 2001 16:01:05
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /var/shlib
libs=-ldbm -ldb -lm -liconv -lutil
perllibs=-lm -liconv -lutil
libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-rpath,/usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE'
cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym
-std -s -L/usr/local/lib'
ModPerl: 2.0.0-RC1 (dynamic build)
Running Makefile.PL I get:
spe145.testdrive.hp.com> perl Makefile.PL
MP_APXS=/house/doink123/ap_true64_4g/bin/apxs
Reading Makefile.PL args from @ARGV
MP_APXS = /house/doink123/ap_true64_4g/bin/apxs
************* WARNING *************
Your current configuration will most likely trigger core dumps, suggestions:
*) Do not configure mod_perl as a DSO
*) Rebuild Perl without malloc pollution (Configure -Ubincompat5005)
************* WARNING *************
Configuring Apache/2.0.52 mod_perl/1.99_18-dev Perl/v5.6.1
Checking if your kit is complete...
Looks good
'NO_META' is not a known MakeMaker parameter name.
When Building there are these two warnings:
----------------------^
cc: Warning: /usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE/perl.h, line 23: The
redefinition of the macro "VOIDUSED" conflicts with a current definition because
the replacement lists differ. The redefinition is now in effect. (macroredef)
#define VOIDUSED 1
-----------------^
cc: Warning: /usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE/config.h, line 41: Th
e redefinition of the macro "__attribute__" conflicts with a current definition
because the spelling of one or more parameters is different. The redefinition i
s now in effect. (macroredef)
#define __attribute__(_arg_)
and finally the build fails with this:
rm -f mod_perl.so
ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib mod_perl
.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl
_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.l
o modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo modperl_b
ucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_
cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl_sys.lo
modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_constants.lo m
odperl_apache_compat.lo modperl_error.lo modperl_debug.lo modperl_common_util.lo
modperl_common_log.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo m
odperl_xsinit.lo modperl_exports.lo -Wl,-rpath,/usr/local/lib/perl5/5.6.1/alpha
-dec_osf/CORE -L/usr/local/lib /usr/local/lib/perl5/5.6.1/alpha-dec_osf/auto/Dy
naLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE -lperl -lm
-liconv -lutil -o mod_perl.so
ld:
Invalid flag usage: Wl,-rpath,/usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE, -Wx
,-option must appear after -_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
*** Exit 1
Stop.
*** Exit 1
Stop.
###########################################
###########################################
###########################################
###########################################
Platform: HP-UX 11i v2 rp3410 [EMAIL PROTECTED] 8800 PA-RISC
Server: Apache 2.0.52 (default install (./configure --prefix=/path/to/dir))
Perl:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux bertha b.11.00 u 9000800 136901587 unlimited-user license '
config_args='-des -Dcc=gcc -Dcf_by=ActiveState [EMAIL PROTECTED]
tate.com -Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpt
h= -Uloclibpth= -Accflags=-fPIC -Dd_attribut=undef -Dcccdlflags=-fPIC -Darchname
=PA-RISC1.1 -Duselargefiles -Accflags=-mpa-risc-1-1 -Dprefix=/opt/perl -Duselarg
efiles'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -f
PIC -mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4',
optimize='-O',
cppflags='-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOUR
CE -fPIC -mpa-risc-1-1 -fno-strict-aliasing'
ccversion='', gccversion='3.2 20020708 (experimental)', gccosandvers='hpux11
.00'
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 =''
libpth=/lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lndir -lcrypt -lsec -lpthread
perllibs=-lnsl -lnm -lmalloc -ldld -lm -lndir -lcrypt -lsec -lpthread
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferr
ed '
cccdlflags='-fPIC', lddlflags='-shared -static-libgcc -fPIC'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_
CONTEXT
Locally applied patches:
ActivePerl Build 806
Built under hpux
Compiled at May 2 2003 21:44:05
ModPerl: 2.0.0-RC1 (dynamic build)
spe191> make
cd "src/modules/perl" && make
gcc -I/house/doink123/mod_perl-2.0.0-RC1/src/modules/perl -I/house/doink
123/mod_perl-2.0.0-RC1/xs -I/house/doink123/ap_hpux/include -I/house/doink123/ap
_hpux/include -I/house/doink123/ap_hpux/include -D_POSIX_C_SOURCE=199506L -D_RE
ENTRANT -D_HPUX_SOURCE -fPIC -mpa-risc-1-1 -fno-strict-aliasing -I/opt/perl/lib/
5.8.0/PA-RISC1.1-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_XOPEN_S
OURCE_EXTENDED -O -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
sh: gcc: not found.
*** Error exit code 127
Stop.
*** Error exit code 1
Stop.
Makefile.PL doesn't detect that cc instead of gcc should be used
###########################################
###########################################
###########################################
###########################################
Platform: NetBSD 1.6 on Intel ProLiant DL360 [EMAIL PROTECTED] (P3)
Server: Apache 2.0.52 (default install (./configure --prefix=/path/to/dir))
Perl:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=netbsd, osvers=1.6, archname=i386-netbsd
uname='netbsd horn 1.6 netbsd 1.6 (generic) #0: sun sep 8 19:43:40 utc 2002
[EMAIL PROTECTED]:autobuildi386objautobuildsrcsysarchi386compilegeneric i
386 '
config_args='-sde -Dprefix=/usr/pkg -Dscriptdir=/usr/pkg/bin -Darchname=i386
-netbsd -Doptimize=-O2 -Dcc=cc -Uusemymalloc -Uinstallusrbinperl -Dlibswanted=m
crypt -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/pkg/include'
ccversion='', gccversion='2.95.3 20010315 (release) (NetBSD nb3)', gccosandv
ers=''
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
=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/u
sr/local/lib -L/usr/pkg/lib'
libpth=/usr/pkg/lib /usr/lib
libs=-lm -lcrypt
perllibs=-lm -lcrypt
libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-whole-archive
-lgcc -Wl,-no-whole-archive -Wl,-E -Wl,-R/usr/pkg/lib/perl5
/5.8.0/i386-netbsd/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared -Wl,-R/usr/pk
g/lib -L/usr/pkg/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under netbsd
Compiled at Oct 26 2002 21:35:12
ModPerl: 2.0.0-RC1 (dynamic build)
everything seems ok but the test can not be run
the allowed protocols are only ftp and telnet, so I suppose that this is the
reason "the server is not starting"
###########################################
###########################################
###########################################
###########################################
Platform: FreeBSD 5.2.1 on Intel ProLiant DL360 [EMAIL PROTECTED] (P3)
Server: Apache 2.0.52 (default install (./configure --prefix=/path/to/dir))
Perl:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=freebsd, osvers=5.2-beta, archname=i386-freebsd
uname='freebsd freebsd.org 5.2-beta freebsd 5.2-beta #0: thu dec 4 18:51:41
pst 2003 [EMAIL PROTECTED]:usrsrcsysmagickernelpath i386 '
config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.6.1/m
ach -Dprivlib=/usr/local/lib/perl5/5.6.1 -Dman3dir=/usr/local/lib/perl5/5.6.1/ma
n/man3 -Dsitearch=/usr/local/lib/perl5/site_perl/5.6.1/mach -Dsitelib=/usr/local
/lib/perl5/site_perl/5.6.1 -Dscriptdir=/usr/local/bin -Dcc=cc -Ui_malloc -Ui_ico
nv -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -Ui_gdbm -Dusemym
alloc=n'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-st
rict-aliasing -I/usr/local/include',
optimize='-O -pipe -mcpu=pentiumpro',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN"
-fno-strict-alia
sing -I/usr/local/include'
ccversion='', gccversion='3.3.3 [FreeBSD] 20031106', 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
=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lc -lcrypt -lutil
perllibs=-lm -lc -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under freebsd
Compiled at Dec 5 2003 03:03:19
ModPerl: 2.0.0-RC1 (dynamic build)
Build completed successfuly with some warnings about:
In file included from
/house/doink123/mod_perl-2.0.0-RC1/src/modules/perl/modperl_perl_includes.h:65,
from
/house/doink123/mod_perl-2.0.0-RC1/src/modules/perl/modperl_common_includes.h:23,
from modperl_common_log.c:16:
/usr/local/lib/perl5/5.6.1/mach/CORE/perl.h:23:1: warning: "VOIDUSED" redefined
In file included from
/house/doink123/mod_perl-2.0.0-RC1/src/modules/perl/modperl_perl_includes.h:27,
from
/house/doink123/mod_perl-2.0.0-RC1/src/modules/perl/modperl_common_includes.h:23,
from modperl_common_log.c:16:
/usr/local/lib/perl5/5.6.1/mach/CORE/config.h:3118:1: warning: this is the
location of the previous definition
Again I couldn't test it, because the guys at HP don't allow http connections
###########################################
###########################################
PS. More platforms coming soon :)))
-----------------------------------------------------------------
Всичко е по-бързо и сигурно с БТК ADSL! http://www.telecom.bg
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html