Date: Sat, 16 Aug 2003 02:47:10 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 173 ************************************************** Friday 15 August 2003 Number 173 ************************************************** Subjects for today 1 Re: Installing the UnixOS2 build system : T.Sikora" 2 UNIXROOT : Jeff Robinson 3 Re: Installing the UnixOS2 build system : Stefan.Neis at t-online.de 4 Re: Installing the UnixOS2 build system : Sid Gale" 5 Re: Installing the UnixOS2 build system : Dave Saville" 6 Re: Installing the UnixOS2 build system : Dave Saville" 7 Re: Installing the UnixOS2 build system : Dave Saville" 8 Re: Installing the UnixOS2 build system : Dave Saville" 9 Re: UNIXROOT : T.Sikora" 10 Re: Installing the UnixOS2 build system : T.Sikora" 11 Re: UNIXROOT : Andreas Buening **= Email 1 ==========================** Date: Sat, 16 Aug 2003 08:38:45 -0400 From: "T.Sikora" Subject: Re: Installing the UnixOS2 build system Sid Gale wrote: > On Sat, 16 Aug 2003 11:12:26 +0100, Stefan.Neis at t-online.de wrote: > > >>UnixOS2 does have some problems with being installed anywhere but in >>the root directory of a drive (in case of need using TVFS might help) >>I suppose it's getting confused by putting things into D:\UnixOS2 >>instead of plain D: > > > Well, I noticed later that several directories - usr, posix, etc, tmp, > a few more - had been created at root level rather than in the UnixOS2 > directory... > That's were they reside. ux2bs is installed in Unix legacy positions see: http://os2ports.com/docs/unixos2/unixos2_fhs.txt UnixOS2 is for the build_system/baseline and nothing more. The ux2 distribution packages which you seemed to have added beforehand is antiquated. It installs them in the UNIXROOT which was unixos2 at the time. > >>Is mkdir in d:\UnixOS2\usr\bin? That would confirm my suspicion. > > > That was my thought too but, no, it's not there either. > > I've been advised to use rsync rather than wget. I'll try again later > today. > > Thanks for the reply. > > Regards > > Sid Gale -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sat, 16 Aug 2003 09:12:42 -0500 From: Jeff Robinson Subject: UNIXROOT T.Sikora wrote: > That's were they reside. ux2bs is installed in Unix legacy positions see: > http://os2ports.com/docs/unixos2/unixos2_fhs.txt > > UnixOS2 is for the build_system/baseline and nothing more. > > The ux2 distribution packages which you seemed to have added beforehand > is antiquated. It installs them in the UNIXROOT which was unixos2 at the > time. > I was actually unaware that UNIXROOT had "changed" (maybe it was always like this and I missed it)?! So should the documents on the UnixOS2 pages then be changed to reflect that UNIXROOT should only be a drive letter and following colon? We'll also need to look at existing packages and see if anything needs to be changed. I'm assuming that most changes would reside only in the base ux2 packages, and all the other stuff should be relative to UNIXROOT regardless... Jeff -- ---------------- Whatza JamochaMUD? http://jamochamud.anecho.mb.ca Or other stuff: http://www.anecho.mb.ca/~jeffnik ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sat, 16 Aug 2003 11:12:26 +0100 From: Stefan.Neis at t-online.de Subject: Re: Installing the UnixOS2 build system > First, I downloaded ux2_base.zip, os2libs.zip and ux2_bootstrap.cmd. I > unzipped ux2_base using 'unzip -d D:\UnixOS2 ux2_base.zip', which > seemed to work. I switched to d:\unixos2\install and ran doinst.cmd. > This asked my to confirm my boot drive and enter my unixroot directory, > which I did as D:\UnixOS2. UnixOS2 does have some problems with being installed anywhere but in the root directory of a drive (in case of need using TVFS might help) I suppose it's getting confused by putting things into D:\UnixOS2 instead of plain D: > It looks as though lots of > things failed to be set up because 'D:\usr\bin\mkdir' could not be > found (which isn't surprising because it doesn't exist, although there > is an empty d:\usr\bin). Is mkdir in d:\UnixOS2\usr\bin? That would confirm my suspicion. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sat, 16 Aug 2003 12:01:25 +0100 (BST) From: "Sid Gale" Subject: Re: Installing the UnixOS2 build system On Sat, 16 Aug 2003 11:12:26 +0100, Stefan.Neis at t-online.de wrote: >UnixOS2 does have some problems with being installed anywhere but in >the root directory of a drive (in case of need using TVFS might help) >I suppose it's getting confused by putting things into D:\UnixOS2 >instead of plain D: Well, I noticed later that several directories - usr, posix, etc, tmp, a few more - had been created at root level rather than in the UnixOS2 directory... >Is mkdir in d:\UnixOS2\usr\bin? That would confirm my suspicion. That was my thought too but, no, it's not there either. I've been advised to use rsync rather than wget. I'll try again later today. Thanks for the reply. Regards Sid Gale _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Sat, 16 Aug 2003 12:22:46 +0100 (BST) From: "Dave Saville" Subject: Re: Installing the UnixOS2 build system On Sat, 16 Aug 2003 12:01:25 +0100 (BST), Sid Gale wrote: >On Sat, 16 Aug 2003 11:12:26 +0100, Stefan.Neis at t-online.de wrote: > >>UnixOS2 does have some problems with being installed anywhere but in >>the root directory of a drive (in case of need using TVFS might help) >>I suppose it's getting confused by putting things into D:\UnixOS2 >>instead of plain D: > >Well, I noticed later that several directories - usr, posix, etc, tmp, >a few more - had been created at root level rather than in the UnixOS2 >directory... > >>Is mkdir in d:\UnixOS2\usr\bin? That would confirm my suspicion. Guys Something is very broken. I just tried on a clean partition using rsync and there are path not founds and mkdir errors all over the place. I just ctl-c'ed out :-( Sid - everything is *supposed* to go in the root file system - that's the way *nix works :-) Lots of *nix things can have something like /bin/someprog *hardcoded* because /bin/someprog *always* exists. So if you try and install in d:/unix/ all hell will break out. Its like xfree86 - it *has* to go in the root of whatever drive you choose. That's all the choice you get, which drive. Safest is to give it a fresh partition if you have one. The log files are in / because the command to make the log dir failed I suspect. This used to work fine - who has been messing with it :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sat, 16 Aug 2003 15:59:47 +0100 (BST) From: "Dave Saville" Subject: Re: Installing the UnixOS2 build system I put a pause into ux2_inst.cmd just before the sed piped to cmd. At this point it is about to invoke build pdksh. Build calls %uxrt%\usr\bin\mkdir but at this point /usr is empty. [F:\unixos2\lib]ls -lR /usr total 0 -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Sat, 16 Aug 2003 16:07:49 +0100 (BST) From: "Dave Saville" Subject: Re: Installing the UnixOS2 build system On Sat, 16 Aug 2003 15:59:47 +0100 (BST), Dave Saville wrote: >I put a pause into ux2_inst.cmd just before the sed piped to cmd. > >At this point it is about to invoke build pdksh. > >Build calls %uxrt%\usr\bin\mkdir but at this point /usr is empty. > >[F:\unixos2\lib]ls -lR /usr >total 0 getting further - baseline_inst puts mkdir into %bld_home%/bin so should not build have %bld_home%/bin/mkdir ? I see why you would want build against /usr for later builds but we ain't built anything yet :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Sat, 16 Aug 2003 16:35:25 +0100 (BST) From: "Dave Saville" Subject: Re: Installing the UnixOS2 build system On Sat, 16 Aug 2003 16:07:49 +0100 (BST), Dave Saville wrote: >On Sat, 16 Aug 2003 15:59:47 +0100 (BST), Dave Saville wrote: > >>I put a pause into ux2_inst.cmd just before the sed piped to cmd. >> >>At this point it is about to invoke build pdksh. >> >>Build calls %uxrt%\usr\bin\mkdir but at this point /usr is empty. >> >>[F:\unixos2\lib]ls -lR /usr >>total 0 > >getting further - baseline_inst puts mkdir into %bld_home%/bin > >so should not build have %bld_home%/bin/mkdir ? > >I see why you would want build against /usr for later builds but we >ain't built anything yet :-) actually I see that build can just use mkdir without any path as PATH at this point will find it in either dir. I changed build to find mkdir and tried to build pdksh it got as far as wanting /bin/sh and, not surprisingly crapped out. I seem to recall that John had a script that populated /usr/bin, /etc and /bin with a few things first. This is badly broken. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Sat, 16 Aug 2003 18:32:15 -0400 From: "T.Sikora" Subject: Re: UNIXROOT Andreas Buening wrote: > Jeff Robinson wrote: > > [snip] > > >>I was actually unaware that UNIXROOT had "changed" (maybe it was always >>like this and I missed it)?! So should the documents on the UnixOS2 >>pages then be changed to reflect that UNIXROOT should only be a drive >>letter and following colon? > > > Yes. > > [snip] > Well.... the distro and packages lets you define the UNIXROOT you can just make that UNIXROOT=/ and it will all still work fine. I also recommend we try to adhere to just paths with no drive letters. Most unix ports really like it that way and it avoids embarressing problems down the road like having to set the path to drive F: like in Ilya's Perl port. I built Perl on ux2bs with the Dprefix settings and it works exactly like it's Unix counterpart without env settings and even CPAN works correctly. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Sat, 16 Aug 2003 18:34:01 -0400 From: "T.Sikora" Subject: Re: Installing the UnixOS2 build system Dave Saville wrote: > On Sat, 16 Aug 2003 16:07:49 +0100 (BST), Dave Saville wrote: > > >>On Sat, 16 Aug 2003 15:59:47 +0100 (BST), Dave Saville wrote: >> >> >>>I put a pause into ux2_inst.cmd just before the sed piped to cmd. >>> >>>At this point it is about to invoke build pdksh. >>> >>>Build calls %uxrt%\usr\bin\mkdir but at this point /usr is empty. >>> >>>[F:\unixos2\lib]ls -lR /usr >>>total 0 >> >>getting further - baseline_inst puts mkdir into %bld_home%/bin >> >>so should not build have %bld_home%/bin/mkdir ? >> >>I see why you would want build against /usr for later builds but we >>ain't built anything yet :-) > > > actually I see that build can just use mkdir without any path as PATH > at this point will find it in either dir. > > I changed build to find mkdir and tried to build pdksh it got as far > as wanting /bin/sh and, not surprisingly crapped out. > > I seem to recall that John had a script that populated /usr/bin, /etc > and /bin with a few things first. > > This is badly broken. > Hmmm.. I brought this up and everyone shouted me down that it was fine. At least I don't feel so crazy now. What can we do? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Sat, 16 Aug 2003 18:41:11 +0200 From: Andreas Buening Subject: Re: UNIXROOT Jeff Robinson wrote: [snip] > I was actually unaware that UNIXROOT had "changed" (maybe it was always > like this and I missed it)?! So should the documents on the UnixOS2 > pages then be changed to reflect that UNIXROOT should only be a drive > letter and following colon? Yes. [snip] Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs