From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 9 Oct 2002 04:39:11 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 340 ************************************************** Tuesday 08 October 2002 Number 340 ************************************************** Subjects for today 1 Re: perl, tk and a tax program : illya at vaeshiep.demon.nl 2 Re: Perl 5.8.0 binary : John Poltorak 3 Re: Perl 5.8.0 binary : Lyn St George" 4 gettext / iconv was: Some news : Franz Bakan" **= Email 1 ==========================** Date: Wed, 9 Oct 2002 09:21:23 GMT From: illya at vaeshiep.demon.nl Subject: Re: perl, tk and a tax program John: >You should be able to find an OS/2 PM version of TCL/TK in:- >http://hobbes.nmsu.edu/pub/os2/dev/tcl Or at the original place, http://www.vaeshiep.demon.nl/ . I have been unable to work on anything for a looooong time, but have been able to put effort in doing 8.3.4 recently. The TCL part compiles, but doesn't work correctly yet (the usage of threads for reading and writing in pipes when executing external programs they've put in the Windows version is ... tricky). I still don't have much time and my RSI isn't making things better... **= Email 2 ==========================** Date: Wed, 9 Oct 2002 10:16:03 +0100 From: John Poltorak Subject: Re: Perl 5.8.0 binary On Mon, Oct 07, 2002 at 09:28:59PM +0000, Lyn St George wrote: > On Sun, 6 Oct 2002 09:46:33 +0100, John Poltorak wrote: > > > > >Can you explain the nature of the additions you need for Interchange? > >Is there any reason not to include those additions in a standard version > >of Perl for OS/2? IMV, it doesn't really make much sense to have several > >versions of the latest Perl. I would like to have a single version which > >works in all circumstances. > > Apparently Interchange installs quite painlessly on Cygwin for Windoze, > whereas it has to be patched to install on Perl/EMX for OS/2. Patching > perl instead makes more sense, if possible, and so the extra #defines > are: > HAS_PASSWD > HAS_GETPWENT > HAS_GETGRID > HAS_GETGRNAM > HAS_GETGRENT > HAS_CRYPT > 'HAS_CHOWN' is the only one left which needs to be implemented (so > as to leave only the 'symlink' function which can be easily patched) in > Interchange. All the above build in without problems, but 'chown' turns > out to need some work, for which I will need to make some time. So what exactly needs to be done within Perl to make it build to accomodate Interchange? If it is just these defines, where are they added? Would the changes make any difference to other apps which use Perl? > - > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- > -- John **= Email 3 ==========================** Date: Wed, 09 Oct 2002 11:37:33 +0000 From: "Lyn St George" Subject: Re: Perl 5.8.0 binary On Wed, 9 Oct 2002 10:16:03 +0100, John Poltorak wrote: > >So what exactly needs to be done within Perl to make it build to >accomodate Interchange? > >If it is just these defines, where are they added? The choice is either patch Interchange to accomodate Perl, or patch Perl to accommodate Interchange. As these defines mentioned work without further ado for Perl, then it's plainly sensible to include these into Perl (into os2ish.h) in this case. >Would the changes make any difference to other apps which use Perl? If other apps use the functions referred to by these defines, then these other apps would benefit - if not then they would not notice the changes. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 4 ==========================** Date: Wed, 09 Oct 2002 23:54:51 +0200 (CEST) From: "Franz Bakan" Subject: gettext / iconv was: Some news On Wed, 2 Oct 2002 17:52:58 +0200 (CEST), andreas.buening at nexgo.de wrote: ... >> >gettext 0.11.2 beta >> >Uses iconv2 (statically linked) and libunixos2. It's more a proof >> >of concept than a fully featured package. :-) > >[error messages] > >Thanks. I'll have a look at it as soon I have some time. Besides the SIGSEGV I get a warning when I use (your) gettext 0.11.2 built with the 'OS/2-api-small version' of iconv: msgfmt: : warning: Charset "ISO-8859-15" is not supported. msgfmt relies on iconv(), and iconv() does not support "ISO-8859-15". Installing GNU libiconv and then reinstalling GNU gettext would fix this problem. Continuing anyway. I don't know if this is important, but I don't get this warning, when I use a gettext 0.11.2 - version built with 'the libiconv-1.8-version' of iconv.a and the related iconv.dll. (I also don't get the SIGSEGV) Franz