Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 58136
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: bitcard [...] spamwagon.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Perldoc::Toman.pm broken because pod2man doesn't exist
Download (untitled) / with headers
text/plain 767b
Strawberry Perl 5.12.0 This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-thread windows32 jerbraun-dev 2.6.1 7600 i686-pc Intel unknown MinGW I have PERLDOC set to: -n "groff.exe -E -mtty-char -Tascii -P-c" perldoc MODULENAME used to work great, but now fails with: Error while formatting with Pod::Perldoc::ToMan: Can't find a pod2man?! (pod2man) Aborting at C:/Strawberry/perl/lib/Pod/Perldoc/Toman.pm line 59. If you create c:/Strawberry/perl/bin/pod2man from pod2man.bat, then this works great. So either Perldoc.pm needs to be changed to look for pod2man.bat on windows, or Strawberry Perl should probably just distribute a pod2man next to pod2man.bat. The same is probably true of the other pod2*.bat utilities as well.
Download (untitled) / with headers
text/plain 1.7k
On Fri Jun 04 12:40:51 2010, squidevil wrote: Show quoted text
> Strawberry Perl 5.12.0 > This is perl 5, version 12, subversion 0 (v5.12.0) built for > MSWin32-x86-multi-thread > windows32 jerbraun-dev 2.6.1 7600 i686-pc Intel unknown MinGW > > I have PERLDOC set to: -n "groff.exe -E -mtty-char -Tascii -P-c" > perldoc MODULENAME used to work great, but now fails with: > Error while formatting with Pod::Perldoc::ToMan: > Can't find a pod2man?! (pod2man) > Aborting at C:/Strawberry/perl/lib/Pod/Perldoc/Toman.pm line 59. > If you create c:/Strawberry/perl/bin/pod2man from pod2man.bat, then this > works great. > > So either Perldoc.pm needs to be changed to look for pod2man.bat on > windows, or Strawberry Perl should probably just distribute a pod2man > next to pod2man.bat. > > The same is probably true of the other pod2*.bat utilities as well.
Here's the deal: The perl interpreter's build process is not copying the pod2* files over, apparently. They're not in perl/lib/.packlist. If Pod::Text did not need updated, (which installs updated versions of the pod2* scripts, then creates pod2*.bat files from them) then we have the conditions for this bug. Strawberry Perl's build process checks for any "dual-life" distributions that need updated, so 5.10.x versions of Strawberry Perl won't have this bug, but 5.12.x versions will. "cpan> force install Pod::Text" should fix the problem for you. Three things need done in the future. 1) WORKAROUND: Strawberry should force the installation of the podlators dist. 2) Part A: p5p (the people that maintain the perl source itself) or the podlators maintainer (will have to ask which one of these two applies) needs told that this is happening so they can fix this in perl itself. 3) Part B: Pod::Perldoc needs updated to look for pod2*.bat.
Subject: Re: [rt.cpan.org #58136] Perldoc::Toman.pm broken because pod2man doesn't exist
Date: Fri, 04 Jun 2010 14:04:32 -0700
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: "Jeremy T. Braun" <jtbraun [...] theweirdhotel.net>
Download (untitled) / with headers
text/plain 1.1k
On 6/4/2010 12:28 PM, Curtis Jewell via RT wrote: Show quoted text
> Here's the deal: The perl interpreter's build process is not copying the > pod2* files over, apparently. They're not in perl/lib/.packlist. > > If Pod::Text did not need updated, (which installs updated versions of > the pod2* scripts, then creates pod2*.bat files from them) then we have > the conditions for this bug. Strawberry Perl's build process checks for > any "dual-life" distributions that need updated, so 5.10.x versions of > Strawberry Perl won't have this bug, but 5.12.x versions will. > > "cpan> force install Pod::Text" should fix the problem for you. > > Three things need done in the future. > > 1) WORKAROUND: Strawberry should force the installation of the podlators > dist. > 2) Part A: p5p (the people that maintain the perl source itself) or the > podlators maintainer (will have to ask which one of these two applies) > needs told that this is happening so they can fix this in perl itself. > 3) Part B: Pod::Perldoc needs updated to look for pod2*.bat. > >
Shall I do either Part A or Part B at all, or will you? Your workaround worked well, thank you!
Patched in r12621.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.