Title: Re: [MP2] - Failure on Make Install
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
> [EMAIL PROTECTED] 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?
Stas Said -
>>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
>>ome/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod
>>ib/lib/Apache2/Const.pm
>>      $(NOECHO) $(POD2MAN) --section=3
>>e/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
 
Thanks for taking a look Stas, I'm not really sure I understand what you are saying, but below is what you asked for ..
 
 
[EMAIL PROTECTED] mod_perl-2.0.0-RC5]# grep POD2MAN Makefile | grep -v NOECHO
POD2MAN_EXE = /usr/bin/pod2man --release mod_perl-2.0.0-RC5
POD2MAN = $(PERL) -we '[EMAIL PROTECTED];for (keys %m){' \
-e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
        @$(POD2MAN) \
___________________________________________________
 
Same section as your example from my Makefile
        $(FULLPERL) -I$(INST_LIB) -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod xs/ModPerl/Const/Const.pm /home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/Const.pod blib/lib/ModPerl/Const.pm
        $(NOECHO) $(POD2MAN) --section=3 /home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/Const.pod $(INST_MAN3DIR)/ModPerl::Const.$(MAN3EXT)
 
Thanks Again
-Chris
 

Reply via email to