From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 4 Nov 2003 14:15:19 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 231 ************************************************** Monday 03 November 2003 Number 231 ************************************************** Subjects for today 1 Re: gcc 3.2.2b3 distrib question for Knut : Knut St. Osmundsen" 2 Re: libtool : Dave and Natalie" 3 GNU Make : John Poltorak 4 Gcc question : Dave Saville" 5 libtool : Franz Bakan" 6 Re: Gcc question : Franz Bakan" 7 Re: libtool : John Poltorak 8 Texinfo : John Poltorak 9 Re: libtool : Franz Bakan" 10 Re: Gcc question : Dave Saville" 11 Re: libtool : John Poltorak 12 Re: Gcc question : Stefan Neis 13 Re: Texinfo : Stefan Neis 14 Re: Texinfo : Stefan Neis 15 Re: Texinfo : John Poltorak 16 Re: Texinfo : Stefan Neis 17 Re: Gcc question : Stefan Neis 18 Re: Gcc question : Yuri Dario" 19 Re: GNU Make : Andreas Buening 20 Re: Texinfo : Andreas Buening 21 Re: Texinfo : John Poltorak 22 Re: Syslog : Dave and Natalie" 23 RSYNC revisited : John Poltorak 24 Re: GNU Make : John Poltorak 25 Re: Texinfo : John Poltorak **= Email 1 ==========================** Date: Tue, 04 Nov 2003 00:32:37 +0100 From: "Knut St. Osmundsen" Subject: Re: gcc 3.2.2b3 distrib question for Knut Steve Wendt wrote: > On Fri, 24 Oct 2003 05:38:55 +0200, Knut St. Osmundsen wrote: > > >>But in any case I don't recommend mixing 3.2.2 and later with any > > > Speaking of later... are there any plans to move past 3.2.2 (say, 3.3.2)? Yes, but we're not gonna be jumping onto 3.3.x before the major linux distros start using it on an non experimental basis. There are some risk+effort+gain calculations which currently says to put effort elsewhere (like socket handles). Kind Regards, knut **= Email 2 ==========================** Date: Tue, 04 Nov 2003 07:57:55 -0800 From: "Dave and Natalie" Subject: Re: libtool On Tue, 04 Nov 2003 14:47:17 +0100 (CET), Franz Bakan wrote: >the build doesn't succeed: > >../libtool.: ../libtool.[5213]: cannot fork - try again >... A lot of the time when I get messages like this it goes away if I kill emxload and stat again. You also might try increasing emxopt eg set EMXOPT=-h1024 Dave **= Email 3 ==========================** Date: Tue, 4 Nov 2003 11:53:11 +0000 From: John Poltorak Subject: GNU Make What is the most recent version of GNU Make available for OS/2? -- John **= Email 4 ==========================** Date: Tue, 04 Nov 2003 13:51:05 +0100 (BST) From: "Dave Saville" Subject: Gcc question I believe it is possible for emx to build a DOS exe - anyone know what switches I need? TIA -- Regards Dave Saville **= Email 5 ==========================** Date: Tue, 04 Nov 2003 14:47:17 +0100 (CET) From: "Franz Bakan" Subject: libtool Hi list, libtool problems with SANE (latest CVS-Version): To build I'm using ux2bs. I replaced ltmain.sh coming with SANE with the version provided by Andreas B. (part of libtool-1_4_3.zip available on unixos2) the build doesn't succeed: ../libtool.: ../libtool.[5213]: cannot fork - try again ... ../libtool.: ../libtool.[380]: cannot fork - try again make[1]: *** [../sanei/sanei_usb.lo] Error 1 make[1]: Leaving directory `D:/ports/sane-backends/backend' make: *** [all-recursive] Error 1 ../libtool.: ../libtool.[5213]: cannot fork - try again Process terminated by SIGSEGV ../libtool.: ../libtool.[5213]: cannot fork - try again ../libtool.: ../libtool.[5213]: cannot fork - try again ../libtool.: ../libtool.[5213]: cannot fork - try again ... content of libtool: ... # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$0" --no-reexec ${1+"$ at "} 380 fi ... 5213 fi # test -z "$show_help" ... when I use original ltmain.sh coming with SANE I get similar 'cannot fork' problems. config.site is standard as coming with ux2bs I only removed the REM in ux2_env.cmd and added CPPFLAGS=-D__ST_MT_ERRNO__ to the flags. Any hints? Franz **= Email 6 ==========================** Date: Tue, 04 Nov 2003 15:11:45 +0100 (CET) From: "Franz Bakan" Subject: Re: Gcc question On Tue, 04 Nov 2003 13:51:05 +0100 (BST), Dave Saville wrote: >I believe it is possible for emx to build a DOS exe - anyone know >what switches I need? emx/book/emxdev.inf knows Franz **= Email 7 ==========================** Date: Tue, 4 Nov 2003 15:47:22 +0000 From: John Poltorak Subject: Re: libtool On Tue, Nov 04, 2003 at 02:47:17PM +0100, Franz Bakan wrote: > Hi list, > > libtool problems with SANE (latest CVS-Version): > > To build I'm using ux2bs. Are you on the UX2BS mailing list? I'm currently trying to update the build environment and would like to know how well it is working. I would also like to be able to include SANE as one of the build targets at some point. > I replaced ltmain.sh coming with SANE > with the version provided by Andreas B. > (part of libtool-1_4_3.zip available on unixos2) Where exactly is this? Presumably libtool requires some patches to work correctly on OS/2... > > the build doesn't succeed: > > ../libtool.: ../libtool.[5213]: cannot fork - try again I don't get anything like this. It seems to end much earlier, but I'd like to be able to reproduce the error you get. > config.site is standard as coming with ux2bs > I only removed the REM in ux2_env.cmd and added > CPPFLAGS=-D__ST_MT_ERRNO__ > to the flags. If this is a requirement for libtool, the best way of handling it might be to create unixos2\scripts\pre-process\libtool containing something like:- export CPPFLAGS=-D__ST_MT_ERRNO__ > Any hints? > > Franz > > -- John **= Email 8 ==========================** Date: Tue, 4 Nov 2003 15:57:12 +0000 From: John Poltorak Subject: Texinfo Is anyone familiar with Texinfo? It seems like a handy help system for GNU apps, but I don't think I have it working correctly - my keyboard has not been mapped as I would have expected. How is the keyboard binding done? Is there any way this could be converted into a PM app? -- John **= Email 9 ==========================** Date: Tue, 04 Nov 2003 16:13:51 +0100 (CET) From: "Franz Bakan" Subject: Re: libtool On Tue, 4 Nov 2003 15:47:22 +0000, John Poltorak wrote: >> (part of libtool-1_4_3.zip available on unixos2) > >Where exactly is this? http://unix.os2site.com/sw/pub/source/libtool/index.html >Presumably libtool requires some patches to work >correctly on OS/2... this is the patched version for use with OS/2 >I don't get anything like this. It seems to end much earlier, but I'd like >to be able to reproduce the error you get. get SANE-CVS code SET CPPFLAGS=-D__ST_MT_ERRNO__ run sh configure replace ..\libtool with sh ..\libtool in all generated makefiles add -Zexe to LDFLAGS in sane-backends/frontend/Makefile and sane-backends/tools/Makefile >> config.site is standard as coming with ux2bs >> I only removed the REM in ux2_env.cmd and added >> CPPFLAGS=-D__ST_MT_ERRNO__ >> to the flags. > >If this is a requirement for libtool, the best way of handling it might be >to create unixos2\scripts\pre-process\libtool containing something like:- > >export CPPFLAGS=-D__ST_MT_ERRNO__ SANE needs this Franz **= Email 10 ==========================** Date: Tue, 04 Nov 2003 16:44:06 +0100 (BST) From: "Dave Saville" Subject: Re: Gcc question On Tue, 04 Nov 2003 15:11:45 +0100 (CET), Franz Bakan wrote: >On Tue, 04 Nov 2003 13:51:05 +0100 (BST), Dave Saville wrote: > >>I believe it is possible for emx to build a DOS exe - anyone know >>what switches I need? > >emx/book/emxdev.inf knows > If it does it won't tell me - I have *never* understood emx documentation. All I want to know is: I have fred.c gcc fred.c -o fred.exe gives me an OS2 executable. How do I get a DOS executable? -- Regards Dave Saville **= Email 11 ==========================** Date: Tue, 4 Nov 2003 16:49:13 +0000 From: John Poltorak Subject: Re: libtool On Tue, Nov 04, 2003 at 04:13:51PM +0100, Franz Bakan wrote: > On Tue, 4 Nov 2003 15:47:22 +0000, John Poltorak wrote: > > >> (part of libtool-1_4_3.zip available on unixos2) > > > >Where exactly is this? > > http://unix.os2site.com/sw/pub/source/libtool/index.html > > > >Presumably libtool requires some patches to work > >correctly on OS/2... > > this is the patched version for use with OS/2 Thanks. I'm looking at it now, although I don't really appreciate the significance of libtool or what it does. It includes a few demos. Do any of them do anything on OS/2? I see in the installation docs that it can either be created for static or dynamic linking. Is there any reason not to use dynamic linking? > get SANE-CVS code Is there a tarball I can try out? I usually have problems with CVS. > Franz -- John **= Email 12 ==========================** Date: Tue, 4 Nov 2003 17:26:19 +0100 (CET) From: Stefan Neis Subject: Re: Gcc question On Tue, 4 Nov 2003, Franz Bakan wrote: > On Tue, 04 Nov 2003 13:51:05 +0100 (BST), Dave Saville wrote: > > >I believe it is possible for emx to build a DOS exe - anyone know > >what switches I need? > > emx/book/emxdev.inf knows In short, the default should do (IIRC). Do avoid all those switches that give you smaller exes (no -Zomf, no -Zcrtdll, no -Zmt etc) and all should work just fine... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 13 ==========================** Date: Tue, 4 Nov 2003 17:29:38 +0100 (CET) From: Stefan Neis Subject: Re: Texinfo On Tue, 4 Nov 2003, John Poltorak wrote: > Is anyone familiar with Texinfo? Yes. > It seems like a handy help system for GNU apps, but I don't think I have > it working correctly - my keyboard has not been mapped as I would have > expected. How is the keyboard binding done? No idea, I never tried to compile it... :-( > Is there any way this could be converted into a PM app? Emacs is doing just fine (also, it has reasonable key bindings). Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 14 ==========================** Date: Tue, 4 Nov 2003 17:29:38 +0100 (CET) From: Stefan Neis Subject: Re: Texinfo On Tue, 4 Nov 2003, John Poltorak wrote: > Is anyone familiar with Texinfo? Yes. > It seems like a handy help system for GNU apps, but I don't think I have > it working correctly - my keyboard has not been mapped as I would have > expected. How is the keyboard binding done? No idea, I never tried to compile it... :-( > Is there any way this could be converted into a PM app? Emacs is doing just fine (also, it has reasonable key bindings). Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 15 ==========================** Date: Tue, 4 Nov 2003 18:05:30 +0000 From: John Poltorak Subject: Re: Texinfo On Tue, Nov 04, 2003 at 05:29:38PM +0100, Stefan Neis wrote: > On Tue, 4 Nov 2003, John Poltorak wrote: > > > Is anyone familiar with Texinfo? > > Yes. > > > It seems like a handy help system for GNU apps, but I don't think I have > > it working correctly - my keyboard has not been mapped as I would have > > expected. How is the keyboard binding done? > > No idea, I never tried to compile it... :-( It builds very easily with UX2BS. At least it appears to do so, and it does run but the key mapping is wrong. For example PgDn exits the program. > > Is there any way this could be converted into a PM app? > > Emacs is doing just fine (also, it has reasonable key bindings). Is that 20.7 ? Did you build it yourself? > > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. > -- John **= Email 16 ==========================** Date: Tue, 4 Nov 2003 18:49:08 +0100 (CET) From: Stefan Neis Subject: Re: Texinfo On Tue, 4 Nov 2003, John Poltorak wrote: > > No idea, I never tried to compile it... :-( > > It builds very easily with UX2BS. Apparently, it doesn't really. ;-) Otherwise, you wouldn't say this: > At least it appears to do so, and it does run but the key mapping is > wrong. For example PgDn exits the program. More seriously, the key mapping is horrible on most systems, I suppose the binaries for OS/2 have been compiled with some specific patches that are missing in your compilation ... > > > Is there any way this could be converted into a PM app? > > > > Emacs is doing just fine (also, it has reasonable key bindings). > > Is that 20.7 ? Did you build it yourself? Annything since at least 19.19 should be fine. In my case it happens to be 19.33 most of the time, sometimes 20.6. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 17 ==========================** Date: Tue, 4 Nov 2003 18:51:03 +0100 (CET) From: Stefan Neis Subject: Re: Gcc question On Tue, 4 Nov 2003, Dave Saville wrote: > If it does it won't tell me - I have *never* understood emx > documentation. All I want to know is: I have fred.c gcc fred.c -o > fred.exe gives me an OS2 executable. How do I get a DOS executable? IIRC, that should be a "family mode executable" that works under DOS as well, once you installed EMX correctly. If it isn't, you'll have to search in the documentation, I'm afraid... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 18 ==========================** Date: Tue, 04 Nov 2003 19:07:38 +0100 (CET) From: "Yuri Dario" Subject: Re: Gcc question Hi, >documentation. All I want to know is: I have fred.c gcc fred.c -o >fred.exe gives me an OS2 executable. How do I get a DOS executable? that's also the dos and winnt executable: under dos it looks for emx.exe as runtime, while under NT you can run it using the RSX runtime. Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.os2power.com/yuri * http://www.teamos2.it */ **= Email 19 ==========================** Date: Tue, 04 Nov 2003 20:22:35 +0100 From: Andreas Buening Subject: Re: GNU Make John Poltorak wrote: > > What is the most recent version of GNU Make available for OS/2? http://unix.os2site.com/sw/pub/binary/make/make-3.81rc1-r2-bin.zip Bye, Andreas **= Email 20 ==========================** Date: Tue, 04 Nov 2003 20:23:03 +0100 From: Andreas Buening Subject: Re: Texinfo Stefan Neis wrote: > > On Tue, 4 Nov 2003, John Poltorak wrote: [snip] > > It seems like a handy help system for GNU apps, but I don't think I have > > it working correctly - my keyboard has not been mapped as I would have > > expected. How is the keyboard binding done? > > No idea, I never tried to compile it... :-( If I remember correctly, KUW's texinfo port (3.x) used a switch statement to handle special "characters" like PgUp on OS/2. I don't know about newer versions. [snip] Bye, Andreas **= Email 21 ==========================** Date: Tue, 4 Nov 2003 21:20:06 +0000 From: John Poltorak Subject: Re: Texinfo On Tue, Nov 04, 2003 at 06:49:08PM +0100, Stefan Neis wrote: > On Tue, 4 Nov 2003, John Poltorak wrote: > > > > No idea, I never tried to compile it... :-( > > > > It builds very easily with UX2BS. > > Apparently, it doesn't really. ;-) What I mean is, it builds straight out of the box and runs. > Otherwise, you wouldn't say this: What I don't know is whether it needs any patches or just some alternative configure options. > > At least it appears to do so, and it does run but the key mapping is > > wrong. For example PgDn exits the program. > > More seriously, the key mapping is horrible on most systems, I suppose > the binaries for OS/2 have been compiled with some specific patches that > are missing in your compilation ... It may well have something to do with termlib or termcap. > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. -- John **= Email 22 ==========================** Date: Tue, 04 Nov 2003 22:09:55 -0800 From: "Dave and Natalie" Subject: Re: Syslog On Mon, 3 Nov 2003 11:58:44 +0000, John Poltorak wrote: >> Also there was a new syslog posted to Hobbes the other day. http://hobbes.nmsu.edu/pub/os2/util/system/syslog3a.zip > >While it is new to Hobbes, it isn't actually new. > >What I would like to do is incorporate SYSLOG into UX2BS. > >The standard way of doing this is to take the original Unix source, add >the specific OS/2 patches, and then build using the modified source. >Presumably this app is derived from some original Unix source, and that is >what I am looking for. I wonder if syslog development stopped due to security issues or somewhat. Seems the BSDs and Linux are all using newer programs, eg ksyslog Dave **= Email 23 ==========================** Date: Tue, 4 Nov 2003 22:14:45 +0000 From: John Poltorak Subject: RSYNC revisited I'm trying to come up with a build script for RSYNC. Can anyone help? I have some patches for v2.5.5 which have been applied, and then I've run autoconf, configure and Make, but I get some errors when building. This has built in the past but never without some manual intervention and the use of some special magic words, but I've forgotten what they were. If I create a build script I won't need to remember the magic words... -- John **= Email 24 ==========================** Date: Tue, 4 Nov 2003 23:45:48 +0000 From: John Poltorak Subject: Re: GNU Make On Tue, Nov 04, 2003 at 08:22:35PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > What is the most recent version of GNU Make available for OS/2? > > http://unix.os2site.com/sw/pub/binary/make/make-3.81rc1-r2-bin.zip Many thanks. Are there any changes to the source from the previous release? Does it build easily from the original source? > > Bye, > Andreas -- John **= Email 25 ==========================** Date: Tue, 4 Nov 2003 23:52:11 +0000 From: John Poltorak Subject: Re: Texinfo On Tue, Nov 04, 2003 at 08:23:03PM +0100, Andreas Buening wrote: > Stefan Neis wrote: > > > > On Tue, 4 Nov 2003, John Poltorak wrote: > > [snip] > > > > It seems like a handy help system for GNU apps, but I don't think I have > > > it working correctly - my keyboard has not been mapped as I would have > > > expected. How is the keyboard binding done? > > > > No idea, I never tried to compile it... :-( > > If I remember correctly, KUW's texinfo port (3.x) used a switch > statement to handle special "characters" like PgUp on OS/2. I don't > know about newer versions. I've just tried using v4.1 on a remote Linux system over SSH and PgUp and PgDn work exactly how you would expect on an OS/2 system. I guess I need to run 'info info' to see how any keyboard mapping is achieved. > [snip] > > Bye, > Andreas -- John