RE: Building VMS Perl

[email protected] (Carl Friedberg) Thu, 24 Mar 2011 07:47:17 -0400
Newsgroups perl.vmsperl
Message-ID <[email protected]>
Craig,

On Mar 23, 2011, at 8:35 PM, Craig Berry wrote:

> On Mar 23, 2011, at 1:46 PM, Carl Friedberg wrote:
>
> > I have these issues which I will research and report back to the group (all with VMS 8.3 on alpha):
> > 
> > (1) my batch script generates 2 batch logs with the same name. One from configure; the other from the > >  main build and test script. Craig made some changes to configure.com which should have fixed this;  I
> > will dig in and report back.
>
> I'm not sure I recall that specifically.  Configure.com reopens SYS$OUTPUT and there were some changes > to how that's done a year or two ago, so maybe that's covered.  Do report if not.

I see the F$GETQUI calls I submitted; but I would like to have a different name for the two output logs. I'll submit a diff for your consideration soon.

> > (2) the tests hang on (all flavors of 5-12)
> > 
> > ext/Devel-SelfStubber/t/Devel-SelfStubber
>
>
> I've never seen that, and I don't recall hearing it reported before.  Does it hang when run outside of the
> test suite?  If so, running it under the Perl debugger and seeing where exactly it hangs might be useful.

I will report back, this is my first 5.12.3 build.

>
> > (3) I am still building with -Uuseperlio because of previous issues (since 5-10) with extraneous line
> > endings inserted when processing long lines ( Martin Z. and Craig have worked that; apparently 
> > there's an extra line ending every 4048 characters ). 
>
> It was more that (in output to record-oriented files only) the implicit flush every 4K when an 
> internal buffer filled up would give you line breaks in odd places.  What's fixed in 5.12.3 is 
> that it now does an implicit flush whenever it encounters a newline and is writing to a 
> record-oriented file.  This is a complete fix if you never have lines longer than 4K (4096 
> bytes).  In 5.14.0 (due next month), the internal buffer size is also increased, so you 
> should be good for lines up to 32K, which I believe is the RMS limit for 
> record-oriented text files.

Thanks for the detailed explanation. I will do some testing there as well. I have 

@configure "-des" "-Uuseperlio" "-Dprefix=' ' installdir' "

Is Uuseperlio still needed?

Thank you very much

Carl
(sorry, I am struggling with Outlook 2010 and formatting has been done by hand, I hope it reads OK)