mod_perl 2.0.0-RC5: make install crashes

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

From: Harald Meier
Subject: mod_perl 2.0.0-RC5: make install crashes
Date: 10:47 on 18 Apr 2005
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;

    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?

Thanks for your help,
Harald.

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