You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by cfaust-dougot <cf...@doyougot.com> on 2005/04/18 19:33:44 UTC

[MP2] - Failure on Make Install

Folks, have what I hope is a little problem during the install of mod_perl.
 
1. Problem Description:
 
I just downloaded the current mod_perl from the site.
mod_perl-2.0-current.tar.gz 4/18/2005
 
Configured and built as outlined in the docs - everything went fine, test showed all testes being successful (3 tests skipped). 
 
When I went to "Make Install", it ended with the following
 
make[1]: Leaving directory `/home/xxx/mod_perl-2.0.0-RC5/xs'
/usr/bin/perl -Iblib/lib -I/home/xxx/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/xxx/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
 
So I ran it with the -h
[root@zbweb1 mod_perl-2.0.0-RC5]# /usr/bin/perl -Iblib/lib -I/home/x/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/x/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod blib/lib/ModPerl/RegistryLoader.pm -h
expecting 3 arguments: pm, pod, dst at blib/lib/ModPerl/BuildMM.pm line 282.
 
Any suggestions?
 
RH Linux
Apache 2.0.54
 
Thanks
-Chris
 
2. Used Components and their Configuration:
*** mod_perl version 1.999022
*** using /home/zerobrokerfees/mod_perl-2.0.0-RC5/lib/Apache2/BuildConfig.pm
*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2/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.54
Server built:   Apr 18 2005 12:19:15
Server's Module Magic Number: 20020903:9
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_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_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"

*** (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 -lexpat
 
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.21-14.elsmp, archname=i386-linux-thread-multi
    uname='linux twe'
    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-42)', 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='long'
known_extensi, nvtype='double', nvsize=, Off_t='', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc'
l', ldflags =''
    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 Oct  5 2004 13:02:53
  %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             : 2.89
LWP             : 5.65
mod_perl        : 1.9909
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 Mon Apr 18 17:30:08 2005 GMT.

Re: [MP2] - Failure on Make Install

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
cfaust-dougot wrote:

> *** Packages of interest status:
> Apache2         : -
> Apache2::Request: -
> CGI             : 2.89
> LWP             : 5.65
> mod_perl        : 1.9909
> mod_perl2       : -

This isn't related to you make install error, but you'll want to upgrade 
CGI.pm
to version 3.07 and apply the patches to get version 3.08 because once 
you fix the make install error this _will_ become an issue if you try to 
use CGI.pm under modperl2.

 http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=111289411808089&w=2

HTH

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


Re: [MP2] - Failure on Make Install

Posted by Stas Bekman <st...@stason.org>.
cfaust-dougot wrote:
> Folks, have what I hope is a little problem during the install of mod_perl.
>  
> 1. Problem Description:
>  
> I just downloaded the current mod_perl from the site.
> mod_perl-2.0-current.tar.gz 4/18/2005
>  
> Configured and built as outlined in the docs - everything went fine, test showed all testes being successful (3 tests skipped). 
>  
> When I went to "Make Install", it ended with the following
>  
> make[1]: Leaving directory `/home/xxx/mod_perl-2.0.0-RC5/xs'
> /usr/bin/perl -Iblib/lib -I/home/xxx/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/xxx/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
>  
> So I ran it with the -h
> [root@zbweb1 mod_perl-2.0.0-RC5]# /usr/bin/perl -Iblib/lib -I/home/x/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/x/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod blib/lib/ModPerl/RegistryLoader.pm -h
> expecting 3 arguments: pm, pod, dst at blib/lib/ModPerl/BuildMM.pm line 282.
>  
> Any suggestions?

The error is coming from pod2man, not the last command that you see:

In Makefile you can see:

	$(FULLPERL) -I$(INST_LIB) 
-I/home/stas/apache.org/modperl-2.0/Apache-Test/lib -MModPerl::BuildMM -e 
ModPerl::BuildMM::glue_pod xs/./Apache2/Const/Const.pm 
/home/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod 
blib/lib/Apache2/Const.pm
	$(NOECHO) $(POD2MAN) --section=3 
/home/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod 
$(INST_MAN3DIR)/Apache2::Const.$(MAN3EXT)

I can see that on my machine the second command is not even run, since 
POD2MAN is not defined. Please take a look at your Makefile, what's the 
value of POD2MAN? e.g.:

grep POD2MAN Makefile | grep -v NOECHO

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com