Date: Wed, 12 Feb 2003 02:34:41 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 75 ************************************************** Tuesday 11 February 2003 Number 75 ************************************************** Subjects for today 1 Re: BZIP2 : Maynard" 2 plugging away : Maynard" 3 Re: BZIP2 : John Poltorak 4 Re: ED : John Poltorak 5 Re: BZIP2 : John Poltorak 6 Re: LESS / termcap : Maynard" 7 Re: plugging away : John Poltorak 8 PATCH : John Poltorak 9 Re: LESS / termcap : Maynard" 10 Re: LESS / termcap : Maynard" 11 Re: [PosixOS2] Re: Building WGET : Dave and Natalie" 12 Re: BZIP2 : Stefan.Neis at t-online.de 13 Re: LESS / termcap : Maynard" 14 Re: BZIP2 : Stefan.Neis at t-online.de 15 LESS : John Poltorak 16 Re: LESS / termcap : John Poltorak 17 Re: LESS / termcap : John Poltorak 18 Any more Perl builds? : John Poltorak 19 Re: LESS / termcap : John Poltorak **= Email 1 ==========================** Date: Wed, 12 Feb 2003 07:30:50 -0600 (CST) From: "Maynard" Subject: Re: BZIP2 On Wed, 12 Feb 2003 09:06:28 +0000, John Poltorak wrote: >> just fine; though it's operation doesn't preserve datestamps > >Is this a bug or a feature? It seems that the destination OS will date a newly unzipped file just as it would any other new file, with current datestamp. It would be nice feature of unzipper to restamp the unzipped files with the datestamp of the file in the archive. It seems that RAR and GZIP provide this feature. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Wed, 12 Feb 2003 08:25:25 -0600 (CST) From: "Maynard" Subject: plugging away Quick stab at running ./configure for textutils-2.1 halts with: configure:32868: error: could not determine how to read list of mounted filesystems -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Wed, 12 Feb 2003 09:06:28 +0000 From: John Poltorak Subject: Re: BZIP2 On Tue, Feb 11, 2003 at 09:17:29PM -0600, Maynard wrote: > On Mon, 10 Feb 2003 14:06:16 +0000, John Poltorak wrote: > > >Let me know if it builds. > > just fine; though it's operation doesn't preserve datestamps Is this a bug or a feature? > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Wed, 12 Feb 2003 13:00:05 +0000 From: John Poltorak Subject: Re: ED On Tue, Feb 11, 2003 at 09:02:23PM -0600, Maynard wrote: > [x:\unixos2\scripts]type post-process\ed > emxbind \usr\bin\ed && rm \usr\bin\ed > emxbind \usr\bin\red && rm \usr\bin\red > > ed and red were installed into \usr\local\bin > > something needs to be fixed. Oops... Forgot to update build.table on server. > Catching up ....., > > -- Maynard > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Wed, 12 Feb 2003 13:41:12 +0000 From: John Poltorak Subject: Re: BZIP2 On Wed, Feb 12, 2003 at 07:30:50AM -0600, Maynard wrote: > On Wed, 12 Feb 2003 09:06:28 +0000, John Poltorak wrote: > > >> just fine; though it's operation doesn't preserve datestamps > > > >Is this a bug or a feature? > > It seems that the destination OS will date a newly unzipped file just > as it would any other new file, with current datestamp. It would be > nice feature of unzipper to restamp the unzipped files with the > datestamp of the file in the archive. It seems that RAR and GZIP > provide this feature. My main concern is that the OS/2 version of BZIP2 is not broken. I guess if we want additional features we need to ask the developer of BZIP2 to add them, unless someone feels like providing the code to do what you want. If it works then it can be submitted for possible inclusion into the main program. Of course, it would also be nice if it also supported EA's, but I can't see that happening. I wonder how hard it would be to add something like that... > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Wed, 12 Feb 2003 14:19:37 -0600 (CST) From: "Maynard" Subject: Re: LESS / termcap On Wed, 12 Feb 2003 17:44:14 +0000, John Poltorak wrote: >If anyone wants to try it, you'll need to build termcap first, and copy >termcap.dat to %uxrt%\etc as termcap. Here's that problem again with /usr/LOCAL/... X:/usr/bin/install.exe -m 644 libtermcap.a /usr/local/lib/libtermcap.a echo /usr/local/lib/libtermcap.a /usr/local/lib/libtermcap.a .... mv: /usr/lib/libtermcap.a: No such file or directory emxomf: Cannot open input file `/usr/lib/termcap.a' there is no termcap.dat after this failure find *termcap.a: Directory: X:\usr\local\lib libtermcap.a 19728 2-11-2003 9:22p A also not difference between libtermcap.a and termcap.a _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Wed, 12 Feb 2003 14:37:52 +0000 From: John Poltorak Subject: Re: plugging away On Wed, Feb 12, 2003 at 08:25:25AM -0600, Maynard wrote: > > Quick stab at running ./configure for textutils-2.1 halts with: I wouldn't bother with that yet... There are no patches for that version. v2.0 _may_ build, but probably needs tweaking. > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Wed, 12 Feb 2003 14:52:47 +0000 From: John Poltorak Subject: PATCH GNU PATCH v2.54 appears to build correctly. Whether it works correctly is a different matter... I haven't added any patches from KUR's old port. Can anyone have a quick browse though patches.emx which you should be able to find in:- \unixos2\archives\baseline\gnupatch.zip and see if there is anything significant which should be added back in? I have no idea about what is behind patches like this:- ! static void usage PARAMS ((FILE *, int)) __attribute__((noreturn)); ! void usage PARAMS ((FILE *, int)) __attribute__((noreturn)); and this:- ! static void ! void Are they significant? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Wed, 12 Feb 2003 14:57:15 -0600 (CST) From: "Maynard" Subject: Re: LESS / termcap On Wed, 12 Feb 2003 20:26:59 +0000, John Poltorak wrote: >If your entry for termcap does not include:- > >--prefix=${UXRT}/usr ?? "entry" ?? -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Wed, 12 Feb 2003 16:03:01 -0600 (CST) From: "Maynard" Subject: Re: LESS / termcap OK. I updated the build.table, and everything else by rsync with 213.152.37.92 less builds fine, but doesn't work well (needs termcap) termcap goes through motions; doesn't log errors; doesn't create termcap or termcap.dat anywhere. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Wed, 12 Feb 2003 16:09:39 -0800 From: "Dave and Natalie" Subject: Re: [PosixOS2] Re: Building WGET On Fri, 7 Feb 2003 15:58:07 +0100, Stefan.Neis at t-online.de wrote: >Addressed to: ux2bs at powerusersbbs.net > posix2 at borneo.gmd.de > > Hi, > >> > #ifdef __EMX__ >> > #define setsid() (0) >> > #endif >> >> Although this may work, I think we need to ask whether setsid is defined >> correctly with EMX or even Posix/2... > >I just looked through Posix/2 again and it looks like it's not implementing >setsid either. There's a reference to _setsid in some (hopefully unused) >daemon code, but that seems to be unresolved. Its funny, a certain game (rocksndiamonds) I've been running for years got updated and quit running so I changed the C flags for a debug build and bang, unresolved symbol _setsid. Narrowed it down to with -O3 program built fine, remove the -O3 and error. Just tried it again and it compiled fine with either C flag set. I feel very confused Dave _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Wed, 12 Feb 2003 16:25:48 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: BZIP2 John Poltorak schrieb: > On Wed, Feb 12, 2003 at 07:30:50AM -0600, Maynard wrote: > > On Wed, 12 Feb 2003 09:06:28 +0000, John Poltorak > wrote: > > > > >> just fine; though it's operation doesn't preserve > datestamps > > > > > >Is this a bug or a feature? > > > > It seems that the destination OS will date a newly > unzipped file just > > as it would any other new file, > My main concern is that the OS/2 version of BZIP2 is not > broken. I suppose it is. :-( On Linux: > neis:~/test > ls -al bztest > -rwxr----- 1 neis users 4526 Sep 6 2001 bztest > neis:~/test > bzip2 -9 bztest > neis:~/test > ls -al bztest* > -rwxr----- 1 neis users 1409 Sep 6 2001 bztest.bz2 > neis:~/test > bzip2 -d bztest.bz2 > neis:~/test > ls -al bztest* > -rwxr----- 1 neis users 4526 Sep 6 2001 bztest i.e. the date remains unchanged, whereas it changes its date on OS/2. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Wed, 12 Feb 2003 16:34:07 -0600 (CST) From: "Maynard" Subject: Re: LESS / termcap On Wed, 12 Feb 2003 22:11:50 +0000, John Poltorak wrote: >Yes, I mentioned that you needed to get hold of termcap.dat and copy it as >termcap to %uxrt%\etc. > >If you don't have one, I've included one in \unixos2\lib, which you'll get >if you RSYNC. I've got one in \emx\etc; would that be acceptable or is yours preferred? I thought we'd be recreating one by building termcap. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Wed, 12 Feb 2003 17:25:45 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: BZIP2 Stefan.Neis at t-online.de schrieb: > John Poltorak schrieb: > > On Wed, Feb 12, 2003 at 07:30:50AM -0600, Maynard > wrote: > > > On Wed, 12 Feb 2003 09:06:28 +0000, John Poltorak > > wrote: > > > > > > >> just fine; though it's operation doesn't preserve > > datestamps > > > > > > > >Is this a bug or a feature? > > > > > > It seems that the destination OS will date a newly > > unzipped file just > > > as it would any other new file, > > > My main concern is that the OS/2 version of BZIP2 is > not > > broken. > > I suppose it is. :-( At least, it is not a new bug, some older version (bzip-1.0.1,incidentally the same that "works" on Linux) has the same problem on OS/2. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Wed, 12 Feb 2003 17:44:14 +0000 From: John Poltorak Subject: LESS I've managed to build LESS reasonably easily. If anyone wants to try it, you'll need to build termcap first, and copy termcap.dat to %uxrt%\etc as termcap. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Wed, 12 Feb 2003 20:26:59 +0000 From: John Poltorak Subject: Re: LESS / termcap On Wed, Feb 12, 2003 at 02:19:37PM -0600, Maynard wrote: > On Wed, 12 Feb 2003 17:44:14 +0000, John Poltorak wrote: > > >If anyone wants to try it, you'll need to build termcap first, and copy > >termcap.dat to %uxrt%\etc as termcap. > > Here's that problem again with /usr/LOCAL/... If your entry for termcap does not include:- --prefix=${UXRT}/usr then you need to do a refresh. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Wed, 12 Feb 2003 21:06:35 +0000 From: John Poltorak Subject: Re: LESS / termcap On Wed, Feb 12, 2003 at 02:57:15PM -0600, Maynard wrote: > On Wed, 12 Feb 2003 20:26:59 +0000, John Poltorak wrote: > > >If your entry for termcap does not include:- > > > >--prefix=${UXRT}/usr > > ?? "entry" ?? build.table All apps need an entry in build.table. This is the basic index for the build system. > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Wed, 12 Feb 2003 21:42:26 +0000 From: John Poltorak Subject: Any more Perl builds? Has anyone who has joined the list recently managed to build Perl? If not, do you need any instructions? Essentially, all you should need to do is run this script which I've called ux2_bootstrap.cmd:- ------------------------------------------------------------------- at echo off echo: echo: Please set variables to suit your own environment before echo: running this script for the first time. echo: set bldrt=c: set uxrt=c: set osrt=c: echo: * osrt is where OS/2 boots from. echo: echo: - currently %osrt% echo: echo: * bldrt is where the build environment will reside. echo: echo: - currently %bldrt% echo: echo: * uxrt is where the Unix-like environment will be installed. echo: echo: - currently %uxrt% echo: echo: If these variables are not set correctly, press ctrl-break otherwise echo: press any other key to install the UnixOS/2 baseline build echo: which should include building Perl 5.8.0. This may take a couple echo: of hours... echo: pause set bld_home=unixos2 set host=powerusersbbs.net echo open 213.152.37.92 >ux2_ftp echo user unixos2 "" >>ux2_ftp echo bina >>ux2_ftp echo get /pub/unixos2/build_system/lib/rsync.exe >>ux2_ftp echo bye >>ux2_ftp echo:>>ux2_ftp type ux2_ftp | ftp -nv rsync -av %host%::build %bldrt%/%bld_home% %bldrt% cd \%bld_home%\lib ux2_inst %1 %2 %3 %4 %5 %6 %7 %8 %9 ------------------------------------------------------------------- If anyone hasn't tried it yet, please give it a go and report back how you went on. You may want to change the variables at the top of the script if you want to build apps on some drive other than C: or if OS/2 is installed elsewhere. Also, bear in mind that you could overwrite any existing files if you already have a \emx or \usr on the drive you use for %uxrt%. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Wed, 12 Feb 2003 22:11:50 +0000 From: John Poltorak Subject: Re: LESS / termcap On Wed, Feb 12, 2003 at 04:03:01PM -0600, Maynard wrote: > OK. > > I updated the build.table, and everything else by rsync with > 213.152.37.92 > > less builds fine, but doesn't work well (needs termcap) > > termcap goes through motions; doesn't log errors; doesn't create > termcap or termcap.dat anywhere. Yes, I mentioned that you needed to get hold of termcap.dat and copy it as termcap to %uxrt%\etc. If you don't have one, I've included one in \unixos2\lib, which you'll get if you RSYNC. > -- Maynard > > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs