Date: Mon, 17 Feb 2003 02:35:01 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 80 ************************************************** Sunday 16 February 2003 Number 80 ************************************************** Subjects for today 1 Re: Build Testing : Maynard" 2 Re: Pre built Perl 5.8.0 : Ted Sikora 3 Re: PERl_SH_DRIVE : Maynard" 4 Re: FYI makemaker problem - was perl module problem : Dave Saville" 5 Re: FYI makemaker problem - was perl module problem : Henry Sobotka 6 Pre built Perl 5.8.0 : Dave Saville" 7 Re: Pre built Perl 5.8.0 : John Poltorak 8 Re: Pre built Perl 5.8.0 : John Poltorak 9 Re: Perl build options : Henry Sobotka 10 Re: Pre built Perl 5.8.0 : Dave Saville" 11 PERl_SH_DRIVE : John Poltorak 12 Re: Perl build options : Henry Sobotka 13 Re: Pre built Perl 5.8.0 : John Poltorak 14 Re: FYI makemaker problem - was perl module problem : John Poltorak 15 Re: FYI makemaker problem - was perl module problem : Henry Sobotka 16 Re: FYI makemaker problem - was perl module problem : Henry Sobotka 17 Perl build options : John Poltorak 18 Re: Perl build options : John Poltorak 19 Re: FYI makemaker problem - was perl module problem : Dave Saville" 20 Re: Pre built Perl 5.8.0 : Dave Saville" 21 Re: FYI makemaker problem - was perl module problem : John Poltorak 22 Re: FYI makemaker problem - was perl module problem : John Poltorak **= Email 1 ==========================** Date: Mon, 17 Feb 2003 06:42:43 -0600 (CST) From: "Maynard" Subject: Re: Build Testing update on testing code for build.sh echo testing $PKG installation ... if test -f $BLD_HOME/scripts/test/$PKG; then . $BLD_HOME/scripts/test/$PKG > $BLD_HOME/status/$PKG || (echo "$PKG failed" |tee -a $BLD_HOME/lib/build.err); exit else $PKG --version > $BLD_HOME/status/$PKG || (echo "$PKG failed" |tee -a $BLD_HOME/lib/build.err); exit fi echo ...success!! [apparently] echo end } this closing brace is the end of finish() -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Mon, 17 Feb 2003 07:23:28 -0500 From: Ted Sikora Subject: Re: Pre built Perl 5.8.0 John Poltorak wrote: > On Mon, Feb 17, 2003 at 10:48:31AM +0000, Dave Saville wrote: > >>John >> >>Have you looked at >>http://search.cpan.org/author/JHI/perl-5.8.0/README.os2 ? >> >>There seems to be a lot of info there. I assume that we do not have >>all the goodies he describes because the binary distro includes >>perl_.exe etc and PM hooking. >> >>Although this purports to belong to one Jarkko Hietaniemi Ilya's name >>is at the bottom. Anyone been in contact with Jarkko? > > > Jarkko is the current maintainer for the whole of Perl, and doesn't know > anything about OS/2 himself, AFAIK. > Right at the bottom. Ilya always maintained the OS/2 version. Ilya Zakharevich, cpan at ilyaz.org -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Mon, 17 Feb 2003 07:38:45 -0600 (CST) From: "Maynard" Subject: Re: PERl_SH_DRIVE On Mon, 17 Feb 2003 12:59:36 +0000, John Poltorak wrote: >I've just come across something in Perl defined as PERL_SH_DRIVE which is >a hardcoded path to sh.exe where Perl was built from. This is embedded in >perlB12E.dll. Not only that, it includes the build destination drive letter prefix, rather than the -Dprefix=/usr with which it was built. >Is there any way to specify this as a variable somewhere to eliminate >these hardcoded paths? Maybe the first question is to ask how/why that hard drive letter crept into the build. [x:\unixos2\workdir\perl-5.8.0]grep -ilrs PERL_SH_DRIVE * miniperl.exe os2/os2.c os2.c os2.obj perlB12E.dll t/perlB12E.dll [x:\unixos2\workdir\perl-5.8.0]diff -s os2.c os2\os2.c Files os2.c and os2\os2.c are identical [x:\unixos2\workdir\perl-5.8.0]grep -i PERL_SH_DRIVE os2.c if ( (shell = getenv("PERL_SH_DRIVE")) ) { If you c experts sort out the 'if's and suggest a solution or two, I'll happily run the tests. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 17 Feb 2003 09:03:00 +0000 (GMT) From: "Dave Saville" Subject: Re: FYI makemaker problem - was perl module problem On Sun, 16 Feb 2003 21:10:21 +0000, John Poltorak wrote: >On Sun, Feb 16, 2003 at 06:46:53PM +0000, Dave Saville wrote: >> FWIW - Been digging in the testperl script. That "Apparently you >> edited ..........Net/Config.pm'}" message is because there is a hard >> coded address in the test harness: >> >> elsif ($NetConfig{inet_domain} ne 'tusik.hip.berkeley.edu') { > >Where exactly is this? California ain't it :-) Ilya, and someone else on this list suggested I use the testperl harness to debug the makemaker module problem I was having. The only one I could find was one I had from an old binary distro Presumably from Ilya. Judging by Ilya's comments, I get the impression that the build process should build a testperl - but lord knows where it hides it if it does. Later: It doesn't - I just searched the drive and its not built. Regarding the binary locations. It would seem that building to /usr - ie no drive letter - defaults to standard unix behavior. The build process does not build the pseudo binaries - perldoc etc. correctly in that they do not have an extension of any kind. They are actually perl scripts without the .pl which of course does not matter on *nix as long as they have the execute bit set. This is independent of a d:/usr or a /usr install BTW. What we need to do is insert a first line of extproc perl -S and tack a .cmd on the end. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 17 Feb 2003 09:54:22 -0500 From: Henry Sobotka Subject: Re: FYI makemaker problem - was perl module problem Dave Saville wrote: > > What we need to do is insert a first line of > > extproc perl -S > > and tack a .cmd on the end. Or run "make installcmd INSTALLCMDDIR=[path]". h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Mon, 17 Feb 2003 10:48:31 +0000 (GMT) From: "Dave Saville" Subject: Pre built Perl 5.8.0 John Have you looked at http://search.cpan.org/author/JHI/perl-5.8.0/README.os2 ? There seems to be a lot of info there. I assume that we do not have all the goodies he describes because the binary distro includes perl_.exe etc and PM hooking. Although this purports to belong to one Jarkko Hietaniemi Ilya's name is at the bottom. Anyone been in contact with Jarkko? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Mon, 17 Feb 2003 11:26:50 +0000 From: John Poltorak Subject: Re: Pre built Perl 5.8.0 On Mon, Feb 17, 2003 at 10:48:31AM +0000, Dave Saville wrote: > John > > Have you looked at > http://search.cpan.org/author/JHI/perl-5.8.0/README.os2 ? > > There seems to be a lot of info there. I assume that we do not have > all the goodies he describes because the binary distro includes > perl_.exe etc and PM hooking. > > Although this purports to belong to one Jarkko Hietaniemi Ilya's name > is at the bottom. Anyone been in contact with Jarkko? Jarkko is the current maintainer for the whole of Perl, and doesn't know anything about OS/2 himself, AFAIK. How does this document differ from README.os2 which is included in the tarball? (Apart from formatting...) Incidentally, what should you use to view Perl docs? This is how the document looks under a test editor:- =head1 NAME perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT. =head1 SYNOPSIS One can read this document in the following formats: man perlos2 view perl perlos2 explorer perlos2.html info perlos2 What sort of tag is this '=head1 NAME' ? > > > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 17 Feb 2003 11:40:51 +0000 From: John Poltorak Subject: Re: Pre built Perl 5.8.0 On Mon, Feb 17, 2003 at 10:48:31AM +0000, Dave Saville wrote: > John > > Have you looked at > http://search.cpan.org/author/JHI/perl-5.8.0/README.os2 ? > > There seems to be a lot of info there. Please note this, right at the end:- This description was not updated since 5.6.1, see os2/Changes for more info. I think there have been significant changes made to Perl v5.8.0, but maybe little has changed as far as OS/2 goes... > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Mon, 17 Feb 2003 11:48:16 -0500 From: Henry Sobotka Subject: Re: Perl build options John Poltorak wrote: > > Is there a list of available build options for Perl which can be specified > on Configure's command line? Perl-5.8.0/Porting/Glossary h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Mon, 17 Feb 2003 12:19:51 +0000 (GMT) From: "Dave Saville" Subject: Re: Pre built Perl 5.8.0 On Mon, 17 Feb 2003 11:26:50 +0000, John Poltorak wrote: >How does this document differ from README.os2 which is included in the >tarball? (Apart from formatting...) > You are right it appears to be the same. >Incidentally, what should you use to view Perl docs? > >This is how the document looks under a test editor:- > >=head1 NAME > >perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT. > >=head1 SYNOPSIS > >One can read this document in the following formats: > > man perlos2 > view perl perlos2 > explorer perlos2.html > info perlos2 > > > >What sort of tag is this '=head1 NAME' ? input for pod Use perldoc perl perldoc carp Assumes you have less as a pager. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Mon, 17 Feb 2003 12:59:36 +0000 From: John Poltorak Subject: PERl_SH_DRIVE I've just come across something in Perl defined as PERL_SH_DRIVE which is a hardcoded path to sh.exe where Perl was built from. This is embedded in perlB12E.dll. The reason I came across this was that I was suddenly unable to build Automake, an app which I had never had any trouble with in the past. Now, out of the blue, I got:- configure: error: Autoconf 2.54 or better is required. Is it installed? Is it in your PATH? (try running `autoconf --version') Is it working? See also config.log for error messages before this one. Not much to go on, but automake's config.log was more revealing:- configure:1715: cd conftest && eval autoconf -o /dev/null conftest.ac Can't spawn "d:/unixos2/bin/sh.exe": No such file or directory at /usr/local/bin/autom4te line 280. autom4te: need GNU m4 1.4 or later: u:/unixos2/bin/m4.exe configure:1718: $? = 1 configure:1720: error: Autoconf 2.54 or better is required. Is it installed? Is it in your PATH? (try running `autoconf --version') Is it working? See also config.log for error messages before this one. autom4te wasn't giving much away:- # LOAD ($FILE) # ------------ sub load { # <============ line 208 my ($self, $file) = at _; croak "$me: cannot load a single request\n" if ref ($self); (my $return) = do "$file"; croak "$me: cannot parse $file: $ at \n" if $ at ; croak "$me: cannot do $file: $!\n" unless defined $return; croak "$me: cannot run $file\n" unless $return; } Then I remembered that I hadn't built Perl on this machine but just copied it from another which had this embedded path - 'd:/unixos2/bin/sh.exe' in several places and obviously not applicable here since I was using U: as my %uxrt% drive. Is there any way to specify this as a variable somewhere to eliminate these hardcoded paths? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Mon, 17 Feb 2003 13:05:23 -0500 From: Henry Sobotka Subject: Re: Perl build options John Poltorak wrote: > > So, if for instance I wanted to specify sendmail, would I do something > like:- ? > > Configure -des -Dsendmail=/tcpip/bin/sendmail Yup. And if you run "Configure -h" you'll see other flags you can use. > I would like to put the manpages somewhere other than /usr/man/man1. If I > specify man1dir, do I also have to specify man3dir? Possibly, or it could be derived from the former. Only one way to find out... > I would also like to have the scripts in some other location. Presumably > 'scriptdir' is the variable which controls its location... All the variables are documented at the bottom of Config.PM; not sure if those explanations are the same as in the glossary. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Mon, 17 Feb 2003 14:02:18 +0000 From: John Poltorak Subject: Re: Pre built Perl 5.8.0 On Mon, Feb 17, 2003 at 12:19:51PM +0000, Dave Saville wrote: > >Incidentally, what should you use to view Perl docs? > > > >This is how the document looks under a test editor:- > > > >=head1 NAME > > > >perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT. > > > >=head1 SYNOPSIS > > > >One can read this document in the following formats: > > > > man perlos2 > > view perl perlos2 > > explorer perlos2.html > > info perlos2 > > > > > > > >What sort of tag is this '=head1 NAME' ? > > input for pod > > Use perldoc > > perl perldoc carp > > Assumes you have less as a pager. Thanks for that... Does it assume you have GROFF installed? I got this message when I tried:- c:/usr/bin/sh.exe: nroff: not found Process terminated by SIGPIPE c:/usr/bin/sh.exe: nroff: not found The resultant output was not formatted. How is it supposed to look? > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Mon, 17 Feb 2003 14:17:55 +0000 From: John Poltorak Subject: Re: FYI makemaker problem - was perl module problem On Mon, Feb 17, 2003 at 09:03:00AM +0000, Dave Saville wrote: > Regarding the binary locations. It would seem that building to /usr - > ie no drive letter - defaults to standard unix behavior. > > The build process does not build the pseudo binaries - perldoc etc. > correctly in that they do not have an extension of any kind. They are > actually perl scripts without the .pl which of course does not matter > on *nix as long as they have the execute bit set. This is independent > of a d:/usr or a /usr install BTW. > > What we need to do is insert a first line of > > extproc perl -S > > and tack a .cmd on the end. Is this something which was done automatically in previous releases of Perl? There must be some scripted way to do this... BTW I would prefer not to have all these Perl scripts in /usr/bin. Can we put them some place else? Is SCRIPTDIR a path to where these scripts can be placed? > > > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Mon, 17 Feb 2003 14:27:00 -0500 From: Henry Sobotka Subject: Re: FYI makemaker problem - was perl module problem John Poltorak wrote: > > It's possible that some update wasn't made for building those executables > correctly on 5.8.0... They built out-of-the-box here yesterday, though perl_.exe SIGSEGVs a lot in the Encode tests and has a few other failures that perl.exe doesn't. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Mon, 17 Feb 2003 15:40:17 -0500 From: Henry Sobotka Subject: Re: FYI makemaker problem - was perl module problem John Poltorak wrote: > > Did you try building Perl using ux2_bootstrap or are you using your > normal environment? I don't want to try ux2_bootstrap until my high-speed connection is in place. I did a ground-up optimized pgcc build and am reducing the test failures from 5 to 0; only two more to go. Patches will become available when I'm done. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Mon, 17 Feb 2003 16:36:34 +0000 From: John Poltorak Subject: Perl build options Is there a list of available build options for Perl which can be specified on Configure's command line? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Mon, 17 Feb 2003 17:17:10 +0000 From: John Poltorak Subject: Re: Perl build options On Mon, Feb 17, 2003 at 11:48:16AM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Is there a list of available build options for Perl which can be specified > > on Configure's command line? > > Perl-5.8.0/Porting/Glossary Hmmmm.... a _mere_ 945 options.... So, if for instance I wanted to specify sendmail, would I do something like:- ? Configure -des -Dsendmail=/tcpip/bin/sendmail I would like to put the manpages somewhere other than /usr/man/man1. If I specify man1dir, do I also have to specify man3dir? I would also like to have the scripts in some other location. Presumably 'scriptdir' is the variable which controls its location... > h~ -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Mon, 17 Feb 2003 18:58:16 +0000 (GMT) From: "Dave Saville" Subject: Re: FYI makemaker problem - was perl module problem On Mon, 17 Feb 2003 14:17:55 +0000, John Poltorak wrote: >On Mon, Feb 17, 2003 at 09:03:00AM +0000, Dave Saville wrote: > >> Regarding the binary locations. It would seem that building to /usr - >> ie no drive letter - defaults to standard unix behavior. >> >> The build process does not build the pseudo binaries - perldoc etc. >> correctly in that they do not have an extension of any kind. They are >> actually perl scripts without the .pl which of course does not matter >> on *nix as long as they have the execute bit set. This is independent >> of a d:/usr or a /usr install BTW. >> >> What we need to do is insert a first line of >> >> extproc perl -S >> >> and tack a .cmd on the end. > >Is this something which was done automatically in previous releases of >Perl? I only know that the distro binaries had them and all the perl_.exe stuff reffered to in readme.os2 for PM hooks etc. We aren't building those either. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Mon, 17 Feb 2003 19:00:31 +0000 (GMT) From: "Dave Saville" Subject: Re: Pre built Perl 5.8.0 On Mon, 17 Feb 2003 14:02:18 +0000, John Poltorak wrote: >> perl perldoc carp >> >> Assumes you have less as a pager. > >Thanks for that... Does it assume you have GROFF installed? > >I got this message when I tried:- > >c:/usr/bin/sh.exe: nroff: not found > >Process terminated by SIGPIPE >c:/usr/bin/sh.exe: nroff: not found > >The resultant output was not formatted. How is it supposed to look? Bit like a *nix man page. I have lots of *off thingies from xfree86 installs - maybe thats it. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Mon, 17 Feb 2003 19:09:33 +0000 From: John Poltorak Subject: Re: FYI makemaker problem - was perl module problem On Mon, Feb 17, 2003 at 06:58:16PM +0000, Dave Saville wrote: > On Mon, 17 Feb 2003 14:17:55 +0000, John Poltorak wrote: > > >On Mon, Feb 17, 2003 at 09:03:00AM +0000, Dave Saville wrote: > > > >> Regarding the binary locations. It would seem that building to /usr - > >> ie no drive letter - defaults to standard unix behavior. > >> > >> The build process does not build the pseudo binaries - perldoc etc. > >> correctly in that they do not have an extension of any kind. They are > >> actually perl scripts without the .pl which of course does not matter > >> on *nix as long as they have the execute bit set. This is independent > >> of a d:/usr or a /usr install BTW. > >> > >> What we need to do is insert a first line of > >> > >> extproc perl -S > >> > >> and tack a .cmd on the end. > > > >Is this something which was done automatically in previous releases of > >Perl? > > I only know that the distro binaries had them and all the perl_.exe > stuff reffered to in readme.os2 for PM hooks etc. We aren't building > those either. Maybe put this in build.table for perl:- http://www.cpan.org/src/5.0/perl-5.6.1.tar.gz and see what it comes up with... It's possible that some update wasn't made for building those executables correctly on 5.8.0... > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Mon, 17 Feb 2003 20:05:22 +0000 From: John Poltorak Subject: Re: FYI makemaker problem - was perl module problem On Mon, Feb 17, 2003 at 02:27:00PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > It's possible that some update wasn't made for building those executables > > correctly on 5.8.0... > > They built out-of-the-box here yesterday, though perl_.exe SIGSEGVs a > lot in the Encode tests and has a few other failures that perl.exe > doesn't. Did you try building Perl using ux2_bootstrap or are you using your normal environment? > h~ -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs