From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sat, 22 Nov 2003 14:15:58 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 248 ************************************************** Friday 21 November 2003 Number 248 ************************************************** Subjects for today 1 Re: db_version() : Lyn St George" 2 Re: db_version() : Lyn St George" 3 Re: Building PINE : John Poltorak 4 Re: Posix/2 header problem? : Stefan Neis 5 Re: Posix/2 header problem? : John Poltorak 6 Autoconf error : John Poltorak 7 Executing multiple programs (in the background) : Thomas Hoffmann 8 Re: Building PINE : Nicholas Sheppard 9 Re: Building PINE : Nicholas Sheppard **= Email 1 ==========================** Date: Sat, 22 Nov 2003 00:49:19 +0000 From: "Lyn St George" Subject: Re: db_version() On Fri, 21 Nov 2003 19:39:54 +0000, John Poltorak wrote: >On Fri, Nov 21, 2003 at 01:10:05PM -0500, T.Sikora wrote: >> Yuri Dario wrote: >> > Hi John, >> > >> > >> >>Bogofilter fails to build because it can't find db_version(). >> >>Is there a more uptodate version around? >> > >> > >> > you need Berkeley DB 4.1 from Sleepycat to build bogofilter. >> > >> >> BerkeleyDB-4.1.25.zip was posted the other day. I have it in incoming at >> os2ports.com. > >Thanks. Just what I needed. > >A little different from mine. > >Any idea where it came from? > > >> -- >> T.Sikora >> tsikora at ntplx dot net >> >> > > >-- >John > > > > - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- **= Email 2 ==========================** Date: Sat, 22 Nov 2003 00:50:38 +0000 From: "Lyn St George" Subject: Re: db_version() On Fri, 21 Nov 2003 19:39:54 +0000, John Poltorak wrote: >> > you need Berkeley DB 4.1 from Sleepycat to build bogofilter. >> > >> >> BerkeleyDB-4.1.25.zip was posted the other day. I have it in incoming at >> os2ports.com. > >Thanks. Just what I needed. > >A little different from mine. > >Any idea where it came from? That looks very much like mine. I see that it was just a minimal zip so I've uploaded another one, to http://kiwi.zolotek.net, with a readme, patch to the makefile, and the tools added. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- **= Email 3 ==========================** Date: Sat, 22 Nov 2003 10:13:38 +0000 From: John Poltorak Subject: Re: Building PINE On Sat, Nov 22, 2003 at 08:58:43PM +1100, Nicholas Sheppard wrote: > On Fri, 21 Nov 2003, John Poltorak wrote: > > > Is it relatively easy to build PINE on OS/2? > > From the original sources, no, but if you get the patches from my web site > you should be able to build it by > > gzip -dc pine4.58.tar.gz | tar xf - > cd pine4.58 > unzip pine4.58-os2.zip > build > > See http://www.zeta.org.au/~nps/software/pine/en/index.html for more > details. The "new port" (npine4.58-os2.zip) requires you to have a lot of > other packages installed but the old port isn't so demanding. I'm looking to use the new build and want to compile everything from the original source. Looking at the instructions here:- http://www.zeta.org.au/~nps/software/pine/lib/npine4.58-os2.txt it mentions syslog, but I can't find the original source for that. There seems to be a syslog included in Posix/2. I wonder if I can link against that... > Nicholas S. > > |\ Location: Wollongong, Australia | Sex without love is an empty experience, > |\ E-mail: nps at zeta.org.au | but, as empty experiences go, it's one of > | WWW: http://www.zeta.org.au/~nps | the best. > | ---> Cynicism & Negativity | > - Woody Allen -- John **= Email 4 ==========================** Date: Sat, 22 Nov 2003 13:00:11 +0100 (CET) From: Stefan Neis Subject: Re: Posix/2 header problem? On Fri, 21 Nov 2003, John Poltorak wrote: > In file included from u:\posix2\include\sys/syslog.h:36, > from u:\posix2\include\syslog.h:6, > from common.h:24, > from globals.h:10, > from globals.c:14: > paths.h:37: parse error before `which' (snipp) > Anyone see what's wrong here? A header file conflict, apparently. Posix/2's sys/syslog.h is expecting to include it's own , but apparently gets a different one from somewhere else (bogofilter?). However, is a standard header file at least in the BSD world, so I don't understand why this isn't a problem elsewhere... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 5 ==========================** Date: Sat, 22 Nov 2003 14:45:36 +0000 From: John Poltorak Subject: Re: Posix/2 header problem? On Sat, Nov 22, 2003 at 01:00:11PM +0100, Stefan Neis wrote: > On Fri, 21 Nov 2003, John Poltorak wrote: > > > In file included from u:\posix2\include\sys/syslog.h:36, > > from u:\posix2\include\syslog.h:6, > > from common.h:24, > > from globals.h:10, > > from globals.c:14: > > paths.h:37: parse error before `which' > (snipp) > > Anyone see what's wrong here? > > A header file conflict, apparently. Posix/2's sys/syslog.h is expecting to > include it's own , but apparently gets a different one from > somewhere else (bogofilter?). However, is a standard header file > at least in the BSD world, so I don't understand why this isn't a problem > elsewhere... Yes, you're right. There is a paths.h within bogofilter, but it is included by using:- #include "paths.h" Is this a problem with search paths? Where do "*.h" files expect to be found? Just the current directory? > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. > -- John **= Email 6 ==========================** Date: Sat, 22 Nov 2003 15:54:58 +0000 From: John Poltorak Subject: Autoconf error Anyone have any ideas about why I get this error in configure after running Autoconf v2.58:- checking for inet_ntop in -lresolv... no ./configure[8250]: syntax error: `newline' unexpected echo "$as_me:$LINENO: checking for long long" >&5 echo $ECHO_N "checking for long long... $ECHO_C" >&6 if test "${rsync_cv_HAVE_LONGLONG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else /* <=========[8250] */ if test "$cross_compiling" = yes; then rsync_cv_HAVE_LONGLONG=cross else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include main() { long long x = 1000000; x *= x; exit(((x/1000000) == 1000000)? 0: 1); } _ACEOF Is there any way I can discover which part of configure.in generates this? -- John **= Email 7 ==========================** Date: Sat, 22 Nov 2003 19:02:02 +0100 From: Thomas Hoffmann Subject: Executing multiple programs (in the background) I tried to execute multiple programs in the background using ksh. Although I can start the first program ("netscape &" or the like), an attempt to start a second program (either in foreground OR background!) fails: I get a SYS1059 "unknown error". The shell: PD KSH v5.2.14 99/07/13.2. (Other shells as bash or ash fail completely: they start already the first program in the foreground). Can anybody confirm this behavior and has any clues how to work around this? The similar "start" command in cmd.exe works without problems ... -- Thomas Hoffmann thoffman at zappa.sax.de Dresden, Germany .sig under construction ... **= Email 8 ==========================** Date: Sat, 22 Nov 2003 20:58:43 +1100 (AED) From: Nicholas Sheppard Subject: Re: Building PINE On Fri, 21 Nov 2003, John Poltorak wrote: > Is it relatively easy to build PINE on OS/2? From the original sources, no, but if you get the patches from my web site you should be able to build it by gzip -dc pine4.58.tar.gz | tar xf - cd pine4.58 unzip pine4.58-os2.zip build See http://www.zeta.org.au/~nps/software/pine/en/index.html for more details. The "new port" (npine4.58-os2.zip) requires you to have a lot of other packages installed but the old port isn't so demanding. Nicholas S. |\ Location: Wollongong, Australia | Sex without love is an empty experience, |\ E-mail: nps at zeta.org.au | but, as empty experiences go, it's one of | WWW: http://www.zeta.org.au/~nps | the best. | ---> Cynicism & Negativity | - Woody Allen **= Email 9 ==========================** Date: Sat, 22 Nov 2003 21:47:13 +1100 (AED) From: Nicholas Sheppard Subject: Re: Building PINE On Sat, 22 Nov 2003, John Poltorak wrote: > I'm looking to use the new build and want to compile everything from the > original source. Looking at the instructions here:- > > http://www.zeta.org.au/~nps/software/pine/lib/npine4.58-os2.txt > > it mentions syslog, but I can't find the original source for that. http://www.os2site.com/sw/util/system/syslog3a.zip works for me. > There seems to be a syslog included in Posix/2. I wonder if I can link > against that... Quite possibly but I've never tried. The syslog stuff in Pine is the same in OS/2 as it is in Unix. Nicholas S. |\ Location: Wollongong, Australia | Sex without love is an empty experience, |\ E-mail: nps at zeta.org.au | but, as empty experiences go, it's one of | WWW: http://www.zeta.org.au/~nps | the best. | ---> Cynicism & Negativity | - Woody Allen