Re: mod_perl 2.0.0-RC5: make install crashes

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

From: Stas Bekman
Subject: Re: mod_perl 2.0.0-RC5: make install crashes
Date: 20:08 on 18 Apr 2005
Stas Bekman wrote:
> Stas Bekman wrote:
> 
>> 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, please apply this patch, rebuild mod_perl from scratch and then 
'make install' should work just fine.

Index: lib/ModPerl/BuildMM.pm
===================================================================
--- lib/ModPerl/BuildMM.pm      (revision 161771)
+++ lib/ModPerl/BuildMM.pm      (working copy)
@@ -255,7 +255,7 @@
                  $man =~ s!/!::!g;

                  push @target,
-                    '$(NOECHO) $(POD2MAN) --section=3 ' .
+                    '$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
                      "$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)"
              }
          }


        -- 
        __________________________________________________________________
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

mod_perl 2.0.0-RC5: make install crashes
Harald Meier 10:47 on 18 Apr 2005

Re: mod_perl 2.0.0-RC5: make install crashes
Stas Bekman 17:35 on 18 Apr 2005

Re: mod_perl 2.0.0-RC5: make install crashes
Stas Bekman 18:09 on 18 Apr 2005

Re: mod_perl 2.0.0-RC5: make install crashes
Stas Bekman 20:08 on 18 Apr 2005

Re: mod_perl 2.0.0-RC5: make install crashes
Harald Meier 07:31 on 19 Apr 2005

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