Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 72064 invoked from network); 18 Apr 2005 17:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2005 17:35:37 -0000 Received: (qmail 79763 invoked by uid 500); 18 Apr 2005 17:35:24 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 79728 invoked by uid 500); 18 Apr 2005 17:35:24 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 79714 invoked by uid 99); 18 Apr 2005 17:35:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.logilune.com (HELO mail.logilune.com) (195.80.154.36) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 10:35:23 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 7B6411E171D; Mon, 18 Apr 2005 19:35:20 +0200 (CEST) Message-ID: <4263EFD7.8070004@stason.org> Date: Mon, 18 Apr 2005 13:35:19 -0400 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050322 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Harald Meier Cc: modperl@perl.apache.org Subject: Re: mod_perl 2.0.0-RC5: make install crashes References: <002a01c54403$fab31c40$4000fe0a@rtsviec64> In-Reply-To: <002a01c54403$fab31c40$4000fe0a@rtsviec64> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Harald Meier wrote: > Dear list members, > > I get the following error at make install: > > ----------------------------------------------------------- > /usr/bin/perl -Iblib/lib > -I/usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/Apache-Test/lib > -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/Apache2/Status.pm > /usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/docs/api/Apache2/Status.pod > blib/lib/Apache2/Status.pm > /usr/bin/perl -we '%m=@ARGV;for (keys %m){' -e 'next if -e $m{$_} && -M > $m{$_} < -M $_ && -M $m{$_} < -M "Makefile";' -e 'print "Manifying > $m{$_}\n";' -e 'system(qq[$^X ].q["-I/usr/lib/perl5/5.6.1/i586-linux" > "-I/usr/lib/perl5/5.6.1" /usr/bin/pod2man --release mod_perl-2.0.0-RC5 > ].qq[$_>$m{$_}])==0 or warn "Couldn\047t install $m{$_}\n";' -e > 'chmod(oct(644)), $m{$_} or warn "chmod 644 $m{$_}: $!\n";}' --section=3 > /usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/docs/api/Apache2/Status.pod > blib/man3/.3pm > Unrecognized switch: --section=3 (-h will show valid options). > make: *** [glue_pods] Error 255 > > ----------------------------------------------------------- > > I had to change the following code to get it work: > > Makefile.PL, line 801: > old: s/pod2man\s*$/pod2man --release mod_perl-$ver/m; > new: s/pod2man\s*$/pod2man --release mod_perl-$ver > --section=3/m; Harald, shouldn't it be reversed (old<->new) like the one below? using diff(3) is a match better way to send patches :) > lib/ModPerl/BuildMM.pm, line 258: > old: '$(NOECHO) $(POD2MAN) --section=3 ' . > new: '$(NOECHO) $(POD2MAN) ' . > > I am using perl 5.6.1, Apache 2.0.54. > > Am I missing something or did I do anything wrong? The Pod::Man module v1.15 and pod2man 1.4, coming with stock perl-5.6.1 do support --section option. What's your POD::Man and pod2man versions? Are you sure it's a real 5.6.1? please post the output of 'perl -V'. Thanks. -- __________________________________________________________________ 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