Date: Wed, 5 Feb 2003 02:34:01 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 68 ************************************************** Tuesday 04 February 2003 Number 68 ************************************************** Subjects for today 1 Re: EMX v. P2 headers conflict ? : Marty" 2 Re: REGEX - please test : Stefan.Neis at t-online.de 3 Re: EMX v. P2 headers conflict ? : Stefan.Neis at t-online.de 4 Re: EMX v. P2 headers conflict ? : John Poltorak 5 Building BZIP2 : John Poltorak 6 Re: EMX v. P2 headers conflict ? : andreas.buening at nexgo.de 7 Re: REGEX - please test : John Poltorak 8 Re: EMX v. P2 headers conflict ? : Sebastian Wittmeier (ShadoW)" 9 starting again : Dave Saville" 10 Re: starting again : John Poltorak 11 Re: EMX v. P2 headers conflict ? : Sebastian Wittmeier (ShadoW)" 12 Re: starting again : Dave Saville" 13 Re: starting again : John Poltorak 14 Re: REGEX - please test : Thomas Hoffmann 15 Re: EMX v. P2 headers conflict ? : Marty" **= Email 1 ==========================** Date: Wed, 05 Feb 2003 09:30:14 -0500 (EST) From: "Marty" Subject: Re: EMX v. P2 headers conflict ? On Wed, 05 Feb 2003 10:45:56 +0100 (CET), Stefan.Neis at t-online.de wrote: > However, some quick checking reveals that neither Solaris > nor Linux do have that function, so it is far less common > than I initially though. Somebody able/willing to check > for setmode on AIX and/or HP/UX? I work with AIX 4.3 and 5.1 as well as HP/UX 11. I'll check today. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Wed, 05 Feb 2003 10:35:12 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: REGEX - please test John Poltorak schrieb: > I am aware of regex.h, but I don't see how I can build > regex.dll or a > regex library from Posix/2. It's part of cExt.a, not a separate library. No DLL though, so we still need something for currently existing applications. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Wed, 05 Feb 2003 10:45:56 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: EMX v. P2 headers conflict ? Hi, > Fix the Posix/2 header and lib to comply to the EMX > standard (tm). > Just my 2 cents. (I don't think that Unix like setmode() > is defined by any important standard. Please correct me > if I'm wrong.) No idea which standard, but it does exist since some fairly old BSD version, so I believed almost any Unix would have it... And since we aim at making porting _Unix_ software easier, there didn't seem to be much point in supporting the DOS standard function. However, some quick checking reveals that neither Solaris nor Linux do have that function, so it is far less common than I initially though. Somebody able/willing to check for setmode on AIX and/or HP/UX? Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Wed, 5 Feb 2003 10:55:27 +0000 From: John Poltorak Subject: Re: EMX v. P2 headers conflict ? On Wed, Feb 05, 2003 at 10:45:56AM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > Fix the Posix/2 header and lib to comply to the EMX > > standard (tm). > > Just my 2 cents. (I don't think that Unix like setmode() > > is defined by any important standard. Please correct me > > if I'm wrong.) > > No idea which standard, but it does exist since some fairly > old BSD version, so I believed almost any Unix would have > it... > And since we aim at making porting _Unix_ software easier, > there didn't seem to be much point in supporting the DOS > standard function. > However, some quick checking reveals that neither Solaris > nor Linux do have that function, so it is far less common > than I initially though. Somebody able/willing to check > for setmode on AIX and/or HP/UX? I'm hoping to install AIX v1.3.0 on an old PS/2. What would I need to check? > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Wed, 5 Feb 2003 12:33:31 +0000 From: John Poltorak Subject: Building BZIP2 I have been able to build BZIP2 in the past, but have found a problem in the current ux2bs environment which prevents it from working. Can someone try:- ? build bzip2 If/when it doesn't work, can you try it again after commenting out the call to zap_env in ux2_env.cmd? I'd like to know what is preventing it from working. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Wed, 5 Feb 2003 13:38:51 +0100 (CET) From: andreas.buening at nexgo.de Subject: Re: EMX v. P2 headers conflict ? Stefan Neis wrote: > Hi, > > > Fix the Posix/2 header and lib to comply to the EMX > > standard (tm). > > Just my 2 cents. (I don't think that Unix like setmode() > > is defined by any important standard. Please correct me > > if I'm wrong.) > > No idea which standard, but it does exist since some fairly > old BSD version, so I believed almost any Unix would have > it... Just tested: Linux: no Solaris: no AIX: no Irix: no OS/2 (EMX): yes I conclude that the BSD setmode() is neither standardized nor needed for "normal" Unix systems. > And since we aim at making porting _Unix_ software easier, > there didn't seem to be much point in supporting the DOS > standard function. First, OS/2 is not Unix, OS/2 is not GNU and OS/2 is not BSD. We'd better comply to the existing EMX standard if in doubt because this is what currently existing OS/2 programs are using. Taking into account that some GNU utilities (like gawk or cat) make use of the DOS-like setmode() we should really skip the BSD setmode() from Posix/2. [snip] Bye, Andreas ---------------------------------------------------------------------------- Sichern Sie sich jetzt den neuen Otto Katalog mit über 40.000 Artikeln auf über 1.300 Seiten - kostenlos und ganz unverbindlich. http://www.arcor.de/home/redir.php/email.otto ----------------------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Wed, 5 Feb 2003 14:08:47 +0000 From: John Poltorak Subject: Re: REGEX - please test On Wed, Feb 05, 2003 at 10:35:12AM +0100, Stefan.Neis at t-online.de wrote: > John Poltorak schrieb: > > I am aware of regex.h, but I don't see how I can build > > regex.dll or a > > regex library from Posix/2. > > It's part of cExt.a, not a separate library. No DLL though, > so we still need something for currently existing > applications. I would prefer to have a regex.dll since quite a number of program would use it and they would be substantially smaller. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Wed, 05 Feb 2003 16:25:40 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: EMX v. P2 headers conflict ? On Wed, 5 Feb 2003 13:38:51 +0100 (CET), andreas.buening at nexgo.de wrote: >First, OS/2 is not Unix, OS/2 is not GNU and OS/2 is not BSD. And Gnu is Not Unix! :-) Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Wed, 05 Feb 2003 16:55:51 +0000 (GMT) From: "Dave Saville" Subject: starting again I decided to wipe everything and start again, using the right command shell :-) I got the boot script this morning and set it off. The only dir left on the drive was tmp - which lives there on my system. Result of perl build: Failed 5/726 test scripts, 99.31% okay. 9/68658 subtests failed, 99.99% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- --------- ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 lib/os2_base.t 1 256 19 1 5.26% 8 lib/os2_process.t 3 768 227 3 1.32% 90 174 209 lib/os2_process_kid.t 227 3 1.32% 90 174 209 op/stat.t 73 1 1.37% 44 62 tests and 563 subtests skipped. Which build/script should I try next John? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Wed, 5 Feb 2003 17:06:07 +0000 From: John Poltorak Subject: Re: starting again On Wed, Feb 05, 2003 at 04:55:51PM +0000, Dave Saville wrote: > I decided to wipe everything and start again, using the right command > shell :-) > > I got the boot script this morning and set it off. The only dir left > on the drive was tmp - which lives there on my system. > > Result of perl build: > > Failed 5/726 test scripts, 99.31% okay. 9/68658 subtests failed, > 99.99% okay. > Failed Test Stat Wstat Total Fail Failed List of > Failed > ---------------------------------------------------------------------- > --------- > ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 > lib/os2_base.t 1 256 19 1 5.26% 8 > lib/os2_process.t 3 768 227 3 1.32% 90 174 209 > lib/os2_process_kid.t 227 3 1.32% 90 174 209 > op/stat.t 73 1 1.37% 44 > 62 tests and 563 subtests skipped. That looks pretty standard. > > Which build/script should I try next John? update_base.cmd Let us know how it goes? > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Wed, 05 Feb 2003 17:06:17 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: EMX v. P2 headers conflict ? man file: getmode() has been introduced in 4.4BSD Explanation, why setmode is not part of glibc: http://sources.redhat.com/ml/libc-alpha/2002-01/msg00113.html (At least) MacOS X, FreeBSD, OpenBSD, and Novell have setmode() Cygwin behaviour is complicated and unpredictable: http://www.cygwin.com/cygwin-ug-net/using-textbinary.html http://www.cygwin.com/ml/cygwin/2001-01/msg00084.html Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Wed, 05 Feb 2003 17:40:08 +0000 (GMT) From: "Dave Saville" Subject: Re: starting again On Wed, 5 Feb 2003 17:06:07 +0000, John Poltorak wrote: >update_base.cmd Autoconf built OK but byacc still fails for me with getting the file. I cd'd to source and ran wget there and it sucked it down fine - as the scripts usually do. Why this one fails is beyond me. I had ctl-c'ed the build when I saw the download fail and just restated it. Autoconf threw some errors as it had run twice but otherwise still seems OK. flex seems OK byacc though gives -n "Loading yacc ... " "done" cp: cannot create regular file `e:/usr/share/man/man1': No such file or directory e:\usr\share\man\man1\yacc.1: No such file or directory ncurses still running - is it worth continuing? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Wed, 5 Feb 2003 17:54:40 +0000 From: John Poltorak Subject: Re: starting again On Wed, Feb 05, 2003 at 05:40:08PM +0000, Dave Saville wrote: > On Wed, 5 Feb 2003 17:06:07 +0000, John Poltorak wrote: > > >update_base.cmd > > Autoconf built OK but byacc still fails for me with getting the file. > I cd'd to source and ran wget there and it sucked it down fine - as > the scripts usually do. Why this one fails is beyond me. In future you could set the variable %repository% to some other pre-existing location before running ux2_bootstrap and it won't need to retrieve any files you have previously downloaded. > > I had ctl-c'ed the build when I saw the download fail and just > restated it. Autoconf threw some errors as it had run twice but > otherwise still seems OK. > > flex seems OK > > byacc though gives > > -n "Loading yacc ... " > "done" > cp: cannot create regular file `e:/usr/share/man/man1': No such file > or directory > e:\usr\share\man\man1\yacc.1: No such file or directory That is only the man page. I've obviously got the sequence wrong because there is no \usr\man\share directory available at this time. Maybe it should use INSTALL instead of CP... I'm not sure if install will create any missing directories in the target path. > ncurses still running - is it worth continuing? Yes, defnitely. > > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Wed, 05 Feb 2003 23:03:33 +0100 From: Thomas Hoffmann Subject: Re: REGEX - please test John, do not overestimate the size argument. The regex objects of libcext are below 30k in total. Because you have to link an import lib for load time binding you will not even save those 30k in total when using a dll. And there are some other reasons to keep away from too much dlls. The least are the difficulties of configure to detect some of the more obscure OS/2 dll constructs. Admittedly, there are some arguments in favor of dlls besides the size argument, too. Maybe one of the experts can point to relevant discussions from the past. John Poltorak wrote: > On Wed, Feb 05, 2003 at 10:35:12AM +0100, Stefan.Neis at t-online.de wrote: > >>John Poltorak schrieb: >> >>>I am aware of regex.h, but I don't see how I can build >>>regex.dll or a >>>regex library from Posix/2. >> >>It's part of cExt.a, not a separate library. No DLL though, >>so we still need something for currently existing >>applications. > > > I would prefer to have a regex.dll since quite a number of program would > use it and they would be substantially smaller. > > > >> Regards, >> Stefan > > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Wed, 05 Feb 2003 23:31:58 -0500 (EST) From: "Marty" Subject: Re: EMX v. P2 headers conflict ? On Wed, 05 Feb 2003 09:30:14 -0500 (EST), Marty wrote: > On Wed, 05 Feb 2003 10:45:56 +0100 (CET), Stefan.Neis at t-online.de wrote: > > > However, some quick checking reveals that neither Solaris > > nor Linux do have that function, so it is far less common > > than I initially though. Somebody able/willing to check > > for setmode on AIX and/or HP/UX? > > I work with AIX 4.3 and 5.1 as well as HP/UX 11. I'll check today. Just to follow up, none of these three platforms have a "setmode" in their standard set of header files. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs