You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Gert Jan Schipper <gs...@cordys.com> on 2005/04/21 16:54:13 UTC

mod_perl problem

-------------8<---------- Start Bug Report ------------8<----------

1. Problem Description:

 

  After make install I get the following error:

 

/usr/bin/perl -Iblib/lib -I/tmp/mod_perl-2.0.0-RC5/Apache-Test/lib
-MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm
/tmp/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod
blib/lib/ModPerl/RegistryLoader.pm

Unrecognized switch: --section=3  (-h will show valid options).

make: *** [glue_pods] Error 29

 

2. Used Components and their Configuration:

 

*** mod_perl version 1.999022

 

*** using /tmp/mod_perl-2.0.0-RC5/lib/Apache2/BuildConfig.pm

 

*** Makefile.PL options:

  MP_APR_LIB     => aprext

  MP_APXS        => /root/httpd/prefork/bin/apxs

  MP_COMPAT_1X   => 1

  MP_GENERATE_XS => 1

  MP_LIBNAME     => mod_perl

  MP_USE_DSO     => 1

 

 

*** /usr/local/apache2/bin/httpd -V

Server version: Apache/2.0.52

Server built:   Apr 21 2005 15:50:34

Server's Module Magic Number: 20020903:9

Architecture:   32-bit

Server compiled with....

 -D APACHE_MPM_DIR="server/mpm/worker"

 -D APR_HAS_SENDFILE

 -D APR_HAS_MMAP

 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)

 -D APR_USE_SYSVSEM_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_SCOREBOARD="logs/apache_runtime_status"

 -D DEFAULT_ERRORLOG="logs/error_log"

 -D AP_TYPES_CONFIG_FILE="conf/mime.types"

 -D SERVER_CONFIG_FILE="conf/httpd.conf"

 

 

*** (apr|apu)-config linking info

 

 -L/usr/local/apache2/lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl

 -L/usr/local/apache2/lib -laprutil-0 -lgdbm -ldb-4.1 -lexpat

 

 

 

*** /usr/bin/perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:

  Platform:

    osname=linux, osvers=2.4.21-1.1931.2.393.entsmp,
archname=i386-linux-thread-multi

    uname='linux por'

    config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr
-Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'

    hint=recommended, useposix=true, d_sigaction=define

    usethreads=define use5005threads=undef'

 useithreads=define usemultiplicity=

    useperlio= d_sfio=undef uselargefiles=define usesocks=undef

    use64bitint=undef use64bitall=un uselongdouble=

    usemymalloc=, bincompat5005=undef

  Compiler:

    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',

    optimize='',

    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'

    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-19)',
gccosandvers=''

gccversion='3.2.3 200305'

    intsize=o, longsize=s, ptrsize=l, doublesize=8, byteorder=1234

    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12

    ivtype='long'

k', ivsize=4'

ivtype, nvtype='double'

o_no', nvsize=, Off_t='', lseeksize=8

    alignbytes=4, prototype=define

  Linker and Libraries:

    ld='gcc'

l', ldflags =' -L/usr/local/lib'

ldflags_use'

    libpth=/usr/local/lib /lib /usr/lib

    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil

    perllibs=

    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper

    gnulibc_version='2.3.2'

  Dynamic Linking:

    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'

    cccdlflags='-fPIC'

ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'

 

 

Characteristics of this binary (from libperl): 

  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT

  Locally applied patches:

          MAINT18379

  Built under linux

  Compiled at Sep 15 2003 10:03:52

  %ENV:

    PERL_LWP_USE_HTTP_10="1"

  @INC:

    /usr/lib/perl5/5.8.0/i386-linux-thread-multi

    /usr/lib/perl5/5.8.0

    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi

    /usr/lib/perl5/site_perl/5.8.0

    /usr/lib/perl5/site_perl

    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi

    /usr/lib/perl5/vendor_perl/5.8.0

    /usr/lib/perl5/vendor_perl

    /usr/lib/perl5/5.8.0/i386-linux-thread-multi

    /usr/lib/perl5/5.8.0

    .

 

*** Packages of interest status:

 

Apache2         : -

Apache2::Request: -

CGI             : -

LWP             : 5.65

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 t/REPORT on Thu Apr 21 14:47:07 2005 GMT.

 

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

 

Note: Complete the rest of the details and post this bug report to

modperl <at> perl.apache.org. To subscribe to the list send an empty

email to modperl-subscribe@perl.apache.org.

 

 

 

CORDYS just collaborate


Gert Jan Schipper

Center of Excellence

 

T +31 (0)341 37 5699

F +31 (0)341 37 5500

M +31 (0)653 45 7734

E gschipper@cordys.com

 

Subscribe to Engage
<http://www.cordys.com/en/newsletter/newsletter.html> , our free
e-newsletter, to keep

up to date on Cordys and developments in Application

Integration and Business Process Management.

 


**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.
**********************************************************************



Re: mod_perl problem

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Gert Jan Schipper wrote:

> -------------8<---------- Start Bug Report ------------8<----------
>
> 1. Problem Description:
>
>  
>
>   After make install I get the following error:
>
>  
>
> /usr/bin/perl -Iblib/lib -I/tmp/mod_perl-2.0.0-RC5/Apache-Test/lib 
> -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod 
> ModPerl-Registry/lib/ModPerl/RegistryLoader.pm 
> /tmp/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod 
> blib/lib/ModPerl/RegistryLoader.pm
>
> Unrecognized switch: --section=3  (-h will show valid options).
>
> make: *** [glue_pods] Error 29
>
See this thread, particularly the patch at the bottom of this message:
http://marc.theaimsgroup.com/?l=apache-modperl&m=111385166921550&w=2

END
-----------------------------------------------------------------------------
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.558.6268 (Direct)
E-Mail: pgollucci@liquidation.com
Web:    http://www.liquidation.com