From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 23 Dec 2002 04:44:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 407 ************************************************** Sunday 22 December 2002 Number 407 ************************************************** Subjects for today 1 Re: Relaying denied : Ted Sikora 2 Re: Mail : Ted Sikora 3 Re: ***Mail Problems*** : Maynard" 4 Re: Mail : IanM" 5 Re: ***Mail Problems*** : Ted Sikora 6 Re: Autoconf for beginners : John Poltorak 7 Automake : John Poltorak 8 Re: Automake : John Poltorak 9 Re: compiling environment : John Poltorak 10 Re: compiling environment : Andreas Buening 11 Relaying denied : John Poltorak 12 Re: compiling environment : Andreas Buening 13 Re: Posix/2 v. EMX includes : Andreas Buening 14 Variable substitution is shell script : John Poltorak 15 Re: Variable substitution is shell script : Stefan Neis **= Email 1 ==========================** Date: Mon, 23 Dec 2002 08:54:44 -0500 From: Ted Sikora Subject: Re: Relaying denied John Poltorak wrote: > It looks like a number of people tried to send msgs to this list but got a > relaying denied error. > > Could you re-send those msgs please? > > -- -- Ted Sikora tsikora at ntplx.net **= Email 2 ==========================** Date: Mon, 23 Dec 2002 08:55:21 -0500 From: Ted Sikora Subject: Re: Mail Relay Test!!! Ted Sikora wrote: > Is it working yet? > -- > Ted Sikora > tsikora at ntplx.net > -- -- Ted Sikora tsikora at ntplx.net **= Email 3 ==========================** Date: Mon, 23 Dec 2002 09:04:19 -0600 (CST) From: "Maynard" Subject: Re: ***Mail Problems*** On Sun, 22 Dec 2002 21:47:24 +0000, John Poltorak wrote: >Can anyone who hasn't posted anything in the last couple of days reply to >this? Hi; I'm still watching ;-} Merry Christmas, -- Maynard **= Email 4 ==========================** Date: Mon, 23 Dec 2002 09:33:31 +1100 (EDT) From: "IanM" Subject: Re: Mail Hi John What email address do we use to contact you personally ? ... while talking to mail.manninghammills.org.: >>> RCPT To: <<< 550 ... relaying denied on 213.152.37.93 550 5.1.1 ... User unknown I've also sent you a few emails I suspect have gone walk about as well. If you can get your Domain Manager to re-redelegate, ns1 and ns2.comkal.net are still setup properly, I also suspect there will be a queue of email for you on your "old" secondary MX. I'm not in Melbourne at present so I'm only checking email every other day. Anyway, have a great Christmas everyone. Cheers IanM http://www.os2site.com/ Of COURSE I'm on topic. (Which echo is this?) **= Email 5 ==========================** Date: Mon, 23 Dec 2002 10:29:06 -0500 From: Ted Sikora Subject: Re: ***Mail Problems*** I got it! Maynard wrote: > On Sun, 22 Dec 2002 21:47:24 +0000, John Poltorak wrote: > > >>Can anyone who hasn't posted anything in the last couple of days reply to >>this? > > > Hi; I'm still watching ;-} > > Merry Christmas, > > -- Maynard > > > > -- -- Ted Sikora tsikora at ntplx.net **= Email 6 ==========================** Date: Mon, 23 Dec 2002 10:44:17 +0000 From: John Poltorak Subject: Re: Autoconf for beginners On Sun, Dec 22, 2002 at 03:05:52PM +0100, Adrian Gschwend wrote: > On Sun, 28 Jul 2002 10:56:38 +0100, John Poltorak wrote: > > Hi John, > > >I've always been a big fan of the wonders of autoconf+friends without > >having any real understanding of how it worked, so I thought I would try > >to build a configure script via autoconf from scratch for building > >regex.lib. > > I'm catching up with reading emails :-))) Very long delay I know... > > I just want to point you to a book about the topic, it's available in > print but also for free: > > http://sources.redhat.com/autobook/index.html Yes, I've been aware of the book for some time and would have bought it, but AFAIK it is based on Autoconf v2.13 and there have been significant changes introduced when v2.50 was released. Maybe I'll get the second edition if it gets released. Having said that, the book is downloadable, so I may delve into it... > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org > -- John **= Email 7 ==========================** Date: Mon, 23 Dec 2002 11:22:17 +0000 From: John Poltorak Subject: Automake There is an OS/2 version of Automake v1.6.2 which includes a couple patches for the original code, and I was wondering whether I should try to apply these patches to the latest release (v1.7.2), but notice one of the subdirectories no longer exists. Is this particular patch now redundant? The other patch is mentioned in the Changelog as having been added, but I don't see. Can anyone else see it, or has it been taken out subsequently? -- John **= Email 8 ==========================** Date: Mon, 23 Dec 2002 11:34:51 +0000 From: John Poltorak Subject: Re: Automake On Mon, Dec 23, 2002 at 11:22:17AM +0000, John Poltorak wrote: > > The other patch is mentioned in the Changelog as having been added, but I > don't see. Can anyone else see it, or has it been taken out subsequently? Having looked again, it looks as though the patch was modified with the resultant change in Automake being to substitute $(LN) for ln. Does this mean that $LN needs to be set on OS/2 or does Automake itself (or something else) take care of it? Also does this mean that Automake v1.7.2 now functions correctly on OS/2 without needing any patches at all? -- John **= Email 9 ==========================** Date: Mon, 23 Dec 2002 11:49:44 +0000 From: John Poltorak Subject: Re: compiling environment On Sun, Dec 22, 2002 at 02:57:37PM +0100, Adrian Gschwend wrote: > Hi all, > > I finished my diploma work one week ago, together with a friend I wrote > an application on Debian GNU/Linux systems for distributed computing. > > Now it's time to try to compile it on OS/2 so I need to set up the > build environment here. My OS/2 Build System is an attempt to put together a standard build environment. I'm hoping a few people may be able to give me some feedback as to how well it works. > On my Linux box I use the following stuff: > > - autoconf 2.56 > - automake 1.4 p6 > - libtool 1.4.3 > - make 3.8 > - autoheader 2.56 (is that part of autoconf?) > - GCC 2.95 > > I saw that John compiled make 3.8 on OS/2, is there already a UnixOS2 > package available for that one? I couldn't find it on os2ports.com so > far. I only got as far as building it. I don't think it is ready for general use yet. > GCC is available but I don't know if this is FHS compilant? I want to > avoid to have a mixture in my structure so I prefer clean ports. I think GCC will take some time to knock into shape. > Autoconf 2.57 seems to be available but I missed the part where to get > it :-) ftp.gnu.org :-).... > Automake exists as p5, could that lead to problems? I think Automake v1.7.2 may be fully functional on OS/2 without requiring any patches, but would like Andreas to confirm that. > cu & thanks for the hints > > Adrian > > > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John **= Email 10 ==========================** Date: Mon, 23 Dec 2002 13:01:57 +0100 From: Andreas Buening Subject: Re: compiling environment Hello! Two of my postings seem to have vanished. ;-) Adrian Gschwend wrote: > > Hi all, > > I finished my diploma work one week ago, together with a friend I wrote Congratulations! > an application on Debian GNU/Linux systems for distributed computing. > > Now it's time to try to compile it on OS/2 so I need to set up the > build environment here. On my Linux box I use the following stuff: > > - autoconf 2.56 Try http://unix.os2site.com/sw/pub/source/autoconf-2_57.zip > - automake 1.4 p6 Try http://unix.os2site.com/sw/pub/source/automake-1_7_2.zip > - libtool 1.4.3 I have a patched libtool 1.4.2 here on my hard disk. The basic features seem to work 100%. I still have to merge it with 1.4.3 before I want to release it. This is a rather nasty and time consuming job because libtool is so unbelievable slow. Expect it (hopefully) in january. > - make 3.8 See below. > - autoheader 2.56 (is that part of autoconf?) Yes. > - GCC 2.95 There is only pgcc 2.95 which you have to install by hand. > I saw that John compiled make 3.8 on OS/2, is there already a UnixOS2 > package available for that one? I couldn't find it on os2ports.com so > far. Not yet. As John said it seems to work out of the box. However, I plan to apply some small changes but this won't happen this year anymore. ;-) Yesterday I uploaded sed 4.0.5 which has now NLS support. More important, all internal tests passed successfully. You can try http://unix.os2site.com/sw/pub/binary/sed-4_0_5-bin.zip. Maybe I can finish grep 2.5 today but after this the only thing I'm going to fix this year is a Christmas tree. :-) [snip] Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. **= Email 11 ==========================** Date: Mon, 23 Dec 2002 13:11:26 +0000 From: John Poltorak Subject: Relaying denied It looks like a number of people tried to send msgs to this list but got a relaying denied error. Could you re-send those msgs please? -- John **= Email 12 ==========================** Date: Mon, 23 Dec 2002 14:26:52 +0100 From: Andreas Buening Subject: Re: compiling environment **= Email 13 ==========================** Date: Mon, 23 Dec 2002 14:26:57 +0100 From: Andreas Buening Subject: Re: Posix/2 v. EMX includes **= Email 14 ==========================** Date: Mon, 23 Dec 2002 17:16:01 +0000 From: John Poltorak Subject: Variable substitution is shell script I having a hard time trying to get variable substitution working in a shell script, and would appreciate some expert help here. The problem is likely to be due to the embedded quotes marks in the variable I'm trying to use. The problem amounts to this. I have a shell script which works fine for building FLEX where the Make line consists of:- make CFLAGS="-O2" LDFLAGS="-s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files -Zexe" What I want to be able to do is extract the arguments being passed to make, from an external file, but I can't get the format correct I normally use the following process to extract various parameter from a parameter file, thus:- grep ^$PKG build.table > tmp IFS=';' read p1 ARCHIVE LOC CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC < tmp echo ARCHIVE LOC CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC echo $ARCHIVE $LOC $CFLAGS $LDFLAGS $CFGPARMS $MAKEPARM $SRC and at the end I can run:- make "$MAKEPARM" This is how the line is built up:- alias;archive;loc;cflags;ldflags;cfgparms;makeparms;src; and I would like to put this string into the makeparms section:- CFLAGS="-O2" LDFLAGS="-s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files -Zexe" Unfortunately the quotes get messed up and I get this error:- make CFLAGS="-O2" LDFLAGS="-s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files -Zexe" build.sh[134]: test: LDFLAGS="-s: unexpected operator/operand It looks as though I need to introduce an escape character or something but I can't figure it out myself... -- John **= Email 15 ==========================** Date: Mon, 23 Dec 2002 20:46:08 +0100 (CET) From: Stefan Neis Subject: Re: Variable substitution is shell script On Mon, 23 Dec 2002, John Poltorak wrote: > make CFLAGS="-O2" LDFLAGS="-s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files -Zexe" > build.sh[134]: test: LDFLAGS="-s: unexpected operator/operand Looks like something is splitting arguments at spaces, independently of quotatation. Maybe, if you could get the upper line to read make CFLAGS="-O2" LDFLAGS="-s\ -Zmt\ -Zcrtdll\ -Zsysv-signals\ -Zbin-files\ -Zexe" that might work better. Just guessing... Regards, Stefan P.S.: Merry christmas, everybody.