Date: Tue, 4 Feb 2003 02:33:57 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 67 ************************************************** Monday 03 February 2003 Number 67 ************************************************** Subjects for today 1 Re: Build System changes : Ted Sikora 2 UnixOS2 - Bandwidth increase : IanM" 3 Re: Perl questions : Sebastian Wittmeier (ShadoW)" 4 Re: p2-gcc results : Sebastian Wittmeier (ShadoW)" 5 Re: Perl - no go with p2-gcc : Sebastian Wittmeier (ShadoW)" 6 Re: Any more results? : Sebastian Wittmeier (ShadoW)" 7 Re: Perl & Posix/2 : Sebastian Wittmeier (ShadoW)" 8 Re: Perl questions : Sebastian Wittmeier (ShadoW)" 9 Re: Any more results? : Maynard" 10 Re: ux2bs Roadmap : Maynard" 11 Re: perl without c:\ : Maynard" 12 Re: Any more results? : John Poltorak 13 Re: ux2bs Roadmap : Maynard" 14 Re: Build System changes : John Poltorak 15 Re: Perl questions : John Poltorak 16 Re: ux2bs Roadmap : Maynard" 17 Re: ux2bs Roadmap : Maynard" 18 Re: Perl & Posix/2 : Stefan.Neis at t-online.de 19 Too many files open in shell : John Poltorak 20 Re: Build System changes : Stefan.Neis at t-online.de 21 ux2bs Roadmap : John Poltorak 22 Re: Perl questions : Lyn St George" 23 Re: REGEX - please test : Maynard" 24 Re: ux2bs Roadmap : John Poltorak 25 Re: Perl questions : Sebastian Wittmeier (ShadoW)" 26 Re: p2-gcc results : Sebastian Wittmeier (ShadoW)" 27 REGEX - please test : John Poltorak 28 Re: EMX v. P2 headers conflict ? : John Poltorak 29 Re: Perl questions : Stefan.Neis at t-online.de 30 Re: p2-gcc results : Stefan.Neis at t-online.de 31 Re: p2-gcc results : Sebastian Wittmeier (ShadoW)" 32 Re: ux2bs Roadmap : John Poltorak 33 Re: REGEX - please test : John Poltorak 34 Re: gettext & Posix/2 : John Poltorak 35 Re: REGEX - please test : Stefan.Neis at t-online.de 36 Re: EMX v. P2 headers conflict ? : Stefan.Neis at t-online.de 37 Re: ux2bs Roadmap : Sebastian Wittmeier (ShadoW)" 38 gettext & Posix/2 : Stefan.Neis at t-online.de 39 Re: REGEX - please test : John Poltorak 40 Re: Perl & Posix/2 : Thomas Hoffmann 41 Re: REGEX - please test : Thomas Hoffmann 42 Re: EMX v. P2 headers conflict ? : Andreas Buening **= Email 1 ==========================** Date: Tue, 04 Feb 2003 00:19:09 -0500 From: Ted Sikora Subject: Re: Build System changes Needs intl.dll I think run cat by itself and see Maynard wrote: > On Sun, 2 Feb 2003 20:36:40 +0000, John Poltorak wrote: > > >>Due to ongoing problems getting Perl built in a Posix/2 environment > > > heh: > > [X:\UnixOS2\workdir\perl-5.8.0]sh Configure -des -D > prefix=X:/usr/lib/perl > Configure[142]: cat: not found > > Configure[165]: mkdir: not found > > Configure[166]: cd: /UnixOS2/workdir/perl-5.8.0/UU - No such file or > directory > Configure[1214]: sed: not found > > Configure[1250]: sed: not found > > Configure[1262]: cat: not found > > > > They're all there in /usr/bin, on the $PATH > > > > > > > _______________________________________________ > 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 2 ==========================** Date: Tue, 04 Feb 2003 01:38:38 +1100 (EDT) From: "IanM" Subject: UnixOS2 - Bandwidth increase Hi Ted >I switched lines for OS2Ports.com Should see a 1/3 increase in bandwidth >in about 3 days. Downloads will be throttled at 48k. In a few months >I'll be switching it over from Slackware to OS/2 WSeB too. And, while on the subject :- Downloads at unixos2.com, os2site.com, and ecssite.com are throttled to 100k, with a thread limit of 4. The sites are now on a 1.5Mb SHDSL line, which support equal upstream and downstream data rates on a DSL line. Cheers IanM http://www.os2site.com/ - FOR SYSOP USE ONLY - Do not write below this line. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 04 Feb 2003 02:10:43 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Perl questions On Fri, 31 Jan 2003 22:06:35 +0000, John Poltorak wrote: >On Fri, Jan 31, 2003 at 10:52:54PM +0100, Stefan.Neis at t-online.de wrote: >> Actually, "set GCCLOAD=5" does help a lot, it's just not normally set over >If you think of any which should be set, then please let me know. How about the suggested GCCLOAD and GCCOPT to speed up building? Can we improve it further with more cached configure entries? Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 04 Feb 2003 02:12:55 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: p2-gcc results On Sat, 1 Feb 2003 22:24:50 +0000, John Poltorak wrote: >120,121c123,124 >< checking for strcasecmp... yes >< checking for strncasecmp... yes >--- >> checking for strcasecmp... no >> checking for strncasecmp... no Should we look, whether those functions are actually implemented (or are still stubs)? Otherwise our compiled programs would assume features of our system libs, which don't exist. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 04 Feb 2003 02:14:27 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Perl - no go with p2-gcc On Sun, 2 Feb 2003 16:05:53 +0100, Stefan.Neis at t-online.de wrote: >_Any_ header not in the main "/usr/include" directory whose name is >starting with "n" won't be detected. ROFL >Three possible ways to fix it: >1. Manually fix netdb.h in the Configure-generated config.h after running > configure. :-( >2. "Fix" the test in the findhdr script generated by perl's configure. >3. Copy posix2 headers over your /usr/include so all the headers are in > the main include directory again, so the buggy "advanced" test isn't used. Best is to fix it in gcc -E. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 04 Feb 2003 02:27:58 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Any more results? On Mon, 3 Feb 2003 12:51:44 +0000, John Poltorak wrote: >On Sun, Feb 02, 2003 at 03:22:18PM -0600, Maynard wrote: > >> os_base; fix_level; presume HPFS on %uxrt%; > >I think we are assuming that HPFS is being used, so I'm a little puzzled >as to why some people get fails such as:- > >lib/os2_ea.t > >Has anyone tried making a build on JFS? Yes, but then it was me, who got the fail at lib/os2_ea.t, too. Anyone else with JFS? >Sebastian, >This is new to me: >>lib/os2_ea.t 21 8 38.10% 7-11 14-16 >Anybody else? >Nobody is using FAT are they? Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 04 Feb 2003 02:41:36 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Perl & Posix/2 On Sun, 2 Feb 2003 21:13:16 +0100, Stefan.Neis at t-online.de wrote: >After working around the various compile time problems, >I now get to the linking stage, which fails with a >most interesting error, since perl code provides >replacements for some of the functions not existing in >EMX but existing in Posix/2 (multiple defined symbol >linker errors). Why were those existing functions recognized as non-existing? Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 04 Feb 2003 02:59:02 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Perl questions On Fri, 31 Jan 2003 21:59:38 +0100, Stefan.Neis at t-online.de wrote: >I'm just retrying to build Perl (in standard EMX environment for now) >and noticed some strange things on both my machine and in the perl.log >on http://warped.mentabolism.org/UnixOS2/logs/perl.log: >1. Try to use long doubles if available? [n] > Why not? Can be activated with Configure options (64bit integers as well). Configure -Duselongdouble Configure -Duse64bitint (no 64bit pointers) Configure -Duse64bitall (even 64bit pointers, won't work on OS/2) Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 04 Feb 2003 06:54:54 -0600 (CST) From: "Maynard" Subject: Re: Any more results? On Tue, 4 Feb 2003 09:19:58 +0000, John Poltorak wrote: >Maybe Maynard can rustle up a JFS partition and confirm this failure... I'll keep it in mind ;-} Actually, I have physical space; just running out of drive letters; but this would be a timely project anyway since I'm due to reorganize the secondary unit. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 04 Feb 2003 07:20:20 -0600 (CST) From: "Maynard" Subject: Re: ux2bs Roadmap John, >I'd just like to say how I'd like to see ux2bs evolve over the short term >just so that we may be able to see how to spped things up... Thank you! >My initial aim was to provide a simple, reliable script for building Perl >with as little in the way of pre-requisits as possible. I'd say that we've achieved this; just need a little more tweaking, but no additions, notably posix/2. >Once I had this >working, it seemed like a usable framework to extend to building other >apps. Or, first to rebuild the baseline apps; in order to bring them to current level, and to improve the ease of maintaining the baseline apps over time. Then, add the new apps (pine, lynx, ...) >So, as things stand at the moment, we have a basic standard toolset >which is capabale of building Perl, and seems to do so pretty well for >most people. Yes. >From this point I would like to set about rebuilding the actual toolset >itself, bring it uptodate, as consists of a number of old versions of >programs. I'd also like to add a number of appropriate utils, such as >yacc, flex, bison, etc. OK. We're on the same track; which is good, because I take my cues from you. >This is what the cmd file UPDATE_BASE.CMD is designed to do, although it >is still incomplete. >Basically, I would like to rebuild all the apps which are currently in >BASELINE and replace them with the most recent versions if possible. >At the moment these apps get built:- ....snippage.... and perl >To these, I would like to add:- ....snippage.... and bash ;-} >At this point I think we should have a reasonable toolkit, which maybe >could be used as an update for MOZTOOLS. >Is there anything else important which has been missed out? Not that I can see. Keep up the good work! Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 04 Feb 2003 07:34:46 -0600 (CST) From: "Maynard" Subject: Re: perl without c:\ >This is the usual error when you don't have a C: drive accessible by OS/2. >It looks like the new patch hasn't been applied successfully. That was the situation indeed. >Check near the top of perl.log for a SED command. If it is there, then >also check Perl's Configure to ensure that the test for c:/. has actually >been converted to the value of %OSRT%. The scripts\build\build_perl.cmd file which I just got from your system is successful in patching the call for c:/. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Tue, 4 Feb 2003 09:19:58 +0000 From: John Poltorak Subject: Re: Any more results? On Tue, Feb 04, 2003 at 02:27:58AM +0100, Sebastian Wittmeier (ShadoW) wrote: > On Mon, 3 Feb 2003 12:51:44 +0000, John Poltorak wrote: > > >On Sun, Feb 02, 2003 at 03:22:18PM -0600, Maynard wrote: > > > >> os_base; fix_level; presume HPFS on %uxrt%; > > > >I think we are assuming that HPFS is being used, so I'm a little puzzled > >as to why some people get fails such as:- > > > >lib/os2_ea.t > > > >Has anyone tried making a build on JFS? > > Yes, but then it was me, who got the fail at lib/os2_ea.t, too. > Anyone else with JFS? Maybe Maynard can rustle up a JFS partition and confirm this failure... > >Sebastian, > >This is new to me: > >>lib/os2_ea.t 21 8 38.10% 7-11 14-16 > >Anybody else? > >Nobody is using FAT are they? > > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Tue, 04 Feb 2003 09:59:49 -0600 (CST) From: "Maynard" Subject: Re: ux2bs Roadmap >At the moment these apps get built:- > >byacc >flex >ncurses >make >autoconf >gettext >texinfo >automake also: add bison dialog indent lynx openssl perl vile -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Tue, 4 Feb 2003 10:00:05 +0000 From: John Poltorak Subject: Re: Build System changes On Mon, Feb 03, 2003 at 09:22:43PM -0600, Maynard wrote: > On Sun, 2 Feb 2003 20:36:40 +0000, John Poltorak wrote: > > >Due to ongoing problems getting Perl built in a Posix/2 environment > > heh: > > [X:\UnixOS2\workdir\perl-5.8.0]sh Configure -des -D > prefix=X:/usr/lib/perl > Configure[142]: cat: not found > > Configure[165]: mkdir: not found > > Configure[166]: cd: /UnixOS2/workdir/perl-5.8.0/UU - No such file or > directory > Configure[1214]: sed: not found > > Configure[1250]: sed: not found > > Configure[1262]: cat: not found > > > > They're all there in /usr/bin, on the $PATH This is the usual error when you don't have a C: drive accessible by OS/2. It looks like the new patch hasn't been applied successfully. Check near the top of perl.log for a SED command. If it is there, then also check Perl's Configure to ensure that the test for c:/. has actually been converted to the value of %OSRT%. > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Tue, 4 Feb 2003 10:19:23 +0000 From: John Poltorak Subject: Re: Perl questions On Tue, Feb 04, 2003 at 02:10:43AM +0100, Sebastian Wittmeier (ShadoW) wrote: > On Fri, 31 Jan 2003 22:06:35 +0000, John Poltorak wrote: > > >On Fri, Jan 31, 2003 at 10:52:54PM +0100, Stefan.Neis at t-online.de wrote: > >> Actually, "set GCCLOAD=5" does help a lot, it's just not normally set over > >If you think of any which should be set, then please let me know. > > How about the suggested GCCLOAD and GCCOPT to speed up building? What values should they be set to? And is this just for Perl or should it apply to everything? > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Tue, 04 Feb 2003 10:19:47 -0600 (CST) From: "Maynard" Subject: Re: ux2bs Roadmap From baseline installed today..... YES>sh pkdsh-5.2.14 looks to build fine; how do I know for sure? /usr/bin/ksh.exe and /usr/bin/sh.exe are created NO>m4 checking for C compiler default output... configure: error: C compiler cannot cr eate executables See `config.log' for more details. .... configure:1729: checking for C compiler default output configure:1732: gcc -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ -Zcrtdll -Zmt -s -Zlink er /exepack:2 -Zlinker /pmtype:vio conftest.c >&5 link386: No such file or directory configure:1735: $? = 1 configure: failed program was: | #line 1708 "configure" | /* confdefs.h. */ NO>sed 4.0.5 log line 441: X:/bin/sh /UnixOS2/workdir/sed-4.0.5/config/missing --run makeinfo -I . \ -o sed.info `test -f 'sed.texi' || echo './'`sed.texi ./version.texi:31: Unknown command `(#)PD'. makeinfo: Removing output file `sed.info' due to errors; use --force to preserve . make[2]: *** [sed.info] Error 1 make[2]: Leaving directory `X:/UnixOS2/workdir/sed-4.0.5/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `X:/UnixOS2/workdir/sed-4.0.5/doc' make: *** [install-recursive] Error 1 NO>grep 2.4.2 appears to require m4 is build.table what you want?: grep;grep-2.4.2;ftp://ftp.gnu.org/pub/gnu/sed/sed-3.02.tar.gz; NO>awk Using:- autoconf (GNU Autoconf) 2.57 (release for OS/2) aclocal.m4:637: error: m4_defn: undefined macro: _m4_divert_diversion autoconf/specific.m4:185: AC_SYS_LARGEFILE is expanded from... aclocal.m4:637: the top level autom4te: X:/usr/bin/m4.exe failed with exit status: 1 ./configure loading site script X:/UnixOS2/lib/config.site creating cache ./config.cache checking for non-GNU ld... no configure: error: no acceptable ld found in $PATH make make: *** No targets specified and no makefile found. Stop. make: Nothing to be done for `install'. >patch Sun, 26 Jan 2003 22:13:16 GMT From: John Poltorak To: ux2bs at powerusersbbs.net Subject: Re: Apps to try It's probably too early to try these: >textutils >shellutils >fileutils NO>diff analyze.c:39: regex.h: No such file or directory >zip <-- not in build.table >unzip <-- not in build.table YES>gzip 1.2.4 builds NO>gzip-1.3.3 gcc -o gzip.exe bits.o crypt.o deflate.o getopt.o getopt1.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o unpack.o unzip.o util.o yesno.o zip.o rpmatch.o gzip.o: Undefined symbol _chown referenced from text segment >tar <--not in build.table NO>bzip2 gcc -Wall -Winline -O3 -fomit-frame-pointer -fno-strength-reduce -Zomf -Zmtd -s -Zomf -Zdll -o bz2.dll blocksort.obj huffman.obj crctable.obj randtable.obj com press.obj decompress.obj bzlib.obj bz2.def link386: No such file or directory make: *** [bz2.dll] Error 1 YES>bison _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Tue, 04 Feb 2003 11:04:43 -0600 (CST) From: "Maynard" Subject: Re: ux2bs Roadmap On Tue, 4 Feb 2003 16:47:07 +0000, John Poltorak wrote: >The ones below (apart from bison, perhaps) just happen to >build OK, but I don't want to include them in update_base. Oh I agree; they do stand as testimony to the viability of the baseline however. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Tue, 04 Feb 2003 11:16:25 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: Perl & Posix/2 Sebastian Wittmeier (ShadoW) schrieb: > >After working around the various compile time problems, > >I now get to the linking stage, which fails with a > >most interesting error, since perl code provides > >replacements for some of the functions not existing in > >EMX but existing in Posix/2 (multiple defined symbol > >linker errors). > > Why were those existing functions recognized as > non-existing? They were even recognized as existing, however os2/os2.c unconditionally implements them. Adding e.g. #ifdef HAS_SETPRIORITY ... #endif around the implementation of setpriority in os2.c "solves" the linker problem. Regards, Stefan P.S.: Once you successfully linked miniperl, the make process will start to procude lots of output's as Posix/2 currently chooses to verbosely inform you about a lots of errors you don't really care about (e.g. Perl uses stat to check for file existence and whenever the underlying OS funtion fails (e.g. because the file doesn't exists), stat's implementation will currently inform you about the error ... Anyway, everything continues to work until there is hangs somewhere... Didn't have time to investigate, yet. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Tue, 4 Feb 2003 11:29:21 +0000 From: John Poltorak Subject: Too many files open in shell A Perl build which used to work OK has now suddenly stopped as a result of:- Extracting Makefile (with variable substitutions) Configure: os2/Makefile.SHs[14]: too many files open in shell It looks as though I must have added something which increases the number of file handles required. I got over this error by setting EMXOPT=-h1024, but that is a completely arbitrary figure. Is there any way to tell exactly how many files are open at any one time and so set an appropriate value rather than just guessing one? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Tue, 04 Feb 2003 11:35:00 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: Build System changes Maynard schrieb: > On Sun, 2 Feb 2003 20:36:40 +0000, John Poltorak wrote: > > >Due to ongoing problems getting Perl built in a Posix/2 > environment > > heh: > > [X:\UnixOS2\workdir\perl-5.8.0]sh Configure -des -D > prefix=X:/usr/lib/perl > Configure[142]: cat: not found > > > Configure[165]: mkdir: not found Sounds very similar to the "No C: drive" behaviour I got. Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Tue, 4 Feb 2003 12:09:56 +0000 From: John Poltorak Subject: ux2bs Roadmap I'd just like to say how I'd like to see ux2bs evolve over the short term just so that we may be able to see how to spped things up... My initial aim was to provide a simple, reliable script for building Perl with as little in the way of pre-requisits as possible. Once I had this working, it seemed like a usable framework to extend to building other apps. So, as things stand at the moment, we have a basic standard toolset which is capabale of building Perl, and seems to do so pretty well for most people. From this point I would like to set about rebuilding the actual toolset itself, bring it uptodate, as consists of a number of old versions of programs. I'd also like to add a number of appropriate utils, such as yacc, flex, bison, etc. This is what the cmd file UPDATE_BASE.CMD is designed to do, although it is still incomplete. Basically, I would like to rebuild all the apps which are currently in BASELINE and replace them with the most recent versions if possible. At the moment these apps get built:- byacc flex ncurses make autoconf gettext texinfo automake To these, I would like to add:- sh m4 sed grep awk patch textutils shellutils fileutils diff zip unzip gzip tar bison At this point I think we should have a reasonable toolkit, which maybe could be used as an update for MOZTOOLS. Is there anything else important which has been missed out? One other thing I would like to incorporate at the same time is the use of Posix/2, but this appears to be a tricky operation. If you have successfully built Perl and run update_base.cmd, you may find that a number of apps are easily buildable, although you may find you need to specify which version of Autoconf needs to be run, if it needs running at all. If you want to try a new app of your own, just add a tag to BUILD.TABLE and a URL, and try:- build tag Sometimes it actually does work! Please report any attempts at building new apps. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Tue, 04 Feb 2003 13:08:32 +0000 From: "Lyn St George" Subject: Re: Perl questions On Tue, 4 Feb 2003 10:19:23 +0000, John Poltorak wrote: >On Tue, Feb 04, 2003 at 02:10:43AM +0100, Sebastian Wittmeier (ShadoW) wrote: >> On Fri, 31 Jan 2003 22:06:35 +0000, John Poltorak wrote: >> >> >On Fri, Jan 31, 2003 at 10:52:54PM +0100, Stefan.Neis at t-online.de wrote: >> >> Actually, "set GCCLOAD=5" does help a lot, it's just not normally set over >> >If you think of any which should be set, then please let me know. >> >> How about the suggested GCCLOAD and GCCOPT to speed up building? > >What values should they be set to? > >And is this just for Perl or should it apply to everything? FWIW, I have them set in config.sys: SET emxopt=-c -n -h6072 -!0x800 SET switchar=- SET gccopt=-pipe SET gccload=5 >> Sebastian > > >-- >John > > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > - 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 23 ==========================** Date: Tue, 04 Feb 2003 13:10:12 -0600 (CST) From: "Maynard" Subject: Re: REGEX - please test [X:\UnixOS2\workdir\glibc-2.3.1\posix]make -f ..\..\..\makefiles\regex.mak make: ..\..\..\makefiles\regex.mak: No such file or directory make: *** No rule to make target `..\..\..\makefiles\regex.mak'. Stop. then I removed the REM from build_regex.cmd and removed workdir\glibc-2.3.1 [X:\UnixOS2\workdir\glibc-2.3.1\posix]mv sys sys.org [X:\UnixOS2\workdir\glibc-2.3.1\posix]make -f ..\..\..\makefiles\regex.mak make: ..\..\..\makefiles\regex.mak: No such file or directory make: *** No rule to make target `..\..\..\makefiles\regex.mak'. Stop. I don't see any sign of regex.mak anywhere _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 24 ==========================** Date: Tue, 4 Feb 2003 14:20:57 +0000 From: John Poltorak Subject: Re: ux2bs Roadmap On Tue, Feb 04, 2003 at 07:20:20AM -0600, Maynard wrote: > > >I'd just like to say how I'd like to see ux2bs evolve over the short term > >just so that we may be able to see how to spped things up... > > Thank you! Maynard, you are being greedy ;-)... You already have one of the fastest machine of any of use and you want even more speed... :-) Have you thought of using a RAMDISK? That is what I have and my system is pegged at 100% whilst building Perl. I don't think I could speed it up any more without changing the CPU. > >My initial aim was to provide a simple, reliable script for building Perl > >with as little in the way of pre-requisits as possible. > > I'd say that we've achieved this; just need a little more tweaking, but > no additions, notably posix/2. I think I will create a seperate test environment for Posix/2. There are still quite a few problems which need to be resolved which affect other apps apart from Perl. > >To these, I would like to add:- > > ....snippage.... and bash ;-} Well specially for you I have added BASH to BUILD.TABLE. Please let me know how it works. I haven't tried it myself since I have no over riding need for it now that PDKSH seems to handle everything thrown at it. I do have a few issues with this particular bash port. It's one of Mr. SAWATAISHI's ports and uses his own os2unix utility to convert the configure script to one suitable for OS/2. I always seem to have problems with them, and don't really like to use this new utility especially now that we have a working Autoconf. Also this new release of bash is around 50% bigger than the previous one and IMV, at 540kB, is not suitable as a build shell. It may be OK for interactive use, but it's too fat for running shell scripts. > >At this point I think we should have a reasonable toolkit, which maybe > >could be used as an update for MOZTOOLS. > > >Is there anything else important which has been missed out? > > Not that I can see. Keep up the good work! Thanks. > Thanks, > > -- Maynard > > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 25 ==========================** Date: Tue, 04 Feb 2003 14:37:57 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Perl questions On Tue, 04 Feb 2003 13:08:32 +0000, Lyn St George wrote: >SET emxopt=-c -n -h6072 -!0x800 -c: Disable core dumps caused by signals and exceptions -n: Suppress exception popups -h: Set file handle limit (to 6072) -!0x800: Attempt to fix a bug related to closing sockets (observed in Apache) >SET switchar=- (only?) dmake should use - (instead of /) for options (do we need that one?) >SET gccopt=-pipe GCC should use pipes instead of temporary files >SET gccload=5 Defines how long (minutes) the GCC Compiler is kept in memory. >On Tue, 4 Feb 2003 10:19:23 +0000, John Poltorak wrote: >>And is this just for Perl or should it apply to everything? It should apply to everything. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 26 ==========================** Date: Tue, 04 Feb 2003 14:44:06 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: p2-gcc results On Sun, 2 Feb 2003 11:30:11 +0000, John Poltorak wrote: >In any case, what were the original goals for Posix/2? I don't know, if it was a goal, but when OS/2 is fully Unix-compatible and we have the ELF-Loader, we can invoke commercial Linux software. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 27 ==========================** Date: Tue, 4 Feb 2003 15:38:45 +0000 From: John Poltorak Subject: REGEX - please test Can someone try:- ? build regex You will need to do an RSYNC refresh from my site to get the latest files. This uses GLIBC as the source for the regex library so uses up quite a bit of disk space. If you do try it and it fails, can you re-run it after deleting glibc from workdir and then changing build_regex.cmd? It currently consists of:- cd posix rem mv sys sys.org make -f ..\..\..\makefiles\regex.mak pause and the 'rem' line should be uncommented for the second run. The 'sys' directory in question contains a header file (types.h) which should not get loaded because it is not on the INCLUDE path, but it *does* get loaded so I need to rename the directory to prevent it being used. I'm told that this sort of thing shouldn't happen, so I'd like someone to confirm that it does so, and maybe even explain why... -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 28 ==========================** Date: Tue, 4 Feb 2003 15:47:27 +0000 From: John Poltorak Subject: Re: EMX v. P2 headers conflict ? On Mon, Feb 03, 2003 at 09:11:22PM +0100, Stefan.Neis at t-online.de wrote: > John Poltorak schrieb: > > > > > > Whilst building NCURSES I noticed this error:- > > > u:\usr\include\sys/unistdx.h:183: conflicting types for > > `setmode' > > u:\emx\include\io.h:50: previous declaration of > > `setmode' > > That's precisely the problem I already described for perl. > There's a Unix-like "setmode", related to file permissions > and a Dos-like "setmode (binary vs. text). EMX has the > Dos-like one, Posix/2 has the Unix-like one and uses > "_setmode" for the Dos-like one. > Nothing we can do, except "fixing" the source code > (or maybe io.h could #define DOS_SETMODE and posix/2's > unistdx.h could have code like > #ifndef DOS_SETMODE > setmode prototype > #endif > (and vice versa) > Whatever is included first, "wins". Still, that's hardly > ideal but maybe it's sufficient? So, what would be the ideal solution? > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 29 ==========================** Date: Tue, 04 Feb 2003 15:58:07 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: Perl questions > >SET emxopt=-c -n -h6072 -!0x800 > -c: Disable core dumps caused by signals and exceptions > -n: Suppress exception popups I think that's something we shouldn't use for compiling/developping. If something goes wrong, we want a notification, don't we? > -h: Set file handle limit (to 6072) Depending on some other (still unknown :-( ) circumstances, I sometimes need such a setting and sometimes it works just fine even without it... > -!0x800: Attempt to fix a bug related to closing sockets > (observed in > Apache) Wasn't there some unwanted side effect of this? I.e., if you aren't running software for which this is helpful, why set it? Especially, I don't see any benefit in an environment specifically set up for compiling things... > >SET switchar=- > (only?) dmake should use - (instead of /) for options (do > we need that > one?) I don't think it's needed, so I'd rather not waste memory for this one ... ;-) > >SET gccopt=-pipe > GCC should use pipes instead of temporary files Always a good idea. > >>And is this just for Perl or should it apply to > everything? > > It should apply to everything. With the possible exception of all those EMXOPT's... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 30 ==========================** Date: Tue, 04 Feb 2003 15:59:05 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: p2-gcc results Sebastian Wittmeier (ShadoW) schrieb: > On Sun, 2 Feb 2003 11:30:11 +0000, John Poltorak wrote: > > >In any case, what were the original goals for Posix/2? > > I don't know, if it was a goal, but when OS/2 is fully > Unix-compatible > and we have the ELF-Loader, we can invoke commercial > Linux software. Interesting idea, but I don't see how it is related to Posix/2, sorry. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 31 ==========================** Date: Tue, 04 Feb 2003 16:10:05 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: p2-gcc results >when OS/2 is fully >> Unix-compatible >> and we have the ELF-Loader, we can invoke commercial >> Linux software. > >Interesting idea, but I don't see how it is related to >Posix/2, sorry. No? To achieve binary compatibility all functions of our compatiblity library should work like the pendants on Unix/Linux. Posix/2 is much more compatible (defines all needed functions, more Unixish semantics) than EMX. So it is easier for an ELF loader to wrap the unix libraries to OS/2 dlls. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 32 ==========================** Date: Tue, 4 Feb 2003 16:47:07 +0000 From: John Poltorak Subject: Re: ux2bs Roadmap On Tue, Feb 04, 2003 at 09:59:49AM -0600, Maynard wrote: > > >At the moment these apps get built:- > > > >byacc > >flex > >ncurses > >make > >autoconf > >gettext > >texinfo > >automake > > also: The ones above are part of the basic toolset and should get built by update_base. The ones below (apart from bison, perhaps) just happen to build OK, but I don't want to include them in update_base. > add > bison > dialog > indent > lynx > openssl > perl > vile > > -- Maynard > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 33 ==========================** Date: Tue, 4 Feb 2003 16:54:43 +0000 From: John Poltorak Subject: Re: REGEX - please test On Tue, Feb 04, 2003 at 05:38:56PM +0100, Stefan.Neis at t-online.de wrote: > John Poltorak schrieb: > > > > Can someone try:- ? > > > > build regex > > You realized that Posix/2 includes regex support, > didn't you? I am aware of regex.h, but I don't see how I can build regex.dll or a regex library from Posix/2. What I find confusing is that GLIBC includes a POSIX directory where there is also a regex.h but it is nothing like the one in Posix/2. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 34 ==========================** Date: Tue, 4 Feb 2003 17:19:48 +0000 From: John Poltorak Subject: Re: gettext & Posix/2 On Tue, Feb 04, 2003 at 05:53:10PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > Somebody (John?) mentioned gettext not detecting > some existing function in ./configure when run > under Posix/2. Building/installing autoconf to > check myself what's going on is turning out to be > more of a problem than I thought, You should be able to get autoconf installed simply by running ux2_bootstrap to create the initial build environment and build perl, and then run update_base.cmd which provides you with:- make 3.79.1 autoconf 2.57 automake 1.7.2 texinfo 4.3 gettext 0.11.5 flex 2.5.4 yacc Currently the Posix/2 files are extracted to %uxrt%\posix2 and are not included in the INCLUDE or LIB variables. > could you simply > send the config(ure).log file to me? That could > simplify checking what went wrong... I have a few logs. Is there a particular error I should look out for? > > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 35 ==========================** Date: Tue, 04 Feb 2003 17:38:56 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: REGEX - please test John Poltorak schrieb: > > Can someone try:- ? > > build regex You realized that Posix/2 includes regex support, didn't you? Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 36 ==========================** Date: Tue, 04 Feb 2003 17:45:35 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: EMX v. P2 headers conflict ? John Poltorak schrieb: > > (and vice versa) > > Whatever is included first, "wins". Still, that's > hardly > > ideal but maybe it's sufficient? > > > So, what would be the ideal solution? I don't think there is an ideal solution at all. All we can do is adding a hack like the one described and fine-tune it to make a maximum number of packages happy and "fix" the remaining ones... Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 37 ==========================** Date: Tue, 04 Feb 2003 17:48:57 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: ux2bs Roadmap On Tue, 04 Feb 2003 10:19:47 -0600 (CST), Maynard wrote: >NO>sed 4.0.5 >log line 441: >X:/bin/sh /UnixOS2/workdir/sed-4.0.5/config/missing --run makeinfo -I >. \ > -o sed.info `test -f 'sed.texi' || echo './'`sed.texi > >./version.texi:31: Unknown command `(#)PD'. fix is included in next release of automake/autoconf, but you can apply those (append to autoconf-2.57.diff/create automake-1.7.2.diff in patches directory): Sebastian --- old/autoconf-2.57/config/mdate-sh Thu Jan 24 17:41:24 2002 +++ gnu/autoconf-2.57/config/mdate-sh Tue Feb 4 17:34:44 2003 at at -48,6 +48,8 at at until test $month do shift - shift - shift case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; --- old/automake-1.7.2/lib/mdate-sh Tue Jul 17 06:00:36 2001 +++ gnu/automake-1.7.2/lib/mdate-sh Tue Feb 4 17:34:44 2003 at at -48,6 +48,8 at at until test $month do shift - shift - shift case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 38 ==========================** Date: Tue, 04 Feb 2003 17:53:10 +0100 (CET) From: Stefan.Neis at t-online.de Subject: gettext & Posix/2 Hi, Somebody (John?) mentioned gettext not detecting some existing function in ./configure when run under Posix/2. Building/installing autoconf to check myself what's going on is turning out to be more of a problem than I thought, could you simply send the config(ure).log file to me? That could simplify checking what went wrong... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 39 ==========================** Date: Tue, 4 Feb 2003 19:23:01 +0000 From: John Poltorak Subject: Re: REGEX - please test On Tue, Feb 04, 2003 at 01:10:12PM -0600, Maynard wrote: > [X:\UnixOS2\workdir\glibc-2.3.1\posix]make -f > ..\..\..\makefiles\regex.mak > make: ..\..\..\makefiles\regex.mak: No such file or directory > make: *** No rule to make target `..\..\..\makefiles\regex.mak'. Stop. > > > then I removed the REM from build_regex.cmd and removed > workdir\glibc-2.3.1 > > [X:\UnixOS2\workdir\glibc-2.3.1\posix]mv sys sys.org > [X:\UnixOS2\workdir\glibc-2.3.1\posix]make -f > ..\..\..\makefiles\regex.mak > make: ..\..\..\makefiles\regex.mak: No such file or directory > make: *** No rule to make target `..\..\..\makefiles\regex.mak'. Stop. > > I don't see any sign of regex.mak anywhere I could have sworn I had copied it to my RSYNC server, but apparently not. Sorry about that... RSYNC should grab regex.mak now. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 40 ==========================** Date: Tue, 04 Feb 2003 22:21:10 +0100 From: Thomas Hoffmann Subject: Re: Perl & Posix/2 Stefan.Neis at t-online.de wrote: > P.S.: Once you successfully linked miniperl, the > make process will start to procude lots of > output's as Posix/2 currently chooses to > verbosely inform you about a lots of errors > you don't really care about (e.g. Perl uses > stat to check for file existence and whenever > the underlying OS funtion fails (e.g. because > the file doesn't exists), stat's > implementation will currently inform you about > the error ... > Anyway, everything continues to work until > there is hangs somewhere... Didn't have time > to investigate, yet. Stefan, maybe you can look into the diffs I sent to you, I think I did switch off this, mainly by DEBUG = -O2 -mpentium #DEBUG = -O2 -g -mpentium -D_DEBUG -DDEBUG # -fno-builtin -fno-inline in Ext.mk, for this to work you would have to apply some of my diffs, otherwise building lcext will not run to completion (because nobody did test this build with debugging off). Thomas. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 41 ==========================** Date: Tue, 04 Feb 2003 22:44:57 +0100 From: Thomas Hoffmann Subject: Re: REGEX - please test John Poltorak wrote: > > I am aware of regex.h, but I don't see how I can build regex.dll or a > regex library from Posix/2. libcext contains the regex code (like the EMX libs, e.g. contain the math code and have no need for a separate m.[a,lib]). > Thomas. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 42 ==========================** Date: Tue, 04 Feb 2003 23:03:40 +0100 From: Andreas Buening Subject: Re: EMX v. P2 headers conflict ? John Poltorak wrote: > > On Mon, Feb 03, 2003 at 09:11:22PM +0100, Stefan.Neis at t-online.de wrote: [setmode] > > There's a Unix-like "setmode", related to file permissions > > and a Dos-like "setmode (binary vs. text). EMX has the > > Dos-like one, Posix/2 has the Unix-like one and uses > > "_setmode" for the Dos-like one. [snip] > So, what would be the ideal solution? 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.) Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs