From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 29 Jan 2002 04:10:13 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 119 ************************************************** Monday 28 January 2002 Number 119 ************************************************** Subjects for today 1 Re: Perl enhancements : Lyn St George" 2 Re: Perl enhancements : IanM" 3 Re: An archive for list? : Alex Newman" 4 Re: Perl enhancements : John Poltorak 5 Hi folks... need a rexx regex library : Jack Troughton 6 Re: Building Perl 5.6.1 from source : John Poltorak 7 Building Perl 5.6.1 from source (NOT found) : John Poltorak 8 Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 : John Poltorak 9 Re: Building Perl 5.6.1 from source (NOT found) : Holger Veit 10 Compiling Perl xs code with Perl 5.6.1 on OS/2 : Edwin =?iso-8859-1?Q?G=FCnthner?= 11 Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 : Holger Veit 12 Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 : Edwin =?iso-8859-1?Q?G=FCnthner?= 13 Re: Hi folks... need a rexx regex library : Sergey I. Yevtushenko" 14 New Apache : John Poltorak 15 Interchange eCommerce suite : John Poltorak 16 crypt() : John Poltorak 17 Re: An archive for list? : Alex Newman" 18 Re: An archive for list? : Alex Newman" **= Email 1 ==========================** Date: Tue, 29 Jan 2002 00:23:25 +0000 From: "Lyn St George" Subject: Re: Perl enhancements On Mon, 28 Jan 2002 12:51:28 -0500, Henry Sobotka wrote: >Lyn St George wrote: >> >> Socket.obj(Socket.obj) : error L2029: 'inet_aton' : unresolved external > >You probably have d_inetaton set to 'define' in config.sh and offspring. >It's not in EMX libsocket. No, it's 'undef'. >> And, to make it worse, Perl while building complains that it can't >> find crypt() (though it finds -lcrypt). > >Do you have d_crypt set to 'define'? No, in fact I don't remember touching config.sh and I'm still getting errors - I must have changed something in the main environment but so far I haven't found just what. (though I will set this as above) OTOH, I just noticed that perl -V claims to depend on 'libperl' for its info, and this didn't get updated, though in fact its perlxxx.dll (also not updated in the last rebuild) which gives this info. Updating perlxxx.dll from what turned out to *be* the proper archive fixed it and perl will now properly process passwords without that infamous "crypt() not available due to excessive paranoia" message. Thanks Henry >h~ > Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 2 ==========================** Date: Tue, 29 Jan 2002 02:41:58 +1100 (EDT) From: "IanM" Subject: Re: Perl enhancements Hi Henry / John >> #define HAS_CRYPT Does the recent builds of PERL for OS/2 have the Crypt function ? >Crypt works, but as long as we only have fake password support in EMX, I The external PERL Crypt module works fine, and it can use a predefined seed value. http://www.os2site.com/sw/dev/perl/other/Crypt-UnixCrypt-OS2-1.0.zip When I need to use this module, I include the following in my Perl Scripts :- # ------------------------------------------------------------------------ use Crypt::UnixCrypt; $hashed = crypt($plaintext,$salt); BEGIN { $Crypt::UnixCrpyt::OVERRIDE_BUILTIN = 1 } use Crypt::UnixCrypt; # ------------------------------------------------------------------------ And provide value's in the config files (which are not in any web paths). Or am I talking about something totally different ? Cheers IanM http://www.os2site.com/ **= Email 3 ==========================** Date: Tue, 29 Jan 2002 08:08:39 +1100 (EDT) From: "Alex Newman" Subject: Re: An archive for list? On Mon, 28 Jan 2002 13:56:05 -0600, email at eracc.hypermart.net wrote: > I was wondering if there is an archive of all the messages sent to > this list? If so, where? If not then what do we need to do to get > such a beast? It's important to be able to go back and check for old > subjects when possible. Especially when one has missed e-mail due to > an ISP error or other event. > > Gene > -- Hear, hear! I have had various hardware & ISP failures in recent times, and lost slabs of email. As a recent query of mine about which shell to use has gone unanswered save for one reply (thank you :) about which one *not* to use, I can only assume that this topic has been thrashed to death here, and everyone else is fed up with it. It's not as though I haven't tried out various versions of ksh & bash - it's just that none of them (combined with various version of make including 7.6.1s, and gcc including 2.9.5 & 3.0.2 beta) alway seems to end up with a shell-related error (e.g., "ld not found on path" - and it is). An archive would be exceedingly useful in this instance, and would have saved the bother of reading this and/or putting me on your kill lists ;). Cheers, Alex. **= Email 4 ==========================** Date: Tue, 29 Jan 2002 10:06:13 +0000 From: John Poltorak Subject: Re: Perl enhancements On Mon, Jan 28, 2002 at 05:19:47PM +0000, Lyn St George wrote: > Hmm ... I've just tried to build Perl again so as to answer John P's > previous question, and discovered that it won't build any more - Yes, I know the feeling. One of the things I'd like to assemble on unixos2.com is a collection of build scripts for every package so that anyone will be able to build any package from scratch automatically without needing to read lots of docs and cobbling together their own build script. Could anyone try the following script (after changing paths to suit) and see if they manage to build Perl 5.6.1 ? :- # !sh CWD=`pwd` AWK=c:/usr/bin/awk.exe export AWK C_INCLUDE_PATH=c:/emx/include CPLUS_INCLUDE_PATH=c:/emx/include/cpp';'c:/emx/include LIBRARY_PATH=c:/emx/lib export C_INCLUDE_PATH export CPLUS_INCLUDE_PATH export LIBRARY_PATH PATH=c:/usr/bin';'c:/emx/bin';'c:/os2 export PATH test -f stable.tar.gz || wget -c http://www.cpan.org/src/stable.tar.gz mkdir /tmp/perl cd /tmp/perl tar zxf $CWD/stable.tar.gz cd perl-5.6.1 patch -p0 < os2\diff.configure Configure -des -D prefix=c:/usr/lib/perl | tee configure.log make | tee make.log make test | tee test.log make install | tee install.log > And, to make it worse, Perl while building complains that it can't > find crypt() (though it finds -lcrypt). Are we agreed that a standard UnixOS/2 build for Perl should include crypt()? BTW is there a standard version of crypt and where is it? > TIA > > > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- -- John **= Email 5 ==========================** Date: Tue, 29 Jan 2002 10:24:15 -0500 From: Jack Troughton Subject: Hi folks... need a rexx regex library Hi! Due to a newly revealed shortcoming in changi's article filtering capabilities, I need to create a new filtering mechanism for changi. I'm writing a filter program in rexx to deal with it; it's going to take the output of chanx (news exchanger) on stdin, and pass it to rnews (news injector) on stdout. I'm hoping to use the chanx filter file format... but in order to do that I need a regex library for rexx. Besides... it would make the filters much more capable... but the penultimate goal is to let me (and others) move their current filter.cf files to the new program unchanged and have them work as expected. The ultimate goal is to rebanish any replies made to The Martian et al by people running the new version of Nick Knight's MR/2 ICE. It puts the References: header line onto multiple lines. This does follow RFC, but chanx doesn't recognise them properly. Since it's changi that's broken, I can't very well ask Nick to rewrite his newsreader... and if I write a good filter, I may be able to expand the filtering capabilities of changi quite a bit:) I know rexxlib will do this, but it times out after thirty days. I'm hoping that there's a gnu regex rexx lib out there that I can use instead. Any ideas where I can find such a beast? I tried searching on Holger's site, but came up empty... any ideas, anyone? Thanks a lot! Regards, Jack **= Email 6 ==========================** Date: Tue, 29 Jan 2002 10:40:55 +0000 From: John Poltorak Subject: Re: Building Perl 5.6.1 from source On Mon, Jan 28, 2002 at 02:06:24AM +0000, Lyn St George wrote: > I've put some notes up on os2docs.org if you want to compare notes. What would be useful is a link to any logs created during the build. They can provide some guidance into the possible problems experienced by others. > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- > -- John **= Email 7 ==========================** Date: Tue, 29 Jan 2002 14:12:41 +0000 From: John Poltorak Subject: Building Perl 5.6.1 from source (NOT found) After building Perl 5.6.1, I checked through the build log and found a large number of functions and headers marked as 'NOT found'. I would like to get as comprehensive a build as possible so it would be useful to plug as many gaps as possible. Can any of these be eliminated on OS/2? :- NOT found. dlopen() NOT found. qgcvt() NOT found. gconvert NOT found. fwalk() NOT found. accessx() NOT found. atolf() NOT found. atoll() NOT found. setpgrp() NOT found. chown() NOT found. chroot() NOT found. crypt() NOT found. dlerror() NOT found. NOT found. eaccess() NOT found. endgrent() NOT found. fchmod() NOT found. fchown() NOT found. socketpair() NOT found. NOT found. fseeko() NOT found. fstatfs() NOT found. statvfs() NOT found. fstatvfs() NOT found. ftello() NOT found. getespwnam() NOT found. getfsstat() NOT found. getgrent() NOT found. getmnt() NOT found. getmntent() NOT found. getpgid() NOT found. getpgrp2() NOT found. getpriority() NOT found. getprpwnam() NOT found. getspnam() NOT found. hasmntopt() NOT found. htonl() NOT found. iconv() NOT found. inet_aton() NOT found. NOT found. isnan() NOT found. isnanl() NOT found. killpg() NOT found. lchown() NOT found. link() NOT found. lockf() NOT found. lstat() NOT found. madvise() NOT found. mkdtemp() NOT found. mkfifo() NOT found. mkstemps() NOT found. NOT found. mmap() NOT found. mprotect() NOT found. msgctl() NOT found. msgget() NOT found. msgsnd() NOT found. msgrcv() NOT found. msync() NOT found. munmap() NOT found. nice() NOT found. NOT found. poll() NOT found. readlink() NOT found. semctl() NOT found. semget() NOT found. semop() NOT found. setegid() NOT found. seteuid() NOT found. setgrent() NOT found. setlinebuf() NOT found. setpgrp2() NOT found. setpriority() NOT found. setproctitle() NOT found. setregid() NOT found. setresgid() NOT found. setreuid() NOT found. setresuid() NOT found. setrgid() NOT found. setruid() NOT found. setsid() NOT found. NOT found. shmctl() NOT found. shmget() NOT found. shmat() NOT found. shmdt() NOT found. socks5_init() NOT found. NOT found. strtoll() NOT found. strtoull() NOT found. strtouq() NOT found. symlink() NOT found. syscall() NOT found. ustat() NOT found. vfork() NOT found. NOT found. wait4() NOT found. setgroups() NOT found. NOT found. dbmclose() NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. NOT found. -- John **= Email 8 ==========================** Date: Tue, 29 Jan 2002 15:23:30 +0000 From: John Poltorak Subject: Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 On Tue, Jan 29, 2002 at 04:09:03PM +0100, Edwin Günthner wrote: > Hi there, > > I just updated my OS/2 machine to use Perl 5.7.2. Then I > tried to recompile a Perl XS module that I have written. > Its very simple code, it just maps some functions from > one of our libraries so that we can use them in Perl. > > Unfortunately making the module doesnt work any more. > It wouldnt compile at all; thus I changed my compiler to > pgcc (Perl 5.7.2 is built with that one) - and now > compiling works; but linking still fails. > > I had a closer look and right in the begin > "perl Makefile.pl" emits messages like: > > "Note (probably harmless): No library found for -lxyz" > > where xyz is my library, that is placed in the > gcc lib path. Do you get the same msg if you rename your library as libxyz.a ? > I tried things like "-lm" and "-lsocket" and > again, same warning for those libraries. > > When I use the old Perl (5.005) + gcc it works > fine; no warnings and my library is found an linked, > resulting in the final DLL. Now I am wondering > if somebody has an idea where this problem might > come from? Have you tried using 5.6.1 ? That is the latest stable version. > regards, > eg -- John **= Email 9 ==========================** Date: Tue, 29 Jan 2002 15:34:21 +0100 From: Holger Veit Subject: Re: Building Perl 5.6.1 from source (NOT found) On Tue, Jan 29, 2002 at 02:12:41PM +0000, John Poltorak wrote: > After building Perl 5.6.1, I checked through the build log and found a > large number of functions and headers marked as 'NOT found'. I would like > to get as comprehensive a build as possible so it would be useful to plug > as many gaps as possible. > > > Can any of these be eliminated on OS/2? :- Many of these calls are redundant, i.e. you need one of them to emulate a missing one. Example: if you have getresuid(), you can use it to emulate getuid(), geteuid() and getreuid(). Perl exactly does this for missing functions. You don't need all these functions, it is sufficient to have a subset that covers the complete functionality. I doubt even the glibc monster provides all of these calls. Some calls are obsolete, and you only find them in antediluvian Unixes. Same holds for header files some of which come from pre-POSIX times, to provide declarations that have now been moved to different files. Note that a of e.g. an old Microport/V286 Unix does not even barely resemble a modern one - declarations for printf and fprintf are not everything. Holger -- Please update your tables to my new e-mail address: holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) **= Email 10 ==========================** Date: Tue, 29 Jan 2002 16:09:03 +0100 From: Edwin =?iso-8859-1?Q?G=FCnthner?= Subject: Compiling Perl xs code with Perl 5.6.1 on OS/2 Hi there, I just updated my OS/2 machine to use Perl 5.7.2. Then I tried to recompile a Perl XS module that I have written. Its very simple code, it just maps some functions from one of our libraries so that we can use them in Perl. Unfortunately making the module doesnt work any more. It wouldnt compile at all; thus I changed my compiler to pgcc (Perl 5.7.2 is built with that one) - and now compiling works; but linking still fails. I had a closer look and right in the begin "perl Makefile.pl" emits messages like: "Note (probably harmless): No library found for -lxyz" where xyz is my library, that is placed in the gcc lib path. I tried things like "-lm" and "-lsocket" and again, same warning for those libraries. When I use the old Perl (5.005) + gcc it works fine; no warnings and my library is found an linked, resulting in the final DLL. Now I am wondering if somebody has an idea where this problem might come from? regards, eg **= Email 11 ==========================** Date: Tue, 29 Jan 2002 16:23:49 +0100 From: Holger Veit Subject: Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 On Tue, Jan 29, 2002 at 04:09:03PM +0100, Edwin Günthner wrote: > Hi there, > > I just updated my OS/2 machine to use Perl 5.7.2. Then I > tried to recompile a Perl XS module that I have written. > Its very simple code, it just maps some functions from > one of our libraries so that we can use them in Perl. > > Unfortunately making the module doesnt work any more. > It wouldnt compile at all; thus I changed my compiler to > pgcc (Perl 5.7.2 is built with that one) - and now > compiling works; but linking still fails. > > I had a closer look and right in the begin > "perl Makefile.pl" emits messages like: > > "Note (probably harmless): No library found for -lxyz" > where xyz is my library, that is placed in the > gcc lib path. > > I tried things like "-lm" and "-lsocket" and > again, same warning for those libraries. > > When I use the old Perl (5.005) + gcc it works > fine; no warnings and my library is found an linked, > resulting in the final DLL. Now I am wondering > if somebody has an idea where this problem might > come from? Very likely a "libxyz.a vs xyz.a" issue. Try copying xyz.a to libxyz.a in the same directory. Holger -- Please update your tables to my new e-mail address: holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) **= Email 12 ==========================** Date: Tue, 29 Jan 2002 16:49:26 +0100 From: Edwin =?iso-8859-1?Q?G=FCnthner?= Subject: Re: Compiling Perl xs code with Perl 5.6.1 on OS/2 John Poltorak wrote: > Have you tried using 5.6.1 ? That is the latest stable version. Forgot to mention that: yeah, I tried both ones. But they are coming from the some guy and I assume he built them with the same setup; thus I dont think it is a 5.7.2 specifiec problem. **= Email 13 ==========================** Date: Tue, 29 Jan 2002 17:49:40 +0200 (EET) From: "Sergey I. Yevtushenko" Subject: Re: Hi folks... need a rexx regex library On Tue, 29 Jan 2002 10:24:15 -0500, Jack Troughton wrote: Hi! >I know rexxlib will do this, but it times out after thirty days. I'm >hoping that there's a gnu regex rexx lib out there that I can use >instead. Any ideas where I can find such a beast? I tried searching on >Holger's site, but came up empty... any ideas, anyone? There is one in the EMX samples, if I remember correctly. Regards, Sergey. *-------------------------------------- ES at Home **= Email 14 ==========================** Date: Tue, 29 Jan 2002 19:44:54 +0000 From: John Poltorak Subject: New Apache A new Apache (v1.3.23) is available here:- http://apache.org/dist/httpd/binaries/os2/apache_1.3.23-os2.zip See also the Apache for OS/2 homepage:- http://silk.apana.org.au/apache/ -- John **= Email 15 ==========================** Date: Tue, 29 Jan 2002 19:55:25 +0000 From: John Poltorak Subject: Interchange eCommerce suite Has anyone heard of the Interchange eCommerce suite? I just came across a web page which shows how to set it up on OS/2 :- http://www.os2docs.org/zr/ic.html Is it worth trying to build this thing? -- John **= Email 16 ==========================** Date: Tue, 29 Jan 2002 20:37:13 +0000 From: John Poltorak Subject: crypt() After looking for a crypt() function I found KUR's port of the GNU ufc :- ftp://ftp.leo.org/pub/comp/os/os2/leo/crypt/gnuufc.zip I also noticed a newer version of the source in glibc 2.2.4. Has anyone tried building this? -- John **= Email 17 ==========================** Date: Tue, 29 Jan 2002 22:24:05 +1100 (EDT) From: "Alex Newman" Subject: Re: An archive for list? Thanks! Cheers, Alex On Mon, 28 Jan 2002 22:03:51 +0100, Holger Veit wrote: > On Mon, Jan 28, 2002 at 08:29:29PM +0000, John Poltorak wrote: > > On Mon, Jan 28, 2002 at 01:56:05PM -0600, email at eracc.hypermart.net wrote: > > > I was wondering if there is an archive of all the messages sent to > > > this list? If so, where? If not then what do we need to do to get > > > such a beast? It's important to be able to go back and check for old > > > subjects when possible. Especially when one has missed e-mail due to > > > an ISP error or other event. > > > > There is an incomplete archive here:- > > > > http://www.eyup.org > > You might also look at http://borneo.gmd.de/~veit/os2/unixsearch.html > > Holger > > -- > Please update your tables to my new e-mail address: > holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) > > **= Email 18 ==========================** Date: Tue, 29 Jan 2002 22:25:16 +1100 (EDT) From: "Alex Newman" Subject: Re: An archive for list? Hi there John, Found the archive, although nothing there that precisely matches what I need. Rescued by Herr Dr Veit (again). On Mon, 28 Jan 2002 20:29:29 +0000, John Poltorak wrote: > On Mon, Jan 28, 2002 at 01:56:05PM -0600, email at eracc.hypermart.net wrote: > > I was wondering if there is an archive of all the messages sent to > > this list? If so, where? If not then what do we need to do to get > > such a beast? It's important to be able to go back and check for old > > subjects when possible. Especially when one has missed e-mail due to > > an ISP error or other event. > > There is an incomplete archive here:- > > http://www.eyup.org > > > I really need to get it updated, but keep hoping to get up and running > with MailMan any time soon, which, AFAIK maintains a web archive > automatically. > > I'm using Mhonarc which formats the msgs nicely enough, but can't find > anything which creates a monthly index. Without that it makes painful > reading when there are 10,000 msgs to display. > > It would be nice to get a search engine in place too, but didn't have > much success with Webglimpse when I last tried. > > > > > Gene > > -- > > +=========================-=>Unix & OS/2<=-=========================+ > > # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # > > # OS/2, UnixWare, OpenServer & Linux Business Computing Solutions # > > # Please visit our www pages at http://eracc.hypermart.net/ # > > +===================================================================+ > > We run IBM OS/2 v.4.00, Revision 9.036 > > Sysinfo: 38 Processes, 146 Threads, uptime is 1d 16h 17m 32s 185ms > > > > > > > -- > John > Alex.