Date: Tue, 6 Jan 2004 00:04:05 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 284 ************************************************** Monday 05 January 2004 Number 284 ************************************************** Subjects for today 1 NetPBM : John Poltorak 2 Re: cannot find command processor in the path : John Poltorak 3 Re: NetPBM : Stefan Neis 4 Re: NetPBM : Stefan Neis 5 Re: New ZLIB : Dave and Natalie" 6 Re: GNU ed : Dave and Natalie" 7 syscalls.h : John Poltorak 8 Re: GNU ed : John Poltorak 9 Re: NetPBM : Franz Bakan" 10 Re: NetPBM : John Poltorak 11 Re: cannot find command processor in the path : Andreas Buening **= Email 1 ==========================** Date: Sun, 4 Jan 2004 13:00:01 +0000 From: John Poltorak Subject: NetPBM Is anyone familiar with NetPMM? There is an old port on Hobbes from five years ago. Wondered if anyone was aware of anything newer... It's a sourceforge project so may well be buildable on OS/2 without too much trouble. Anyone given it a try? -- John **= Email 2 ==========================** Date: Sun, 4 Jan 2004 13:03:04 +0000 From: John Poltorak Subject: Re: cannot find command processor in the path On Sat, Jan 03, 2004 at 03:51:26PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Tue, Dec 30, 2003 at 02:59:44PM +0000, John Poltorak wrote: > > > Why do I get an error msg about the command processor not being found in > > > the path when it clearly is? > > > > This appears to be problem related to Make.... > > > > It does not occur when using an old version of Make (v3.76.1) but it's a > > definite no-go with v3.79.1. Should I be using some additional envar such > > as MAKESHELL or somesuch to get round the problem? > > I think I fixed such a bug some time ago. Can you try a newer version? I want a newer version for UX2BS which means I should be able to build it from the original source. No source is available for 3.79.2 and I'm not sure of the status of your port of 3.80. Where can I find your most recent port? > > Bye, > Andreas -- John **= Email 3 ==========================** Date: Sun, 4 Jan 2004 15:23:58 +0100 (CET) From: Stefan Neis Subject: Re: NetPBM On Sun, 4 Jan 2004, John Poltorak wrote: > It's a sourceforge project so may well be buildable on OS/2 without too > much trouble. Anyone given it a try? Just now. It's complaining about missing 'ln' and even more confusing there is some error about "spawn"... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 4 ==========================** Date: Sun, 4 Jan 2004 15:23:58 +0100 (CET) From: Stefan Neis Subject: Re: NetPBM On Sun, 4 Jan 2004, John Poltorak wrote: > It's a sourceforge project so may well be buildable on OS/2 without too > much trouble. Anyone given it a try? Just now. It's complaining about missing 'ln' and even more confusing there is some error about "spawn"... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 5 ==========================** Date: Sun, 04 Jan 2004 09:47:34 -0800 From: "Dave and Natalie" Subject: Re: New ZLIB On Sat, 03 Jan 2004 15:52:12 +0100, Andreas Buening wrote: >As far as I know the simplest way is to write a .def file which >looks the following way: > > >LIBRARY 'intl' INITINSTANCE TERMINSTANCE >DESCRIPTION 'intl 0.11.5' >DATA MULTIPLE NONSHARED >STUB NONE > >EXPORTS > gettext at 1 > newname_for_gettext at 4 >... Ok, I've got it working now. Missed an export Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 6 ==========================** Date: Sun, 04 Jan 2004 12:07:07 -0800 From: "Dave and Natalie" Subject: Re: GNU ed On Sun, 4 Jan 2004 11:48:51 +0000, John Poltorak wrote: > >If you have UX2BS installed, could you try 'build ed' ? > >Maybe you could spot an obvious problem... While ed seems to build ok make check seems totally broken on OS/2. Unluckily I can't see an easy fix Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 7 ==========================** Date: Sun, 4 Jan 2004 20:12:31 +0000 From: John Poltorak Subject: syscalls.h EMX come with two different versions of syscalls.h. One is in include\emx and the other is in src\lib\sys. Why do I need two different versions of the same header? It looks both are used by PTHREADS. -- John **= Email 8 ==========================** Date: Sun, 4 Jan 2004 21:11:47 +0000 From: John Poltorak Subject: Re: GNU ed On Sun, Jan 04, 2004 at 12:07:07PM -0800, Dave and Natalie wrote: > On Sun, 4 Jan 2004 11:48:51 +0000, John Poltorak wrote: > > > > >If you have UX2BS installed, could you try 'build ed' ? > > > >Maybe you could spot an obvious problem... > > While ed seems to build ok make check seems totally broken on OS/2. Could it be anything to do with line termination?... > Unluckily I can't see an easy fix Do you have a Linux system available? It would be interesting to see how Make check on OS/2 differred. > Dave > > New Email Address - please update your Address book > dave_yeo at paralynx.com > -- John **= Email 9 ==========================** Date: Mon, 05 Jan 2004 01:07:19 +0100 (CET) From: "Franz Bakan" Subject: Re: NetPBM On Sun, 4 Jan 2004 15:23:58 +0100 (CET), Stefan Neis wrote: >> It's a sourceforge project so may well be buildable on OS/2 without too >> much trouble. Anyone given it a try? > >Just now. It's complaining about missing 'ln' copy cp.exe to ln.exe >and even more confusing >there is some error about "spawn"... try an older make version BTW (very likely the reason for John to ask for NetPBM ;-) : a new version of gocr (GNU Optical Character Recognition) is available at: how to build: http://home.tiscalinet.de/fbakan/gocr-os2-038.htm binary: http://home.tiscalinet.de/fbakan/gocr/gocr0.38-os2.zip sh configure with UX2BS did not work .... checking whether setvbuf arguments are reversed... configure: error: can not run test program while cross compiling .... (Someone who knows the answer to this bug?) so I built with os2unix tool. Franz **= Email 10 ==========================** Date: Mon, 5 Jan 2004 10:31:57 +0000 From: John Poltorak Subject: Re: NetPBM On Mon, Jan 05, 2004 at 01:07:19AM +0100, Franz Bakan wrote: > On Sun, 4 Jan 2004 15:23:58 +0100 (CET), Stefan Neis wrote: > > >> It's a sourceforge project so may well be buildable on OS/2 without too > >> much trouble. Anyone given it a try? > > > >Just now. It's complaining about missing 'ln' > > copy cp.exe to ln.exe > > >and even more confusing > >there is some error about "spawn"... > > try an older make version > > > BTW (very likely the reason for John to ask for NetPBM ;-) : > > a new version of gocr (GNU Optical Character Recognition) > is available at: That's exactly what brought it up. Are you saying you have got an updated NetPBM? > how to build: > http://home.tiscalinet.de/fbakan/gocr-os2-038.htm I'll check this and try to incorporate it into UX2BS, if possible. > binary: > http://home.tiscalinet.de/fbakan/gocr/gocr0.38-os2.zip > > sh configure with UX2BS did not work I'd like to figure out why. The idea with UX2BS is to run 'build gocr' and that should do everything required. That's the thery anyway. Making it happen is a little trickier. > ... > checking whether setvbuf arguments are reversed... configure: error: can not run > test program while cross compiling > ... > > (Someone who knows the answer to this bug?) Which configure script produces this error? > so I built with os2unix tool. os2unix is only a short cut to getting a usable configure script by converting the supplied configure script. Autoconf should be able to create one, but do it properly by using configure.in as the source file. > Franz > > -- John **= Email 11 ==========================** Date: Mon, 05 Jan 2004 13:33:51 +0100 From: Andreas Buening Subject: Re: cannot find command processor in the path John Poltorak wrote: > On Sat, Jan 03, 2004 at 03:51:26PM +0100, Andreas Buening wrote: [snip] > > I think I fixed such a bug some time ago. Can you try a newer version? > > I want a newer version for UX2BS which means I should be able to build it > from the original source. No source is available for 3.79.2 and I'm not > sure of the status of your port of 3.80. > > Where can I find your most recent port? On the usual place on unixos2.com. But it's still built from the same CVS snapshot. Bye, Andreas