Re: [MP2] - Failure on Make Install

[prev] [thread] [next] [Date index for 2005/04/18]

From: Stas Bekman
Subject: Re: [MP2] - Failure on Make Install
Date: 18:07 on 18 Apr 2005
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@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

[MP2] - Failure on Make Install
cfaust-dougot 17:33 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Philip M. Gollucci 17:39 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 17:42 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 18:07 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 18:23 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 18:44 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 19:17 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 19:26 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 19:57 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 20:06 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 20:07 on 18 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52