perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Bohlen <fire...@sun-powered.de>
Subject [mp2.0] make test fails; mod_perl also does not work
Date Sun, 25 May 2003 08:14:25 GMT
Hi,

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

My problem is that "make test" of mod_perl1.99_09 fails. So does older
versions. Best I include the output of the make test:

-- snip --
(4352) thing:/usr/share/src/mod_perl-1.99_09# make test
cd "src/modules/perl" && make -f Makefile.modperl
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -verbose=0 
Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Const/Const.so'
for module ModPerl::Const: ld.so.1: /usr/bin/perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Const/Const.so:
symbol Perl_sv_2pv: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm
line 229.
 at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/Apache/Const.pm line 3
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/Apache/Const.pm
line 3.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/Apache/Const.pm
line 3.
Compilation failed in require at /usr/share/src/mod_perl-1.99_09/t/response/TestApache/subprocess.pm
line 12.
BEGIN failed--compilation aborted at /usr/share/src/mod_perl-1.99_09/t/response/TestApache/subprocess.pm
line 12.
Compilation failed in require at Apache-Test/lib/Apache/TestConfigPerl.pm line 549.
Bareword "Apache::OK" not allowed while "strict subs" in use at /usr/share/src/mod_perl-1.99_09/t/response/TestDirective/perlmodule.pm
line 24.
Compilation failed in require at Apache-Test/lib/Apache/TestConfigPerl.pm line 549.
Undefined subroutine &TestDirective::perlmodule::APACHE_TEST_CONFIGURE called at Apache-Test/lib/Apache/TestConfigPerl.pm
line 553.
Bareword "Apache::OK" not allowed while "strict subs" in use at /usr/share/src/mod_perl-1.99_09/t/response/TestDirective/perlrequire.pm
line 26.
Compilation failed in require at Apache-Test/lib/Apache/TestConfigPerl.pm line 549.
Undefined subroutine &TestDirective::perlrequire::APACHE_TEST_CONFIGURE called at Apache-Test/lib/Apache/TestConfigPerl.pm
line 553.
*** root mode: changing the fs ownership to 'nobody' (60001:60001)
/usr/local/apache2/bin/httpd  -d /usr/share/src/mod_perl-1.99_09/t -f /usr/share/src/mod_perl-1.99_09/t/conf/httpd.conf
-DAPACHE2 
using Apache/2.0.45 (prefork MPM)

waiting for server to start: .[Sun May 25 10:08:55 2003] [error] Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Util/Util.so'
for module ModPerl::Util: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error:
file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Util/Util.so:
symbol Perl_sv_2pv: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/XSLoader.pm
line 83.
 at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/Apache/XSLoader.pm line 16
Compilation failed in require at /usr/share/src/mod_perl-1.99_09/t/conf/modperl_extra.pl line
6.
BEGIN failed--compilation aborted at /usr/share/src/mod_perl-1.99_09/t/conf/modperl_extra.pl
line 6.
Compilation failed in require at /usr/share/src/mod_perl-1.99_09/t/conf/modperl_startup.pl
line 17.
        ...propagated at /usr/share/src/mod_perl-1.99_09/t/conf/modperl_startup.pl line 18.
BEGIN failed--compilation aborted at /usr/share/src/mod_perl-1.99_09/t/conf/modperl_startup.pl
line 20.
Compilation failed in require at (eval 1) line 1.

[Sun May 25 10:08:55 2003] [error] Can't load Perl file: /usr/share/src/mod_perl-1.99_09/t/conf/modperl_startup.pl
for server localhost:8529, exiting...

.............................................................
waiting for server to start: giving up after 61 secs
!!! server failed to start! (t/logs/error_log wasn't created, start the server in the debug
mode)
*** Error code 1
make: Fatal error: Command failed for target `run_tests'
(4353) thing:/usr/share/src/mod_perl-1.99_09# 
-- snip --

I have no idea what happens there. Other perl programs run.

2. Used Components and their Configuration:

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_AP_PREFIX   => /usr/local/apache2
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.45
Server built:   Apr 26 2003 18:56:27
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
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_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/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/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris
    uname='sunos thing 5.9 generic_112233-04 sun4u sparc sunw,ultrasparc-iii-engine '
    config_args='-Dcc=gcc'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='3.2.2', gccosandvers='solaris2.9'
    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 -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at May 21 2003 20:59:17
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.0/sun4-solaris
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl
    .

This report was generated by t/REPORT on Sun May 25 08:03:45 2003 GMT.

-------------8<---------- End Bug Report --------------8<----------

Yours

-- 
-- Olaf Bohlen --------------------- cell +49-172-4561817 --
-- Graefenberger Str. 51 -- mail <firefox@sun-powered.de> --
-- 91054 Buckenhof ------ http http://www.sun-powered.de/ --
-- Germany ---------------------- irc firefox01 (IRC-Net) --


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message