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?
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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com