From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sun, 27 Jan 2002 04:09:55 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 117 ************************************************** Saturday 26 January 2002 Number 117 ************************************************** Subjects for today 1 Re: Error with Perl 561[Netcomics] : John Poltorak 2 Re: Error with Perl 561[Netcomics] : Henry Sobotka 3 Re: Error with Perl 561[Netcomics] : Alex Newman 4 Re: Error with Perl 561[Netcomics] : John Poltorak 5 Re: Error with Perl 561[Netcomics] : Henry Sobotka 6 Re: Error with Perl 561[Netcomics] : Gerhard Arnecke" 7 Building Perl 5.6.1 from source : John Poltorak 8 Re: Building Perl 5.6.1 from source : Henry Sobotka **= Email 1 ==========================** Date: Sun, 27 Jan 2002 09:11:21 +0000 From: John Poltorak Subject: Re: Error with Perl 561[Netcomics] On Sat, Jan 26, 2002 at 09:53:11AM -0700, Tim Erickson wrote: > I have been trying to get Netcomics to work on OS/2 but admit I am a clueless newbie with shell scripts and perl. I was hoping to write something similar to Netcomics, in > ReXX or Ada95, for OS/2. I wouldn't mind some feedback from anyone who has gotten Netcomics to run. > > http://netcomics.sourceforge.net/ One thing I've just noticed in the archive is the presence of:- netcomics-0.13.2/Netcomics/ netcomics-0.13.2/netcomics ie. a directory and a file with names which are treated differently on Unix but have the same name on OS/2, so the second file cannot be extracted. How should this situation be resolved? > Thanks > > Tim > > -- John **= Email 2 ==========================** Date: Sun, 27 Jan 2002 10:14:45 -0500 From: Henry Sobotka Subject: Re: Error with Perl 561[Netcomics] John Poltorak wrote: > > One thing I've just noticed in the archive is the presence of:- > > netcomics-0.13.2/Netcomics/ > netcomics-0.13.2/netcomics > > ie. a directory and a file with names which are treated differently on > Unix but have the same name on OS/2, so the second file cannot be > extracted. > > How should this situation be resolved? tar has a --case-sensitive option you can use to extract the file along another path. You can then rename it appropriately, move it into place manually and adjust references to it. h~ **= Email 3 ==========================** Date: Sun, 27 Jan 2002 10:21:17 +1100 From: Alex Newman Subject: Re: Error with Perl 561[Netcomics] With regard to sh(ells): I come across conflicting advice from various people: some say to use ksh nad make a copy of ksh.exe to /bin/sh.exe; others say to use bash. And pretty well everyone say that all ported the un*x shells are broken in one way or another. So which one (and wich version?) is the "canonical" shell for emx shell and/or unixos/2(aka posix2?)? Or does it depend on which sh a particular package was ported/compiled on? Has anyone else tried (and had success with!) tcsh 6.072? Cheers, Alex Newman Henry Sobotka wrote: > John Poltorak wrote: > > > > Sometimes you can just run:- > > > > make install > > > > to install a Perl program, but in this case I got:- > > > > [N:\eval\netcomics\netcomics-0.13.2]make install > > SYS1079: ( was unexpected at this time. > > make: *** [remake_check] Error 1 > > My guess is it's a shell thing. Try setting SHELL to bash before running > make. > > h~ **= Email 4 ==========================** Date: Sun, 27 Jan 2002 10:21:38 +0000 From: John Poltorak Subject: Re: Error with Perl 561[Netcomics] On Sat, Jan 26, 2002 at 05:44:54PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Sometimes you can just run:- > > > > make install > > > > to install a Perl program, but in this case I got:- > > > > [N:\eval\netcomics\netcomics-0.13.2]make install > > SYS1079: ( was unexpected at this time. > > make: *** [remake_check] Error 1 > > My guess is it's a shell thing. Try setting SHELL to bash before running > make. Yes, it looks as though the SHELL variable needs to be set for this to work although I set it to /bin/sh (PDKSH 5.2.14). What happens now is:- /bin/sh: pod2man: not found I can't work out what's wrong here. pod2man is part of PERL and I have it in c:\usr\lib\perl\bin. PERL was built with a prefix of c:/usr/lib/perl so I would expect perl.exe to find any of it support files anyway, but I added it to the path just in case, and it still didn't find it. > h~ -- John **= Email 5 ==========================** Date: Sun, 27 Jan 2002 10:44:32 -0500 From: Henry Sobotka Subject: Re: Error with Perl 561[Netcomics] John Poltorak wrote: > > What happens now is:- > > /bin/sh: pod2man: not found > > I can't work out what's wrong here. pod2man is part of PERL and I have it > in c:\usr\lib\perl\bin. PERL was built with a prefix of c:/usr/lib/perl so > I would expect perl.exe to find any of it support files anyway, but I > added it to the path just in case, and it still didn't find it. Try running "sh pod2man --help" in an OS/2 window, or just "pod2man --help" at a shell prompt, or "perl -S pod2man --help". That might yield more useful error messages for tracking down the problem. h~ **= Email 6 ==========================** Date: Sun, 27 Jan 2002 16:59:46 +0100 (MEZ) From: "Gerhard Arnecke" Subject: Re: Error with Perl 561[Netcomics] 1. If one has a file like xyz.tar,z then do gzip -d xyz.tar.Z and one will obtain a xyz.tar file 2. If one has a file like xyz.tar teh do tar -xvf xyz.tar and the file will be decompressed with all its directories 3. If one want to combine 1. and 2 then do tar -xvfz xyz.tar.Z GA **= Email 7 ==========================** Date: Sun, 27 Jan 2002 23:29:34 +0000 From: John Poltorak Subject: Building Perl 5.6.1 from source About a year ago I managed to build Perl 5.6.0 from the latest stable tarball and was quite surprised how relatively straightforward it was. Now I'm attemepting to do the same with 5.6.1 although there has been no updates for a long time, but this time I'm hoping to create a UnixOS/2 package from the build. Unfortunately when I run the same script as before, 'Make install' says `install' is up to date. In the process of testing the build, 5 scripts failed out of 258 - that's 98.06% pass. Is that as good as I can expect? I'm prepared to go through the fails just to see if they are to be expected. Also, quite a lot of tests have been skipped and I'd like to know if they should have been skipped. -- John **= Email 8 ==========================** Date: Sun, 27 Jan 2002 23:56:51 -0500 From: Henry Sobotka Subject: Re: Building Perl 5.6.1 from source John Poltorak wrote: > > In the process of testing the build, 5 scripts failed out of 258 - that's > 98.06% pass. Is that as good as I can expect? That's about right. Most if not all are fork-related with the OMF build. > I'm prepared to go through the fails just to see if they are to be > expected. Also, quite a lot of tests have been skipped and I'd like to > know if they should have been skipped. They generally involve something that's a no-op on OS/2 and are either obvious or commented. h~