From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 2 Apr 2002 04:23:09 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 182 ************************************************** Monday 01 April 2002 Number 182 ************************************************** Subjects for today 1 Re: iconv.a : Brian Havard" 2 New Fetchmail : John Poltorak 3 Updating gcc : John Poltorak 4 Re: iconv.a : Dave and Natalie" 5 Re: iconv.a : John Poltorak 6 Re: GREP v2.5 : Dave and Natalie" 7 Re: iconv.a : Andrew Zabolotny" 8 Multi-user OS/2 : John Poltorak 9 Re: Updating gcc : Andrew Zabolotny" 10 Re: Multi-user OS/2 : Gerhard Arnecke" 11 Re: GREP v2.5 : John Poltorak 12 Re: Multi-user OS/2 : Stepan Kazakov 13 Re: iconv.a : Andreas Buening 14 Re: iconv.a : Andreas Buening 15 Re: GREP v2.5 : Jun Sawataishi **= Email 1 ==========================** Date: Tue, 02 Apr 2002 02:17:36 +1000 (EST) From: "Brian Havard" Subject: Re: iconv.a On Mon, 1 Apr 2002 15:57:15 +0000, John Poltorak wrote: >On Mon, Apr 01, 2002 at 06:41:49PM +0400, Andrew Zabolotny wrote: >> On Mon, 1 Apr 2002 13:42:21 +0000, John Poltorak wrote: >> >> >Is this what I should expect? :- >> Yes. Those directory will be used later >> ("Reserved For Great Future Extensions (C) M$"). >> I'm going to release later a updated iconv, although the library itself will >> likely not change much. > >OK , I managed to build iconv.a but still can't get intl.dll built. > >When building GETTEXT I get the error:- > > >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 > >Any idea what could be causing this? My guess is that it's an uninitialized variable. Find the definition of nl_msg_cat_cntr & set it to somethig (0, NULL, whatever). -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh at kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------ **= Email 2 ==========================** Date: Tue, 2 Apr 2002 08:29:27 +0000 From: John Poltorak Subject: New Fetchmail A new release of Fetchmail is availble from here:- http://www.tuxedo.org/~esr/fetchmail/fetchmail-5.9.11.tar.gz Does anyone know if it will build out of the box on OS/2? -- John **= Email 3 ==========================** Date: Tue, 2 Apr 2002 08:40:56 +0000 From: John Poltorak Subject: Updating gcc I want to update gcc from v2.8.1 to v3.0.3 and at the same time remove any rendundant apps. Since 3.0.3 installs over the top of 2.8.1 and requires a number of programs from emx\bin it isn't easy to determine which are redundant but I would guess this would include any DOS binaries... Is there any way to determine whether a binary is a DOS program from the command line? -- John **= Email 4 ==========================** Date: Tue, 02 Apr 2002 08:42:00 -0800 From: "Dave and Natalie" Subject: Re: iconv.a On Tue, 2 Apr 2002 11:20:12 +0000, John Poltorak wrote: >> On Mon, 1 Apr 2002 15:57:15 +0000, John Poltorak wrote: >> >> >OK , I managed to build iconv.a but still can't get intl.dll built. >> >When building GETTEXT I get the error:- >> >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 >> >Any idea what could be causing this? >> Yes. Use emxbind from gcc 3.0.3. The original emxbind is unable to export data >> symbols. > >Is it a requirement to upgrade to gcc 3.0.3 to be able to build the latest >INTL.DLL ? I built it with pgcc 2.95.3 Dave **= Email 5 ==========================** Date: Tue, 2 Apr 2002 11:20:12 +0000 From: John Poltorak Subject: Re: iconv.a On Tue, Apr 02, 2002 at 02:54:00PM +0400, Andrew Zabolotny wrote: > On Mon, 1 Apr 2002 15:57:15 +0000, John Poltorak wrote: > > >OK , I managed to build iconv.a but still can't get intl.dll built. > >When building GETTEXT I get the error:- > >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 > >Any idea what could be causing this? > Yes. Use emxbind from gcc 3.0.3. The original emxbind is unable to export data > symbols. Is it a requirement to upgrade to gcc 3.0.3 to be able to build the latest INTL.DLL ? > > Greetings, > _\ndy > > -- John **= Email 6 ==========================** Date: Tue, 02 Apr 2002 13:19:46 -0800 From: "Dave and Natalie" Subject: Re: GREP v2.5 On Mon, 1 Apr 2002 08:59:01 +0000, John Poltorak wrote: > >A new release of GREP (v2.5) appeared at GNU a couple of weeks ago. See:- > >ftp://ftp.gnu.org/pub/gnu/grep/grep-2.5.tar.gz > >Wonder if this will build on OS/2 straight out of the box... Well configure --prefix=/usr ran fine right out of the box (no autoconf), picked up on exe as an executable extension and for a change didn't think I was cross-compiling. Running make first failed on make.com in the vms directory. Then failed building grep.info, most likely due to my texi install. make[2]: Entering directory `/usr/src/grep-2.5/doc' cd . \ && makeinfo --no-split \ `echo grep.texi | sed 's,.*/,,'` ./version.texi:84: Unknown command `(#)PD'. makeinfo: Removing output file `/usr/src/grep-2.5/doc/grep.info' due to errors; use --force to preserve. make[2]: *** [grep.info] Error 2 I had to patch src/grep.c by adding this near the top of the file #ifdef __EMX__ #define strcasecmp stricmp #define S_ISBLK(x) (0) #endif Then it built nicely. No emxbind required. I do get 3 of 10 tests failing though. And as pointed out by Mr. Sawataishi it doesn't support wild-cards etc. Dave **= Email 7 ==========================** Date: Tue, 02 Apr 2002 14:54:00 +0400 From: "Andrew Zabolotny" Subject: Re: iconv.a On Mon, 1 Apr 2002 15:57:15 +0000, John Poltorak wrote: >OK , I managed to build iconv.a but still can't get intl.dll built. >When building GETTEXT I get the error:- >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 >Any idea what could be causing this? Yes. Use emxbind from gcc 3.0.3. The original emxbind is unable to export data symbols. Greetings, _\ndy **= Email 8 ==========================** Date: Tue, 2 Apr 2002 14:57:39 +0000 From: John Poltorak Subject: Multi-user OS/2 I just noticed an item about a third party multi-user support enhancement for OS/2 here:- http://www.os2bbs.com/os2news/ Does anyone know how this will work? Is there any chance of this working with a PASSWD file? I assume it uses NET.ACC. If so is there a way of synchronising this with PASSWD entries? Or alternatively could LIBEMU get user and group information from somewhere apart from /etc/passwd and /etc/group ? -- John **= Email 9 ==========================** Date: Tue, 02 Apr 2002 14:58:30 +0400 From: "Andrew Zabolotny" Subject: Re: Updating gcc On Tue, 2 Apr 2002 08:40:56 +0000, John Poltorak wrote: >I want to update gcc from v2.8.1 to v3.0.3 and at the same time remove any >rendundant apps. Since 3.0.3 installs over the top of 2.8.1 and requires a >number of programs from emx\bin it isn't easy to determine which are >redundant but I would guess this would include any DOS binaries... >Is there any way to determine whether a binary is a DOS program from the >command line? You don't have to remove anything. The gcc 3.0.3's doc/INSTALL file includes instructions for two ways to install and use newer gcc: without removing the old gcc and with removing the old gcc. In any case you don't have to remove anything (EMX doesn't contain any "pure DOS" programs). If you decide to remove the old gcc, you just have to merge the contents of bin.new with the contents of bin, replacing any files with the same name. Greetings, _\ndy **= Email 10 ==========================** Date: Tue, 02 Apr 2002 16:22:10 +0100 (MEZ) From: "Gerhard Arnecke" Subject: Re: Multi-user OS/2 The accentuation is "new multiuser", because there is since severel years a secure multiuser application for OS/2: http://www-5.ibm.com/services/es/bis/secure.html This version is no single customer application. This is for companies. GA **= Email 11 ==========================** Date: Tue, 2 Apr 2002 18:11:00 +0000 From: John Poltorak Subject: Re: GREP v2.5 On Tue, Apr 02, 2002 at 11:18:43PM +0900, Jun Sawataishi wrote: > At Mon, 1 Apr 2002 08:59:01 +0000, > John Poltorak wrote: > > A new release of GREP (v2.5) appeared at GNU a couple of weeks ago. See:- > > ftp://ftp.gnu.org/pub/gnu/grep/grep-2.5.tar.gz > > Wonder if this will build on OS/2 straight out of the box... > Using `os2unix' utility, I was able to built it "out of the box". > But modification on source codes is needed to handle wild cards > and to recognize directory. > > $ configure --disable-dependency-tracking > $ make > > I recommend you to apply a diff file (C_Source.diff) for grep 2.5a. > http://homepage1.nifty.com/jsawa/gnu/grep-2.5a-OS2-patch.zip v2.5a is not the release version AFAICT. Do you have a patch file for v2.5? Whilst it's good to know that alpha versions will build on OS/2, I think it's important to also have the release version available. > # OS/2 is not a question, it's a solution. > # SAWATAISHI Jun > # http://www2s.biglobe.ne.jp/~vtgf3mpr/ -- John **= Email 12 ==========================** Date: Tue, 02 Apr 2002 21:20:06 -0500 From: Stepan Kazakov Subject: Re: Multi-user OS/2 Gerhard Arnecke wrote: > The accentuation is "new multiuser", because there is since severel years a secure > multiuser application for OS/2: > http://www-5.ibm.com/services/es/bis/secure.html > This version is no single customer application. This is for companies. it is not _multiuser_ like Unixes. SecureEntry - is one user in one time system. but http://www.os2bbs.com/os2news/ talks about real multiuser solution, with many users in one time.. to John Poltorak: AFAIK it is not uses net.acc or hpfs386 solutions, it is based on SES. -- madded. [Red Hot Chili Hackers] **= Email 13 ==========================** Date: Tue, 02 Apr 2002 23:10:09 +0100 From: Andreas Buening Subject: Re: iconv.a John Poltorak wrote: > > On Mon, Apr 01, 2002 at 05:23:12PM +0400, Andrew Zabolotny wrote: [snip] > > If you mean uconv.h then it is part of gcc 3.0.3 (it is inside the *-gcc.zip > > archive). > > Ah... I was trying to build it with gcc 2.8.1. I see no principle reason why basic C programs won't build with any gcc, at least down to emx-gcc 2.7. Would it be possible to include all necessary code into that libiconv? [snip] 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 Redmond where the Shadows lie. **= Email 14 ==========================** Date: Tue, 02 Apr 2002 23:10:17 +0100 From: Andreas Buening Subject: Re: iconv.a Andrew Zabolotny wrote: > > On Mon, 1 Apr 2002 15:57:15 +0000, John Poltorak wrote: > > >OK , I managed to build iconv.a but still can't get intl.dll built. > >When building GETTEXT I get the error:- > >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 > >Any idea what could be causing this? > Yes. Use emxbind from gcc 3.0.3. The original emxbind is unable to export data > symbols. Have you tried "emxexp -u"? 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 Redmond where the Shadows lie. **= Email 15 ==========================** Date: Tue, 02 Apr 2002 23:18:43 +0900 From: Jun Sawataishi Subject: Re: GREP v2.5 At Mon, 1 Apr 2002 08:59:01 +0000, John Poltorak wrote: > A new release of GREP (v2.5) appeared at GNU a couple of weeks ago. See:- > ftp://ftp.gnu.org/pub/gnu/grep/grep-2.5.tar.gz > Wonder if this will build on OS/2 straight out of the box... Using `os2unix' utility, I was able to built it "out of the box". But modification on source codes is needed to handle wild cards and to recognize directory. $ configure --disable-dependency-tracking $ make I recommend you to apply a diff file (C_Source.diff) for grep 2.5a. http://homepage1.nifty.com/jsawa/gnu/grep-2.5a-OS2-patch.zip # OS/2 is not a question, it's a solution. # SAWATAISHI Jun # http://www2s.biglobe.ne.jp/~vtgf3mpr/