Date: Tue, 28 Jan 2003 02:28:53 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 60 ************************************************** Monday 27 January 2003 Number 60 ************************************************** Subjects for today 1 Re: XFree86 - source : Maynard" 2 Re: 6/726 test failed 99.17% okay subsets 99.98% okay : Maynard" 3 Re: 6/726 test failed 99.17% okay subsets 99.98% okay : Ted Sikora 4 Perl env : Ted Sikora 5 Re: Perl env : Ted Sikora 6 make_distro.cmd : Maynard" 7 RXU.DLL and VREXX.DLL : Ted Sikora 8 Perl prefix : Ted Sikora 9 Re: Perl prefix : Ted Sikora 10 Re: Perl prefix : Ted Sikora 11 Re: Building SLANG : Patrick Ash 12 Re: Perl env vaiables : Dave Saville" 13 Re: Perl env vaiables : John Poltorak 14 Re: Perl env vaiables : Lyn St George" 15 Re: make_distro.cmd : Maynard" 16 XFree86 - source : John Poltorak 17 Re: 6/726 test failed 99.17% okay subsets 99.98% okay : John Poltorak 18 Re: make_distro.cmd : Maynard" 19 Re: Perl env vaiables : John Poltorak 20 Re: Perl Build : Maynard" 21 Re: Perl env : John Poltorak 22 Perl Build : Ted Sikora 23 Re: Perl Build : Henry Sobotka 24 Re: Perl Build : Ted Sikora 25 Re: Perl Build : Ted Sikora 26 Re: Perl prefix : John Poltorak 27 Re: make_distro.cmd : Maynard" 28 Squid redirector : John Poltorak 29 openssl : Maynard" 30 Re: Diffutils : Maynard" 31 Re: make_distro.cmd : John Poltorak 32 Re: Perl Build : Hakan" 33 Re: Perl Build : Maynard" 34 Re: openssl : Maynard" 35 need DPATH in environment : Maynard" 36 Re: make_distro.cmd : John Poltorak 37 Re: Perl Build : Maynard" 38 Re: Perl Build : Hakan" 39 Re: Perl Build : Hakan" 40 Diffutils : John Poltorak 41 Re: Perl Build : Hakan" 42 Re: Building FILE : John Poltorak 43 Re: Perl Build : Hakan" 44 Re: Perl Build : Ted Sikora 45 Re: Nobody's listening : Hakan" 46 Nobody's listening : Ted Sikora 47 Re: Perl Build : Ted Sikora 48 Re: Perl Build : Ted Sikora 49 Re: openssl : John Poltorak 50 Re: Perl Build : John Poltorak 51 Re: Perl env vaiables : Thomas Hoffmann 52 Re: Perl prefix : Thomas Hoffmann 53 Re: Perl env vaiables : IanM" **= Email 1 ==========================** Date: Tue, 28 Jan 2003 06:24:55 -0600 (CST) From: "Maynard" Subject: Re: XFree86 - source On Tue, 28 Jan 2003 11:39:59 +0000, John Poltorak wrote: >Where do I find the latest OS/2 source for building XFree86 v4? http://www.xfree86.org/3.3.6/ftp.html and thereabouts _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 28 Jan 2003 07:06:07 -0600 (CST) From: "Maynard" Subject: Re: 6/726 test failed 99.17% okay subsets 99.98% okay On Tue, 28 Jan 2003 12:15:49 +0000, John Poltorak wrote: >> Version 5 port Copyright (c) 1994-2002, Andreas Kaiser, Ilya Zakharevich >------------------------------------------^^^^^^^^^^^^^^ >Where is he? you could try: \unixos2\workdir\perl-5.8.0\os2]grep -irs Kaiser * OS2/Process/Process.pm:Andreas Kaiser -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 28 Jan 2003 08:02:30 -0500 From: Ted Sikora Subject: Re: 6/726 test failed 99.17% okay subsets 99.98% okay John Poltorak wrote: > > Where is he? We need to get his code fot GTAK otherwise we can't get tar > updated properly. > > Have any of our German friends ever had any dealings with him? He seems to > have disappeared without trace. It would be great to get hold of the > source for GTAK/GTAR. > > >>Cool! > > > Excellent! Good to see you getting it built. > > > > >>After I built it I realized I had the old Perl env variables set. >>I'm positive I can reduce it to about 2-3 failed on another build. > > > You didn't actually post which tests failed. > > > >>I added the following posix/2 headers to \emx\include: >> >>utmp.h >>syslog.h >>sys/syslog.h >>paths.h > > > It would be best to leave the EMX headers intact and try and get Perl to > build with the Posix/2 headers. > Since I had to manually install it I opted to leave them off. I had some bad experiences with them the past few weeks. > >>As far as I can see only inttype.h is missing >>to make it a complete unix compatible env. > > > If inttype.h is required for Unix compatibility, how come it isn't in > Posix/2? > IMHO but it is required for several ports. Mysql connectors for one. > > >>I was missing RXU.DLL and VREXX.DLL for one test. >>Anyone know where I can pick them up? > > > I was wondering whether they ought to be included as part of a standard > build... > > >>I don't know what happened but I had to install the ux2bs manually then >>build perl with the perl.cmd script > > > Something is definitely wrong, and I'd like to know what. The build should > run in a completely unattended fashion without the need for any user > intervention. > > > >>It seems to run okay. >> >>The only test that has me worried is the BIG::DUMMY which it failed 1 of >>4. That's the test for building/adding modules. I need DBD/DBI::mysql >>installed. > > > Is this the basic.t test? That one fails for everyone and is due to a bug > in Perl's internal building and testing process. Apparently there is a patch > for it. > Not sure but .t definitely failed. shell.t did too will that be a problem? -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 28 Jan 2003 08:06:51 -0500 From: Ted Sikora Subject: Perl env So if I built Perl with: Configure -des -d --prefix=/usr/lib/perl I need nothing? -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 28 Jan 2003 08:25:35 -0500 From: Ted Sikora Subject: Re: Perl env John Poltorak wrote: > On Tue, Jan 28, 2003 at 08:06:51AM -0500, Ted Sikora wrote: > >>So if I built Perl with: >> >>Configure -des -d --prefix=/usr/lib/perl >> >>I need nothing? > > > That depends on whether you ever intend to use Perl from a drive other > than the one it was built on, or is installed on... > > If I do then what? -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 28 Jan 2003 08:26:00 -0600 (CST) From: "Maynard" Subject: make_distro.cmd It seems that John is the only one who has completed this important step, so I'll post a review of what I see the issues/status to be. > GETTEXT: > the log indicates: > Libraries have been installed in: > P:/usr/lib > > and tails with: > P:/usr/bin/install.exe msguniq.exe P:/usr/bin/msguniq.exe > P:/usr/bin/install.exe: msguniq.exe: No such file or directory > make[2]: *** [install-binPROGRAMS] Error 1 > make[2]: Leaving directory `P:/unixos2/workdir/gettext-0.11.5/src' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `P:/unixos2/workdir/gettext-0.11.5/src' > make: *** [install-recursive] Error 1 > > It doesn't appear that any .exe files were installed, which may be OK. > There are many .exe files in \UnixOS2\workdir\gettext-0.11.5\src\.libs\ That obviously needs looking at, but it's good that the .exe's got built. Do they all normally get dumped in /usr/bin? > TEXINFO: > appears OK, .... > from the log: > WARNING: You must install texinfo.tex and txi-??.tex manually, > on the disk: > Directory: P:\usr\local\TMP\share\automake > texinfo.tex 208557 1-26-2003 10:58a A > --there are no txi-??.tex files in \usr I hadn't noticed that, but it says these files should be installed in the TeX tree, but since we don't have one yet, we can leave this until later, but I think Texinfo is built and working... Maynard on 1/28 agrees that texinfo appears to be installed > AUTOMAKE 1.7.2 looks to have failed: > from the log: > make[1]: Entering directory `P:/unixos2/workdir/automake-1.7.2' > P:/bin/sh /unixos2/workdir/automake-1.7.2/lib/missing --run makeinfo -I . \ > -o automake.info `test -f 'automake.texi' || echo './'`automake.texi > ./version.texi:30: Unknown command `(#)PD'. > makeinfo: Removing output file `automake.info' due to errors; use --force to pre > make[1]: *** [automake.info] Error 1 > make[1]: Leaving directory `P:/unixos2/workdir/automake-1.7.2' > make: *** [install-recursive] Error 1 I have seen this error before but I thought it was due to an outdated makeinfo. Mine installs OK. Can you post dir \usr\local\bin\* ? 1-26-03 9:13 295,055 0 info.exe 1-26-03 9:13 132,832 0 infokey.exe 1-26-03 9:13 301,237 0 makeinfo.exe 1-26-03 11:01 7,971 0 autoconf 1-26-03 11:01 8,265 0 autoheader 1-26-03 11:01 34,800 0 autom4te 1-26-03 11:01 18,237 0 autoreconf 1-26-03 11:01 16,714 0 autoscan 1-26-03 11:01 33,950 0 autoupdate 1-26-03 11:01 3,764 0 ifnames 1-26-03 12:01 348,263 0 bison.exe 1-26-03 12:01 47 0 yacc 1-26-03 12:02 222,701 0 patch 1-26-03 12:06 190,743 0 indent.exe 1-26-03 12:06 74,260 0 texinfo2man.exe 1-26-03 12:07 213,431 0 dialog.exe 1-26-03 12:08 143,200 0 add.exe 1-26-03 12:08 4,319 0 add.hlp 1-26-03 12:23 1,534,196 0 lynx.exe _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 28 Jan 2003 08:28:02 -0500 From: Ted Sikora Subject: RXU.DLL and VREXX.DLL I zipped them up at: ftp://os2ports.com/incoming/perl-rexx-dll.zip Their installed in the /usr tree already. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 28 Jan 2003 09:17:54 -0500 From: Ted Sikora Subject: Perl prefix Shouldn't the --prefix=/usr/lib/perl5 instead? When running Configure it says this will be the location for the platform arch. This the Unix std location too. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 28 Jan 2003 09:36:39 -0500 From: Ted Sikora Subject: Re: Perl prefix This would be the unix std location. ./Configure -d -des -Dprefix=/usr -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/os2 Ted Sikora wrote: > Shouldn't the --prefix=/usr/lib/perl5 instead? When running Configure it > says this will be the location for the platform arch. This the Unix std > location too. > > -- > Ted Sikora > tsikora at ntplx.net > > > > _______________________________________________ > UX2BS mailing list > UX2BS at powerusersbbs.net > http://powerusersbbs.net/mailman/listinfo/ux2bs > > -- -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 28 Jan 2003 09:41:09 -0500 From: Ted Sikora Subject: Re: Perl prefix John Poltorak wrote: > On Tue, Jan 28, 2003 at 09:17:54AM -0500, Ted Sikora wrote: > >>Shouldn't the --prefix=/usr/lib/perl5 instead? > > > It's easy enough to change. It's just work in progress at the moment. > > We need to decide where quite a number of apps should go. > > Personally, I wouldn't want every single executable being dumped in > /usr/bin so I've set a default of /usr/local as the prefix. I think we > will need to review this in due course. > I think we should use the 'legacy' locations as much as possible. At least for the basic tools, perl included. It will make configure and ports build easier. Function properly too. Every other app could go in /usr/local In fact Slack uses /usr too much. Stuff like Netscape would be better suited to /usr/local. In fact that and /opt where the std location awhile back. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 28 Jan 2003 10:09:06 +0000 From: Patrick Ash Subject: Re: Building SLANG I succeeded in building slang 1.4.8 (posted Sunday 1/26) with no modification of the source. I ran the configure script then ran make, and it went to completion. There is no entry in the OS section of the configure script for OS/2, so the build assumes the generic characteristics. Also, the library has the unix style name - libslang.a. Make install from the top level dir will install all the necessary components. I then changed the name of the lib to slang.a and was able to build lynx 2.8.5-dev.13 with the lib. Lynx functioned properly, but with the normal slang deficiencies. there is no mouse support, and the arrow keys do not work. also, slang does not allow one to use lynx color styles. I haven't had the time to do any more study on the lib. I will try to build it according to the directions for Os/2 later this afternoon and report any findings. Pat On Mon, 27 Jan 2003 17:52:19 +0000, John Poltorak wrote: > >When building SLANG do the only files which need to be copied to the >build environment consist of:- ? > >slang.h >slang.a > >Is there any option in the Makefile for actually installing them? > >-- >John > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > -- Patrick Ash patash at comcast.net This OS/2 system uptime is 0 days, 23:26 hours and 14 seconds _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Tue, 28 Jan 2003 10:44:25 +0000 (GMT) From: "Dave Saville" Subject: Re: Perl env vaiables On Mon, 27 Jan 2003 22:13:31 -0500 (EST), Hakan wrote: >On that topic, I would not mind being told exactly which environment >variables I need to set to run perl (and to what) -- if indeed there >are more than the ones Ted mentions below... > >TIA. > >Hakan > >On Mon, 27 Jan 2003 22:04:40 -0500, Ted Sikora wrote: > >>Do I need any of of these with the new build? >> >>SET PERLLIB_PREFIX= >>SET PERL_BADFREE=0 >>SET PERL_BADLANG=0 >>SET PERL_SH_DIR= >>SET PERL= PERLLIB_PREFIX is supposed to map the F:/* stuff from the distro to where the install shoved it - at least that is my understanding. It does not seem to do much :-) BTW am I the only one who gets two "F: drive not ready" messages during the perl build? On my system F: is a removable USB device. PERLLIB is used to tell perl where the module libraries are if you moved the install. However, if you just move the entire tree to a different drive then you could hack the drive letters in /usr/lib/perl/5.8.0/os2/config.pm. There are some other config.PM's lying around in net and encode but I don't think they are affected by moving the tree. Also earlier versions of perl shipped with an edit_cfg.pl in /perllib/lib - thats all I know about it :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Tue, 28 Jan 2003 11:09:49 +0000 From: John Poltorak Subject: Re: Perl env vaiables On Tue, Jan 28, 2003 at 10:44:25AM +0000, Dave Saville wrote: > On Mon, 27 Jan 2003 22:13:31 -0500 (EST), Hakan wrote: > >>Do I need any of of these with the new build? > >> > >>SET PERLLIB_PREFIX= > >>SET PERL_BADFREE=0 > >>SET PERL_BADLANG=0 > >>SET PERL_SH_DIR= > >>SET PERL= > > PERLLIB_PREFIX is supposed to map the F:/* stuff from the distro to > where the install shoved it - at least that is my understanding. It > does not seem to do much :-) > > BTW am I the only one who gets two "F: drive not ready" messages > during the perl build? On my system F: is a removable USB device. I suspect that you are the only person who has an F: drive assigned which is not available at times. The Perl porter has a pre-disposition for F: for some reason and it probably goes as far as his port of PDKSH... If you build pdksh you may be able to tell where it comes from or it possibly won't become embedded in the newly created version. > PERLLIB is used to tell perl where the module libraries are if you > moved the install. Having embedded paths is a bit of a pain, although I didn't realise at first that such paths were embedded. The environment variable help to override these paths when moving an installation around. Maybe LIBEMU will eventually remove the problem of drive letters but for the time being we just have to live with it. BTW these paths are included in the Perl DLL and you can see them if you run 'perl -V' (that's uppercase V). > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Tue, 28 Jan 2003 11:13:01 +0000 From: "Lyn St George" Subject: Re: Perl env vaiables On Mon, 27 Jan 2003 22:13:31 -0500 (EST), Hakan wrote: >On that topic, I would not mind being told exactly which environment >variables I need to set to run perl (and to what) -- if indeed there >are more than the ones Ted mentions below... Depends how you build it. If you use a drive letter prefix then you probably do need to set some of those. OTOH, if you build perl without drive letters (eg, --prefix=/usr), as I do, then you don't need any of this. But then you can't use it from a different directory ( at INC errors) >TIA. > >Hakan > >On Mon, 27 Jan 2003 22:04:40 -0500, Ted Sikora wrote: > >>Do I need any of of these with the new build? >> >>SET PERLLIB_PREFIX= >>SET PERL_BADFREE=0 >>SET PERL_BADLANG=0 >>SET PERL_SH_DIR= >>SET PERL= > - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Tue, 28 Jan 2003 11:13:19 -0600 (CST) From: "Maynard" Subject: Re: make_distro.cmd John, >I'll have to start from scratch again to see if I actually needed to help >some of these apps build. That becomes a bit of a pain when it means >having to rebuild Perl, which takes a lot longer for me... I could suggest archiving /usr after you build Perl. That should help you to get back more quickly to a starting point for building the rest of the system components. All are invited to add your build time data to the limited set at http://warped.mentabolism.org/UnixOS2/perl.html How long does it take? 12.25 hours: Cyrix 586-100 with 64Mb of memory 27 minutes: XP1700+ w/1Gb sdram // IDE drive Bus Master Ultra DMA5 -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Tue, 28 Jan 2003 11:39:59 +0000 From: John Poltorak Subject: XFree86 - source Where do I find the latest OS/2 source for building XFree86 v4? I just want the headers to start with and then I'd like to try building the required libs. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Tue, 28 Jan 2003 12:15:49 +0000 From: John Poltorak Subject: Re: 6/726 test failed 99.17% okay subsets 99.98% okay On Mon, Jan 27, 2003 at 09:33:52PM -0500, Ted Sikora wrote: > [D:\]perl --version > > This is perl, v5.8.0 built for os2 > > Copyright 1987-2002, Larry Wall > > OS/2 port Copyright (c) 1990, 1991, Raymond Chen, Kai Uwe Rommel > Version 5 port Copyright (c) 1994-2002, Andreas Kaiser, Ilya Zakharevich ------------------------------------------^^^^^^^^^^^^^^ Where is he? We need to get his code fot GTAK otherwise we can't get tar updated properly. Have any of our German friends ever had any dealings with him? He seems to have disappeared without trace. It would be great to get hold of the source for GTAK/GTAR. > Cool! Excellent! Good to see you getting it built. > After I built it I realized I had the old Perl env variables set. > I'm positive I can reduce it to about 2-3 failed on another build. You didn't actually post which tests failed. > I added the following posix/2 headers to \emx\include: > > utmp.h > syslog.h > sys/syslog.h > paths.h It would be best to leave the EMX headers intact and try and get Perl to build with the Posix/2 headers. > As far as I can see only inttype.h is missing > to make it a complete unix compatible env. If inttype.h is required for Unix compatibility, how come it isn't in Posix/2? > I was missing RXU.DLL and VREXX.DLL for one test. > Anyone know where I can pick them up? I was wondering whether they ought to be included as part of a standard build... > I don't know what happened but I had to install the ux2bs manually then > build perl with the perl.cmd script Something is definitely wrong, and I'd like to know what. The build should run in a completely unattended fashion without the need for any user intervention. > It seems to run okay. > > The only test that has me worried is the BIG::DUMMY which it failed 1 of > 4. That's the test for building/adding modules. I need DBD/DBI::mysql > installed. Is this the basic.t test? That one fails for everyone and is due to a bug in Perl's internal building and testing process. Apparently there is a patch for it. > -- > Ted Sikora > tsikora at ntplx.net -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Tue, 28 Jan 2003 12:17:02 -0600 (CST) From: "Maynard" Subject: Re: make_distro.cmd John, >So, could you just copy \unixos2\scripts\pre-conf\autoconf as automake? I used 'touch' to create the zero length file for automake >Then delete the automake-1.7.2 workdir and re-run build automake. > >If it does build properly you could start again from scratch and then run >make_distro to ensure the whole thing builds. This did build correctly. In order to test make_distro I'll have to delete /usr and restart, which is happening now. What about 'gettext' ? -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Tue, 28 Jan 2003 12:28:48 +0000 From: John Poltorak Subject: Re: Perl env vaiables On Tue, Jan 28, 2003 at 11:11:00PM +1100, IanM wrote: > These are the ones you should have :- > > SET MANPATH=C:\PERL\LIB\MAN > SET PERL_BADFREE=0 > SET PERL_BADLANG=0 > SET PERL_SH_DIR=c:\bin > SET INFOPATH=C:\PERL\BOOK These variables do not necessarily apply to a home built Perl. > And if your distribution is referenced to another drive, and/or if > you have moved the perl modules to a different location, as > some earlier versions were, you need to map the drive, which > this env var does :- > > SET PERLLIB_PREFIX=o:/Perl/lib;c:\Perl\lib > > I also do a global replace in all config.pm files to > replace the original drive reference (ie, f:) to the > drive I have PERL installed on, (ie c:) I don't see any reference to f: in config.pm. I think any references to f: arise from IlyaZ's choice of prefix. He suggests prefix=f:/perllib and this is what gets used is prefix is not specified. Under UnixOS/2 it is set to:- %uxrt%/usr/lib/perl If this is not convenient to your own set up, you are free to change it to whatever suits you. > Cheers > IanM > http://www.os2site.com/ > > > 115. Support bacteria - they're the only culture some people have. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Tue, 28 Jan 2003 12:30:40 -0600 (CST) From: "Maynard" Subject: Re: Perl Build On Tue, 28 Jan 2003 12:59:26 -0500, Ted Sikora wrote: >13/68693 subtests That's 43 more subtests than the 68650 (-68661) which I generally get. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Tue, 28 Jan 2003 12:52:36 +0000 From: John Poltorak Subject: Re: Perl env On Tue, Jan 28, 2003 at 08:06:51AM -0500, Ted Sikora wrote: > So if I built Perl with: > > Configure -des -d --prefix=/usr/lib/perl > > I need nothing? That depends on whether you ever intend to use Perl from a drive other than the one it was built on, or is installed on... > -- > Ted Sikora > tsikora at ntplx.net -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Tue, 28 Jan 2003 12:59:26 -0500 From: Ted Sikora Subject: Perl Build Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- ../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 ../lib/Shell.t 1 256 4 1 25.00% 2 lib/os2_process.t 2 512 227 2 0.88% 174 209 lib/os2_process_kid.t 227 2 0.88% 174 209 lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 58 tests and 564 subtests skipped. Failed 6/726 test scripts, 99.17% okay. 13/68693 subtests failed, 99.98% okay. Getting closer. I built it with: Configure -d -des -Dprefix=/usr -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/os2 It seems to work fine. At least it uses the true Unix locations and there is no drive letter in the way. No env variables needed either. How many fails did Henry get on his builds? I seem to remember 5 for some reason. Does anyone know where those new patches are? -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 23 ==========================** Date: Tue, 28 Jan 2003 13:54:15 -0500 From: Henry Sobotka Subject: Re: Perl Build Ted Sikora wrote: > > > ../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 > > Anyone know what causes this? It requires forking, i.e. the a.out Perl build, to pass. Running harness in the t subdirectory will give you more details about the failures. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 24 ==========================** Date: Tue, 28 Jan 2003 13:56:18 -0500 From: Ted Sikora Subject: Re: Perl Build Ted Sikora wrote: > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > > ../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 Anyone know what causes this? > ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 > ../lib/Shell.t 1 256 4 1 25.00% 2 Am I getting this because SET OS2_SHELL= is not set in the env? > lib/os2_process.t 2 512 227 2 0.88% 174 209 > lib/os2_process_kid.t 227 2 0.88% 174 209 > lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 > 58 tests and 564 subtests skipped. > Failed 6/726 test scripts, 99.17% okay. 13/68693 subtests failed, 99.98% > okay. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 25 ==========================** Date: Tue, 28 Jan 2003 14:04:03 -0500 From: Ted Sikora Subject: Re: Perl Build I kind of modified my env a little bit. I have pthreads, gdbm, db4, and a few additional libs. I removed the posix headers but added to emx: utmp.h syslog.h sys/syslog.h paths.h Maynard wrote: > On Tue, 28 Jan 2003 12:59:26 -0500, Ted Sikora wrote: > > >>13/68693 subtests > > > That's 43 more subtests than the 68650 (-68661) which I generally get. > > -- Maynard > > -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 26 ==========================** Date: Tue, 28 Jan 2003 14:08:59 +0000 From: John Poltorak Subject: Re: Perl prefix On Tue, Jan 28, 2003 at 09:17:54AM -0500, Ted Sikora wrote: > Shouldn't the --prefix=/usr/lib/perl5 instead? It's easy enough to change. It's just work in progress at the moment. We need to decide where quite a number of apps should go. Personally, I wouldn't want every single executable being dumped in /usr/bin so I've set a default of /usr/local as the prefix. I think we will need to review this in due course. > When running Configure it > says this will be the location for the platform arch. This the Unix std > location too. Is this documented anywhere? > -- > Ted Sikora > tsikora at ntplx.net -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 27 ==========================** Date: Tue, 28 Jan 2003 14:36:05 -0600 (CST) From: "Maynard" Subject: Re: make_distro.cmd John, make_distro.cmd now completes with a successful build of automake 1.7.2 here's a reminder to update your scripts\pre-conf\ directory with zero length file for automake. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 28 ==========================** Date: Tue, 28 Jan 2003 14:49:36 +0000 From: John Poltorak Subject: Squid redirector Is anyone familiar with SQUID redirectors? What I would like to do is redirect FTP/HTTP requests to use a locally based archive rather than going out to a remote repository. I use SQUID as a proxy server, and it is possible to install various redirectors, but the seem quite complicated and tend to be used for redirected requests from one site to another. All I want to have is a list of specific URLs, such as http://www.cpan.org/src/perl-5.8.0.tar.gz and redirect this to an equivalent, locally based URL. I'm sure it's a simple enough task, but I can't work out how to do it. There are several programs which can probably to exactly what I want including squidguard, sqdr, squirm, pyredir but I just can't work out how to configure them for such a simple feature... -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 29 ==========================** Date: Tue, 28 Jan 2003 15:07:58 -0600 (CST) From: "Maynard" Subject: openssl John, Need you to fix this, per below. >Just realised that \unixos2\scripts\build\build_openssl.cmd has not been >updated. It should contain:- > >rm include/openssl/* >call os2\os2-emx >make -f os2-emx-dll.mak >cp -p openssl.exe %uxrt%\usr\bin ------^^ file is in out_dll\ <<<<<<----------<<<<<<<<< >cp -p out_dll\*.dll %uxrt%\usr\lib >cp -p out_dll\*.a %uxrt%\usr\lib >cp -p -r outinc\openssl %uxrt%\usr\include _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 30 ==========================** Date: Tue, 28 Jan 2003 15:39:08 -0600 (CST) From: "Maynard" Subject: Re: Diffutils On Tue, 28 Jan 2003 20:04:54 +0000, John Poltorak wrote: >Has anyone managed to build the diffutils? seems to be requiring regex.h under EMX analyze.c:39: regex.h: No such file or directory -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 31 ==========================** Date: Tue, 28 Jan 2003 16:06:48 +0000 From: John Poltorak Subject: Re: make_distro.cmd On Tue, Jan 28, 2003 at 08:26:00AM -0600, Maynard wrote: > It seems that John is the only one who has completed this important > step, so I'll post a review of what I see the issues/status to be. I'll have to start from scratch again to see if I actually needed to help some of these apps build. That becomes a bit of a pain when it means having to rebuild Perl, which takes a lot longer for me... I guess I need to get into the 21st century and buy myself one of these awesome beasts like the one you use... -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 32 ==========================** Date: Tue, 28 Jan 2003 16:21:53 -0500 (EST) From: "Hakan" Subject: Re: Perl Build I could not get my copy of perl to run from \usr\bin, it complained about missing PERLB12E. Since I plan to have the entire unix-os/2 stuff on another drive anyway (actually on a server), should I rebuild perl using your configuration directives below so I neither depend on it being on a particular drive, nor on the presence of environment variables? I do not mind a requirement to have it in a particular directory tree structure, but I want to be able to move it between drives and even computers. Please advise. Thanks. Hakan On Tue, 28 Jan 2003 12:59:26 -0500, Ted Sikora wrote: >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 >../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >../lib/Shell.t 1 256 4 1 25.00% 2 >lib/os2_process.t 2 512 227 2 0.88% 174 209 >lib/os2_process_kid.t 227 2 0.88% 174 209 >lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >58 tests and 564 subtests skipped. >Failed 6/726 test scripts, 99.17% okay. 13/68693 subtests failed, 99.98% >okay. > >Getting closer. I built it with: > >Configure -d -des -Dprefix=/usr -Dprivlib=/usr/lib/perl5 >-Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl >-Dsitearch=/usr/lib/perl5/site_perl/os2 > >It seems to work fine. At least it uses the true Unix locations and >there is no drive letter in the way. No env variables needed either. > >How many fails did Henry get on his builds? I seem to remember 5 for >some reason. Does anyone know where those new patches are? > > >-- >Ted Sikora >tsikora at ntplx.net > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 33 ==========================** Date: Tue, 28 Jan 2003 16:40:33 -0600 (CST) From: "Maynard" Subject: Re: Perl Build Hakan, As I understand it, you can configure with or without a drive letter in 'prefix'. prefix=P:/usr/lib/perl OR prefix=/usr/lib/perl if you include the drive letter, you can run perl from any drive; if you exclude the drive letter, you can only run perl from the drive on which it exists; ?? unless you have environment variables pointing to the drive location ?? variable PERLLIB_PREFIX=path1;path2 or PERLLIB_PREFIX=path1 path2 If the beginning of some prebuilt path matches , it is substituted with . example SET PERLLIB_PREFIX=o:/Perl/lib;c:\Perl\lib where per is built for o:/Perl/lib and you move it to c:\Perl\lib I suppose that it could be built without drive letter, and envar used as above. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 34 ==========================** Date: Tue, 28 Jan 2003 16:42:05 -0600 (CST) From: "Maynard" Subject: Re: openssl On Tue, 28 Jan 2003 21:32:20 +0000, John Poltorak wrote: >Do you want to RSYNC and test? twice a day ! -- _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 35 ==========================** Date: Tue, 28 Jan 2003 17:25:54 -0600 (CST) From: "Maynard" Subject: need DPATH in environment John, DPATH=%osrt%\os2\system is required for proper use of/by %osrt%\os2\more.exe to find its .msg files to ux2_inst.cmd add line: echo set DPATH=%osrt%\os2\system>>ux2_env.cmd -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 36 ==========================** Date: Tue, 28 Jan 2003 17:37:17 +0000 From: John Poltorak Subject: Re: make_distro.cmd On Tue, Jan 28, 2003 at 11:13:19AM -0600, Maynard wrote: > John, > > >I'll have to start from scratch again to see if I actually needed to help > >some of these apps build. That becomes a bit of a pain when it means > >having to rebuild Perl, which takes a lot longer for me... > > I could suggest archiving /usr after you build Perl. That should help > you to get back more quickly to a starting point for building the rest > of the system components. Yes, I had already done that, and I have found what the problem was... It seems that automake would not build with the new configure script created by running automake, but worked fine with the pre-built one. I must have forgotten to copy a zero length file to supress running autoconf... So, could you just copy \unixos2\scripts\pre-conf\autoconf as automake? If you do this at a command prompt, it fails BTW... Then delete the automake-1.7.2 workdir and re-run build automake. If it does build properly you could start again from scratch and then run make_distro to ensure the whole thing builds. > All are invited to add your build time data to the limited set at > http://warped.mentabolism.org/UnixOS2/perl.html > > How long does it take? About an hour for Perl. I could with a routine to convert seconds to hrs and mins (via a shell script) > 12.25 hours: Cyrix 586-100 with 64Mb of memory > 27 minutes: XP1700+ w/1Gb sdram // IDE drive Bus Master Ultra DMA5 > > -- Maynard > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 37 ==========================** Date: Tue, 28 Jan 2003 19:34:00 -0600 (CST) From: "Maynard" Subject: Re: Perl Build On Tue, 28 Jan 2003 20:10:40 -0500 (EST), Hakan wrote: >Ought not the build script clean up after itself? I prefer to leave workdir directories intact, and let me quite easily delete them when I'm finished with them, which is frequently long after the build scripts are finished with them. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 38 ==========================** Date: Tue, 28 Jan 2003 19:59:23 -0500 (EST) From: "Hakan" Subject: Re: Perl Build Lyn, On Wed, 29 Jan 2003 00:21:13 +0000, Lyn St George wrote: >On Tue, 28 Jan 2003 16:21:53 -0500 (EST), Hakan wrote: > >>I could not get my copy of perl to run from \usr\bin, it complained >>about missing PERLB12E. Since I plan to have the entire unix-os/2 >>stuff on another drive anyway (actually on a server), should I rebuild >>perl using your configuration directives below so I neither depend on >>it being on a particular drive, nor on the presence of environment >>variables? I do not mind a requirement to have it in a particular >>directory tree structure, but I want to be able to move it between >>drives and even computers. >> >>Please advise. Thanks. >> >>Hakan > >If you want to make it portable, ie, move the same build around on >different drives, then you will probably be better (untested) to build >without a drive letter and set stuff in config.sys, as previously >mentioned. Perl will need to find its dll (from LIBPATH), exe (from >PATH), and lib/perl5/..... (from SET PERLLIB_PREFIX=X:/FOO, >though this last needs testing. This one is for at INC stuff.) > >My own perl is always built without drive letters, but I only ever use >it from the same directory in which it's installed, ie, --configure -des >-Dprefix=/usr (you don't need any other directives if you are happy >to put lib/ and the others into the default locations under /usr). Seems this is these are the flags I need to use when I recompile it. I have no problem keeping the tree structure but do not want to tie me to a particular hard disk. i.e., if I want to move the entire tree, I can do that. Thanks. Hakan >- >Cheers >Lyn St George >+--------------------------------------------------------------------------------- >+ http://www.zolotek.net .. eCommerce hosting, consulting >+ http://www.os2docs.org .. some 'How To' stuff ... >+---------------------------------------------------------------------------------- > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 39 ==========================** Date: Tue, 28 Jan 2003 20:00:15 -0500 (EST) From: "Hakan" Subject: Re: Perl Build Maynard, On Tue, 28 Jan 2003 16:40:33 -0600 (CST), Maynard wrote: >Hakan, > >As I understand it, you can configure with or without a drive letter in >'prefix'. > >prefix=P:/usr/lib/perl >OR >prefix=/usr/lib/perl I seem to be getting conflicting opinions as to what build flags I need to use... See my mail to Lyn. Hakan > >if you include the drive letter, you can run perl from any drive; > >if you exclude the drive letter, you can only run perl from the drive >on which it exists; ?? unless you have environment variables pointing >to the drive location ?? > >variable PERLLIB_PREFIX=path1;path2 >or PERLLIB_PREFIX=path1 path2 >If the beginning of some prebuilt path matches , >it is substituted with . > >example SET PERLLIB_PREFIX=o:/Perl/lib;c:\Perl\lib >where per is built for o:/Perl/lib and you move it to c:\Perl\lib > >I suppose that it could be built without drive letter, and envar used >as above. > > >-- Maynard > > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 40 ==========================** Date: Tue, 28 Jan 2003 20:04:54 +0000 From: John Poltorak Subject: Diffutils Has anyone managed to build the diffutils? - The app is labelled 'diff' in BUILD.TABLE, in case you want to try it... I get different errors depending on whether I'm using EMX or P/2 headers. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 41 ==========================** Date: Tue, 28 Jan 2003 20:10:40 -0500 (EST) From: "Hakan" Subject: Re: Perl Build John, On Tue, 28 Jan 2003 21:41:15 +0000, John Poltorak wrote: >On Tue, Jan 28, 2003 at 04:21:53PM -0500, Hakan wrote: >> I could not get my copy of perl to run from \usr\bin, it complained >> about missing PERLB12E. > >The DLL must be on your libpath. The correct location for this on a >standard UnixOS/2 system is %UNIXROOT%\usr\lib. > >It's is the DLL which contains the embedded paths. Not the exe? I found three copies of perlb12e.dll on my system, all the same size: D:\unixos2\workdir\perl-5.8.0\perlB12E.dll D:\unixos2\workdir\perl-5.8.0\t\perlB12E.dll D:\usr\lib\perlB12E.dll Ought not the build script clean up after itself? I can get perl -version to run if I do: [d:\usr\lib]..\bin\perl -version Hakan > > >> Since I plan to have the entire unix-os/2 >> stuff on another drive anyway (actually on a server), should I rebuild >> perl using your configuration directives below so I neither depend on >> it being on a particular drive, nor on the presence of environment >> variables? I do not mind a requirement to have it in a particular >> directory tree structure, but I want to be able to move it between >> drives and even computers. > >If you don't have the Perl lib on the current drive, you will need to set >a variable to locate it. I'm not sure which one though... > >Maybe the best solution is to have a common TVFS drive letter and build >Perl using that drive letter as the prefix. > >> Please advise. Thanks. >> >> Hakan > > >-- >John > > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 42 ==========================** Date: Tue, 28 Jan 2003 20:23:16 +0000 From: John Poltorak Subject: Re: Building FILE On Mon, Jan 27, 2003 at 03:34:23PM -0600, Maynard wrote: > John, > > >ISTR you didn't get Automake installed. > > It appears that I'm still lacking, in sequential order: > > gettext, texinfo, and automake > > ref. recent subject thread "Starting from scratch" These should be built now, although there may still be an installation issue... Anyway if you try building file now you will probably get something like:- gcc -DHAVE_CONFIG_H -I. -I. -I. -DMAGIC='"/usr/local/share/magic"' -c `test -f 'file.c' || echo './'`file.c In file included from file.h:48, from file.c:28: u:\emx\include\sys/stat.h:7: warning: #warning requires In file included from file.c:28: file.h:101: parse error before `int32_t' file.h:101: warning: no semicolon at end of struct or union file.h:102: warning: data definition has no type or storage class file.h:114: parse error before `}' file.h:114: warning: empty declaration This problem disappears if you install the Posix/2 headers in \usr\include but fails because of a define for 'long_options' which ought to be in getopt.h, but the EMX version is ancient and doesn't have it :-(... Can we have an updated getopt.h, please? > Thanks, > > -- Maynard > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 43 ==========================** Date: Tue, 28 Jan 2003 20:24:22 -0500 (EST) From: "Hakan" Subject: Re: Perl Build Ted, So I need not use any environment variables for my perl installation? Hakan On Tue, 28 Jan 2003 20:35:36 -0500, Ted Sikora wrote: >Look in /usr/lib is it there? if it is you'll have to add /usr/lib to >your libpath and /usr/bin to path > >Hakan wrote: >> I could not get my copy of perl to run from \usr\bin, it complained >> about missing PERLB12E. Since I plan to have the entire unix-os/2 >> stuff on another drive anyway (actually on a server), should I rebuild >> perl using your configuration directives below so I neither depend on >> it being on a particular drive, nor on the presence of environment >> variables? I do not mind a requirement to have it in a particular >> directory tree structure, but I want to be able to move it between >> drives and even computers. >> >> Please advise. Thanks. >> >> Hakan >> >> On Tue, 28 Jan 2003 12:59:26 -0500, Ted Sikora wrote: >> >> >>>Failed Test Stat Wstat Total Fail Failed List of Failed >>>------------------------------------------------------------------------------- >>>../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 >>>../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >>>../lib/Shell.t 1 256 4 1 25.00% 2 >>>lib/os2_process.t 2 512 227 2 0.88% 174 209 >>>lib/os2_process_kid.t 227 2 0.88% 174 209 >>>lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >>>58 tests and 564 subtests skipped. >>>Failed 6/726 test scripts, 99.17% okay. 13/68693 subtests failed, 99.98% >>>okay. >>> >>>Getting closer. I built it with: >>> >>>Configure -d -des -Dprefix=/usr -Dprivlib=/usr/lib/perl5 >>>-Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl >>>-Dsitearch=/usr/lib/perl5/site_perl/os2 >>> >>>It seems to work fine. At least it uses the true Unix locations and >>>there is no drive letter in the way. No env variables needed either. >>> >>>How many fails did Henry get on his builds? I seem to remember 5 for >>>some reason. Does anyone know where those new patches are? >>> >>> >>>-- >>>Ted Sikora >>>tsikora at ntplx.net >>> >>> >>> >> >> >>>_______________________________________________ >>>UX2BS mailing list >>>UX2BS at powerusersbbs.net >>>http://powerusersbbs.net/mailman/listinfo/ux2bs >>> >>> >> >> >> >> >> _______________________________________________ >> UX2BS mailing list >> UX2BS at powerusersbbs.net >> http://powerusersbbs.net/mailman/listinfo/ux2bs >> >> > > >-- >-- >Ted Sikora >tsikora at ntplx.net > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 44 ==========================** Date: Tue, 28 Jan 2003 20:35:36 -0500 From: Ted Sikora Subject: Re: Perl Build Look in /usr/lib is it there? if it is you'll have to add /usr/lib to your libpath and /usr/bin to path Hakan wrote: > I could not get my copy of perl to run from \usr\bin, it complained > about missing PERLB12E. Since I plan to have the entire unix-os/2 > stuff on another drive anyway (actually on a server), should I rebuild > perl using your configuration directives below so I neither depend on > it being on a particular drive, nor on the presence of environment > variables? I do not mind a requirement to have it in a particular > directory tree structure, but I want to be able to move it between > drives and even computers. > > Please advise. Thanks. > > Hakan > > On Tue, 28 Jan 2003 12:59:26 -0500, Ted Sikora wrote: > > >>Failed Test Stat Wstat Total Fail Failed List of Failed >>------------------------------------------------------------------------------- >>../ext/Socket/socketpair.t 4 1024 45 4 8.89% 16-19 >>../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >>../lib/Shell.t 1 256 4 1 25.00% 2 >>lib/os2_process.t 2 512 227 2 0.88% 174 209 >>lib/os2_process_kid.t 227 2 0.88% 174 209 >>lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >>58 tests and 564 subtests skipped. >>Failed 6/726 test scripts, 99.17% okay. 13/68693 subtests failed, 99.98% >>okay. >> >>Getting closer. I built it with: >> >>Configure -d -des -Dprefix=/usr -Dprivlib=/usr/lib/perl5 >>-Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl >>-Dsitearch=/usr/lib/perl5/site_perl/os2 >> >>It seems to work fine. At least it uses the true Unix locations and >>there is no drive letter in the way. No env variables needed either. >> >>How many fails did Henry get on his builds? I seem to remember 5 for >>some reason. Does anyone know where those new patches are? >> >> >>-- >>Ted Sikora >>tsikora at ntplx.net >> >> >> > > >>_______________________________________________ >>UX2BS mailing list >>UX2BS at powerusersbbs.net >>http://powerusersbbs.net/mailman/listinfo/ux2bs >> >> > > > > > _______________________________________________ > UX2BS mailing list > UX2BS at powerusersbbs.net > http://powerusersbbs.net/mailman/listinfo/ux2bs > > -- -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 45 ==========================** Date: Tue, 28 Jan 2003 20:40:48 -0500 (EST) From: "Hakan" Subject: Re: Nobody's listening Thanks Ted, that looks long and complex, ergo it must be correct :-) Will rebuild perl tomorrow (on a faster machine) so I can try it with swish-e (for indexing and searching text files) and then try to build some other Unix application... May I suggest we change the default build script for perl to include the below (to help other neophytes like myself to get into perl?) What about the "left-over" perl files I found? Hakan On Tue, 28 Jan 2003 20:48:58 -0500, Ted Sikora wrote: >Replace sh Configure -des -D prefix=%uxrt%/usr/lib/perl in >build_perl.cmd with: > >sh Configure -des -d -Dprefix=/usr -Dprivlib=/usr/lib/perl5 >-Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl >-Dsitearch=/usr/lib/perl5/site_perl/os2 > >You need to add x:\usr\bin to path and x:\usr\lib to libpath >for the build to work. > >You need no env variables in config.sys, it does not need drive letters >and works perfect. I have it on 2 servers already. > >-- >Ted Sikora >tsikora at ntplx.net > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 46 ==========================** Date: Tue, 28 Jan 2003 20:48:58 -0500 From: Ted Sikora Subject: Nobody's listening Replace sh Configure -des -D prefix=%uxrt%/usr/lib/perl in build_perl.cmd with: sh Configure -des -d -Dprefix=/usr -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/os2 You need to add x:\usr\bin to path and x:\usr\lib to libpath for the build to work. You need no env variables in config.sys, it does not need drive letters and works perfect. I have it on 2 servers already. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 47 ==========================** Date: Tue, 28 Jan 2003 20:58:35 -0500 From: Ted Sikora Subject: Re: Perl Build Hakan wrote: > Ted, > > So I need not use any environment variables for my perl installation? You *do* if you used the standard build_perl.cmd You *don't* if you: Replace sh Configure -des -D prefix=%uxrt%/usr/lib/perl in build_perl.cmd with: sh Configure -des -d -Dprefix=/usr -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/os2 > > Hakan > > On Tue, 28 Jan 2003 20:35:36 -0500, Ted Sikora wrote: > > >>Look in /usr/lib is it there? if it is you'll have to add /usr/lib to >>your libpath and /usr/bin to path >> >>Hakan wrote: >> >>>I could not get my copy of perl to run from \usr\bin, it complained >>>about missing PERLB12E. Since I plan to have the entire unix-os/2 It complained because /usr/lib is not in your libpath. Add x:\usr\bin to path and x:\usr\lib to libpath in your config.sys and reboot. It should work. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 48 ==========================** Date: Tue, 28 Jan 2003 21:04:50 -0500 From: Ted Sikora Subject: Re: Perl Build Ted Sikora wrote: > Hakan wrote: > >> Ted, >> >> So I need not use any environment variables for my perl installation? > > > You *do* if you used the standard build_perl.cmd > > You *don't* if you: > > Replace sh Configure -des -D prefix=%uxrt%/usr/lib/perl in > build_perl.cmd with: > > sh Configure -des -d -Dprefix=/usr -Dprivlib=/usr/lib/perl5 > -Darchlib=/usr/lib/perl5/os2 -Dsitelib=/usr/lib/perl5/site_perl > -Dsitearch=/usr/lib/perl5/site_perl/os2 > These are the default perl locations for Unix. Perl looks here by default. If they are not installed like this *then* you need env settings in config.sys to tell Perl where they are. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 49 ==========================** Date: Tue, 28 Jan 2003 21:32:20 +0000 From: John Poltorak Subject: Re: openssl On Tue, Jan 28, 2003 at 03:07:58PM -0600, Maynard wrote: > John, > > Need you to fix this, per below. Well spotted. Do you want to RSYNC and test? > > >Just realised that \unixos2\scripts\build\build_openssl.cmd has not been > >updated. It should contain:- > > > >rm include/openssl/* > >call os2\os2-emx > >make -f os2-emx-dll.mak > >cp -p openssl.exe %uxrt%\usr\bin > ------^^ file is in out_dll\ <<<<<<----------<<<<<<<<< > > >cp -p out_dll\*.dll %uxrt%\usr\lib > >cp -p out_dll\*.a %uxrt%\usr\lib > >cp -p -r outinc\openssl %uxrt%\usr\include > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 50 ==========================** Date: Tue, 28 Jan 2003 21:41:15 +0000 From: John Poltorak Subject: Re: Perl Build On Tue, Jan 28, 2003 at 04:21:53PM -0500, Hakan wrote: > I could not get my copy of perl to run from \usr\bin, it complained > about missing PERLB12E. The DLL must be on your libpath. The correct location for this on a standard UnixOS/2 system is %UNIXROOT%\usr\lib. It's is the DLL which contains the embedded paths. > Since I plan to have the entire unix-os/2 > stuff on another drive anyway (actually on a server), should I rebuild > perl using your configuration directives below so I neither depend on > it being on a particular drive, nor on the presence of environment > variables? I do not mind a requirement to have it in a particular > directory tree structure, but I want to be able to move it between > drives and even computers. If you don't have the Perl lib on the current drive, you will need to set a variable to locate it. I'm not sure which one though... Maybe the best solution is to have a common TVFS drive letter and build Perl using that drive letter as the prefix. > Please advise. Thanks. > > Hakan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 51 ==========================** Date: Tue, 28 Jan 2003 22:33:35 +0100 From: Thomas Hoffmann Subject: Re: Perl env vaiables John Poltorak wrote: > On Tue, Jan 28, 2003 at 11:11:00PM +1100, IanM wrote: > >>These are the ones you should have :- >> >>SET MANPATH=C:\PERL\LIB\MAN >>SET PERL_BADFREE=0 >>SET PERL_BADLANG=0 >>SET PERL_SH_DIR=c:\bin >>SET INFOPATH=C:\PERL\BOOK Do not set MANPATH and INFOPATH to Perl specific locations, rather put the man and info files for Perl under a FHS compliant structure like /usr/share/man and /usr/share/info. Thomas. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 52 ==========================** Date: Tue, 28 Jan 2003 22:45:58 +0100 From: Thomas Hoffmann Subject: Re: Perl prefix Nobody wants every single executable dumped into /usr/bin, but some should go there (and not based on personal taste). FHS should be the basis for this discussion. And it seems that perl is not exactly just yet another executable (FHS 2.1): /usr/bin Binaries that are not needed in single-user mode ... Because shell script interpreters (invoked with #! on the first line of a shell script) cannot rely on a path, it is advantageous to standardize their locations. The Bourne shell and C-shell interpreters are already fixed in /bin,but Perl, Python, and Tcl are often found in many different places. /usr/bin/perl, /usr/bin/python,and /usr/bin/tcl should reference the perl, python, and tcl shell interpreters, respectively.They may be symlinks to the physical location of the shell interpreters. ... Thomas. John Poltorak wrote: > On Tue, Jan 28, 2003 at 09:17:54AM -0500, Ted Sikora wrote: > >>Shouldn't the --prefix=/usr/lib/perl5 instead? > > > It's easy enough to change. It's just work in progress at the moment. > > We need to decide where quite a number of apps should go. > > Personally, I wouldn't want every single executable being dumped in > /usr/bin so I've set a default of /usr/local as the prefix. I think we > will need to review this in due course. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 53 ==========================** Date: Tue, 28 Jan 2003 23:11:00 +1100 (EDT) From: "IanM" Subject: Re: Perl env vaiables These are the ones you should have :- SET MANPATH=C:\PERL\LIB\MAN SET PERL_BADFREE=0 SET PERL_BADLANG=0 SET PERL_SH_DIR=c:\bin SET INFOPATH=C:\PERL\BOOK And if your distribution is referenced to another drive, and/or if you have moved the perl modules to a different location, as some earlier versions were, you need to map the drive, which this env var does :- SET PERLLIB_PREFIX=o:/Perl/lib;c:\Perl\lib I also do a global replace in all config.pm files to replace the original drive reference (ie, f:) to the drive I have PERL installed on, (ie c:) I dont use SET PERL, as I've had no need of it, so far. Cheers IanM http://www.os2site.com/ 115. Support bacteria - they're the only culture some people have. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs