On Thu, Nov 14, 2002 at 02:43:33PM -0600, Craig A. Berry wrote: > For starters you need this: > > --- lib/ExtUtils/MM_Any.pm;-0 Wed Nov 13 05:16:34 2002 > +++ lib/ExtUtils/MM_Any.pm Thu Nov 14 13:50:49 2002 > @@ -184,8 +184,8 @@ > > return <<END_OF_TARGET; > manifypods : pure_all $dependencies > - \$(NOECHO)\$(POD2MAN_EXE) --section=1 --perm_rw=\$(PERM_RW) $man1pods > - \$(NOECHO)\$(POD2MAN_EXE) --section=3 --perm_rw=\$(PERM_RW) $man3pods > + \$(NOECHO) \$(POD2MAN_EXE) --section=1 --perm_rw=\$(PERM_RW) $man1pods > + \$(NOECHO) \$(POD2MAN_EXE) --section=3 --perm_rw=\$(PERM_RW) $man3pods > END_OF_TARGET > } > > [end of patch]
Oopsie. > After fixing that, pod2man complains that --perm_rw must have an argument > and spews something that I suppose is a document in man page format to the > terminal and then hangs. Ok, just have to make that one optional. > The PERM_RW macro is not defined but I haven't had time to track down > why; is this something new or has it just never been used before? Looks like it was added around 5.5.3 to MM_Unix. It just sets the permissions for generated man pages. Probably doesn't make much sense on any non-Unixen. I'll make sure manifypods works gracefully if its not there. Current snapshot should be repaired. > I guarantee that a single command that goes on for 30 > lines or so will exceed the command buffer limits. Working on a somewhat more generic solution to the command buffer limits. Turns out Win9x and IRIX have problems, too. Had to clean up manifypods first since its part of the problem. There's a whole thread on the subject here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2002-09/msg01192.html (and since the thread is broken in the archives, here's the next post) http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2002-10/msg00007.html Basically, just have a "MAX_SHELL_LENGTH" setting and make targets use that intellegently so VMS doesn't have to override everything just to get around the shell limits. > As a side note, the PPD target has never been fixed per the patch I sent > in at RT # 1550. Working on a more generic solution to that, too. The basic problem is what to do with make variables which contain shell metacharacters (quotes, spaces, etc...) and how to escape them without scattering lots of $self->escape(\$data) all over MakeMaker? Thread on this: http://archive.develooper.com/makemaker@;perl.org/msg00702.html I'm really banging my head against the wall on that one. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Shrtr is btr. -- Abhijit Menon-Sen in <[EMAIL PROTECTED]>
