From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 28 Feb 2003 04:54:10 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 58 ************************************************** Thursday 27 February 2003 Number 58 ************************************************** Subjects for today 1 Re: u:/bin/sh: ../u:/unixos2/bin/install.exe: not found : Andreas Buening 2 Re: TFTPD : Mikkel C. Simonsen" 3 Re: TFTPD : Ken Ames 4 Re: IMAPD : Nicholas Sheppard 5 Re: TFTPD : John Poltorak 6 Re: TFTPD : Ken Ames 7 Re: IMAPD : John Poltorak 8 Re: IMAPD : email at eracc.hypermart.net (ERACC Lists) 9 INFO dir : John Poltorak 10 Re: u:/bin/sh: ../u:/unixos2/bin/install.exe: not found : John Poltorak 11 Re: SpamAssassin : Steve Wendt 12 Re: TFTPD : John Poltorak 13 Re: TFTPD : John Poltorak 14 SpamAssassin : John Poltorak 15 Re: INFO dir : Andreas Buening **= Email 1 ==========================** Date: Fri, 28 Feb 2003 00:44:10 +0100 From: Andreas Buening Subject: Re: u:/bin/sh: ../u:/unixos2/bin/install.exe: not found John Poltorak wrote: [nasty bug] > Is this it:- ? > > # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. > > # Remove last slash and all that follows it. Not all systems have dirname. > ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` > if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then > # The file is in a subdirectory. > test ! -d "$ac_dir" && mkdir "$ac_dir" > ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" > # A "../" for each directory in $ac_dir_suffix. > ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` > else > ac_dir_suffix= ac_dots= > fi > > case "$ac_given_INSTALL" in > [/$]*) INSTALL="$ac_given_INSTALL" ;; > *) INSTALL="$ac_dots$ac_given_INSTALL" ;; > esac > > > and add a case for "?:*" which doesn't change install either ... e.g. like this: - [/$]*) INSTALL="$ac_given_INSTALL" ;; + [/$]* | ?:*) INSTALL="$ac_given_INSTALL" ;; This doesn't seem to be part of autoconf/automake (at least not of the current versions). Can you do a 'grep -r ac_given_INSTALL' for recode directory? If it's only in configure you just need to recreate it. > Hmm... I'm not very comfotyable with these weird shell script > constructs... I guess, you haven't ever seen really _weird_ shell constructs. ;-) [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 2 ==========================** Date: Fri, 28 Feb 2003 01:33:58 +0100 From: "Mikkel C. Simonsen" Subject: Re: TFTPD John Poltorak wrote: > > I'm trying to boot Linux remotely using something called PXELINUX and I > need a TFTP server which supports 'tsize'. > > Apparently IBM's program doesn't. It doesn't. > There is some ported app on Hobbes which claims it does support the > required option, but the only docs are the source code and I have no idea > how it is supposed to work... It doesn't seem to transfer the requested > file, but I can't tell whether the program is broken or if I just haven't > started it properly... Just run tftpd -l and it should tell you what happens. One problem I have had is that the client will request something like /path/filename which won't work - you have to use a filename with no path, and start tftpd in the directory where the files are located. If I specified just a filename as the bf option using the bootpd from Hobbes, the bootp server would still tell the client to get ./filename which doesn't work. I patched the bootp server to pass the filename string without modifications, and then the boot process worked - with some clients... I have some old Boca "thin clients" that work fine. A Mini-ITX board with the original BIOS won't work - it may work with a later BIOS. The same board boots very fast from a FreeBSD server on a 10Mb network and very slowly from a Linux server on a 100Mb network... Best regards, Mikkel C. Simonsen **= Email 3 ==========================** Date: Fri, 28 Feb 2003 07:56:33 -0800 From: Ken Ames Subject: Re: TFTPD hi John, I have been looking but have not found one. Maybe you could get the sources and compile it after addng the tsize support to it. have you looked at www.bootix.com? they have a tftpd.exe available but I think not for os2 anymore. they do have the sources available for it tho. Ken John Poltorak wrote: >I'm trying to boot Linux remotely using something called PXELINUX and I >need a TFTP server which supports 'tsize'. > >Apparently IBM's program doesn't. > >There is some ported app on Hobbes which claims it does support the >required option, but the only docs are the source code and I have no idea >how it is supposed to work... It doesn't seem to transfer the requested >file, but I can't tell whether the program is broken or if I just haven't >started it properly... > > >Is anyone familiar with TFTPD and the 'tsize' option? > >TFTP-HPA has been recommended as a suitable server. I'm wondering if there >is any chance of being able to build it on OS/2... > > > > **= Email 4 ==========================** Date: Fri, 28 Feb 2003 09:11:57 +1100 (EST) From: Nicholas Sheppard Subject: Re: IMAPD On Thu, 27 Feb 2003, John Poltorak wrote: > Has anyone set up the IMAP server which comes with the latest release of > Pine? I did some basic testing of it by setting it up the same way as for the POP3 server. As best I can remember, if you've already got the POP3 server set up, then all you need to do is run imapd instead of ipop3d. But I haven't tested it much beyond simple mail reading; getting things like remote addressbooks working may or may not be so easy. Nicholas S. **= Email 5 ==========================** Date: Fri, 28 Feb 2003 09:20:49 +0000 From: John Poltorak Subject: Re: TFTPD On Fri, Feb 28, 2003 at 01:33:58AM +0100, Mikkel C. Simonsen wrote: > John Poltorak wrote: > > > > I'm trying to boot Linux remotely using something called PXELINUX and I > > need a TFTP server which supports 'tsize'. > > > > Apparently IBM's program doesn't. > > It doesn't. > > > There is some ported app on Hobbes which claims it does support the > > required option, but the only docs are the source code and I have no idea > > how it is supposed to work... It doesn't seem to transfer the requested > > file, but I can't tell whether the program is broken or if I just haven't > > started it properly... > > Just run tftpd -l and it should tell you what happens. There is no such option on the TFTPD from Hobbes. When it is running it out the name of the file requested, ie.:- Download file : pxelinux.0 but there is no indication about the file being available of being successfully transferred. In fact it doesn't get transferred and I have no idea why. It's in the current directory. > One problem I > have had is that the client will request something like /path/filename > which won't work - you have to use a filename with no path, and start > tftpd in the directory where the files are located. Is this the same TFTPD? It doesn't work here at all. IBM's TFTPD will at least transfer pxelinux.0 before the client outputs an error msg about tsize. > Best regards, > > Mikkel C. Simonsen -- John **= Email 6 ==========================** Date: Fri, 28 Feb 2003 09:29:11 -0800 From: Ken Ames Subject: Re: TFTPD hi John, why doesn't it work? be a little more specific please. I have seen at least 6 different failure types in tftpd servers now. Ken PS: if you join #unixos2 on irc.anduin.net we could work on this in real time. that is the great thing about irc. John Poltorak wrote: >On Fri, Feb 28, 2003 at 07:56:33AM -0800, Ken Ames wrote: > > >>hi John, >> I have been looking but have not found one. >> >> > >On the face of it this one should be exactly the one I want:- > >http://hobbes.nmsu.edu/pub/os2/apps/internet/tftpd.zip > >It specifically mentions support for the 'tsize' option and says it can be >used to boot PXELINUX. Even comes with source... > >Only trouble is it doesn't work! > > > > > >>Maybe you could get the >>sources and compile it after addng the tsize support to it. >>have you looked at www.bootix.com? they have a tftpd.exe available but I >>think not for os2 anymore. they do have the sources available for it tho. >> >>Ken >> >> >>John Poltorak wrote: >> >> >> >>>I'm trying to boot Linux remotely using something called PXELINUX and I >>>need a TFTP server which supports 'tsize'. >>> >>>Apparently IBM's program doesn't. >>> >>>There is some ported app on Hobbes which claims it does support the >>>required option, but the only docs are the source code and I have no idea >>>how it is supposed to work... It doesn't seem to transfer the requested >>>file, but I can't tell whether the program is broken or if I just haven't >>>started it properly... >>> >>> >>>Is anyone familiar with TFTPD and the 'tsize' option? >>> >>>TFTP-HPA has been recommended as a suitable server. I'm wondering if there >>>is any chance of being able to build it on OS/2... >>> >>> >>> >>> >>> >>> > > > > **= Email 7 ==========================** Date: Fri, 28 Feb 2003 09:58:41 +0000 From: John Poltorak Subject: Re: IMAPD On Fri, Feb 28, 2003 at 09:11:57AM +1100, Nicholas Sheppard wrote: > On Thu, 27 Feb 2003, John Poltorak wrote: > > > Has anyone set up the IMAP server which comes with the latest release of > > Pine? > > I did some basic testing of it by setting it up the same way as for the > POP3 server. As best I can remember, if you've already got the POP3 > server set up, then all you need to do is run imapd instead of ipop3d. > But I haven't tested it much beyond simple mail reading; getting things > like remote addressbooks working may or may not be so easy. What I'm not clear about is how it interfaces with sendmail... I know what the local mail delivery agent needs to do to transfer mail from sendmail incoming directory into a users pop mailbox, but I don't know what needs to be done when running IMAPD. Is there a simple overview of how IMAP works anywhere? > Nicholas S. -- John **= Email 8 ==========================** Date: Fri, 28 Feb 2003 10:55:03 -0600 From: email at eracc.hypermart.net (ERACC Lists) Subject: Re: IMAPD In: <20030228095841.F83 at manninghammills.org> On: Fri, 28 Feb 2003 09:58:41 +0000 Screaming: Re: IMAPD John Poltorak did rant: +On Fri, Feb 28, 2003 at 09:11:57AM +1100, Nicholas Sheppard wrote: > On +Thu, 27 Feb 2003, John Poltorak wrote: +> +> > Has anyone set up the IMAP server which comes with the latest release of +> > Pine? [...] +I know what the local mail delivery agent needs to do to transfer mail +from sendmail incoming directory into a users pop mailbox, but I don't +know what needs to be done when running IMAPD. +Is there a simple overview of how IMAP works anywhere? I'm not sure if this will help you since it is for Linux but perhaps a read through will help you understand more about IMAP: http://www.linuxworld.com/site-stories/2002/0318.ldap1.html There are at least four parts, on different dates, to this article. I found this by searching Google using "how to set up IMAP" including the quotes. Various searches using IMAP in the search should get you pretty much all you need to get a basic understanding of IMAP. If you are like me you will only truly understand it once you get "hands on" experience setting it up. Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # eCS,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: 41 Processes, 161 Threads, uptime is 4d 19h 19m 27s 56ms **= Email 9 ==========================** Date: Fri, 28 Feb 2003 11:01:10 +0000 From: John Poltorak Subject: INFO dir Under FHS what would be the correct location for GNU Info files? I's like to put them in /usr/share/info but there doesn't seem to be any way of getting configure to set this location up. Everything always gets dumped into /usr/info. Is there anything which can be done to override this location? -- John **= Email 10 ==========================** Date: Fri, 28 Feb 2003 12:54:09 +0000 From: John Poltorak Subject: Re: u:/bin/sh: ../u:/unixos2/bin/install.exe: not found On Fri, Feb 28, 2003 at 12:44:10AM +0100, Andreas Buening wrote: > John Poltorak wrote: > > [nasty bug] > > > Is this it:- ? > > > > # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. > > > > # Remove last slash and all that follows it. Not all systems have dirname. > > ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` > > if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then > > # The file is in a subdirectory. > > test ! -d "$ac_dir" && mkdir "$ac_dir" > > ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" > > # A "../" for each directory in $ac_dir_suffix. > > ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` > > else > > ac_dir_suffix= ac_dots= > > fi > > > > case "$ac_given_INSTALL" in > > [/$]*) INSTALL="$ac_given_INSTALL" ;; > > *) INSTALL="$ac_dots$ac_given_INSTALL" ;; > > esac > > > > > and add a case for "?:*" which doesn't change install either ... > > e.g. like this: > > - [/$]*) INSTALL="$ac_given_INSTALL" ;; > + [/$]* | ?:*) INSTALL="$ac_given_INSTALL" ;; > > This doesn't seem to be part of autoconf/automake (at least > not of the current versions). Can you do a 'grep -r ac_given_INSTALL' > for recode directory? Besides configure, it also appears in a file called PATCHES-AC. > If it's only in configure you just need > to recreate it. When I run Autoconf (v2.57) it produces a configure which doesn't work:- u:/unixos2/workdir/recode-3.6 Using:- autoconf (GNU Autoconf) 2.57 (release for OS/2) configure.in:21: warning: AC_PROG_LEX invoked multiple times configure.in:37: warning: AC_CANONICAL_HOST invoked multiple times configure.in:35: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS' If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. ./configure --without-included-gettext configure: loading site script u:/unixos2/lib/config.site configure: creating cache /dev/null checking for a BSD-compatible install... u:/unixos2/bin/install.exe ... ... checking for ranlib... echo checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... no checking for BSD-compatible nm... u:/unixos2/emx/bin/nm -B checking whether ln -s works... no, using ln not updating unwritable cache /dev/null ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed > > > > Hmm... I'm not very comfotyable with these weird shell script > > constructs... > > I guess, you haven't ever seen really _weird_ shell constructs. ;-) I wouldn't recognise the difference between weird and 'really _weird_' :-) > [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. -- John **= Email 11 ==========================** Date: Fri, 28 Feb 2003 13:16:10 -0800 (PST) From: Steve Wendt Subject: Re: SpamAssassin On Fri, 28 Feb 2003, John Poltorak wrote: > Anyone heard of SpamAssassin? > It appears to be written in Perl, so I guess it ought to run on OS/2... > Anyone tried running it? Version 2.5 works great on Linux - dunno about running it on OS/2. **= Email 12 ==========================** Date: Fri, 28 Feb 2003 16:42:16 +0000 From: John Poltorak Subject: Re: TFTPD On Fri, Feb 28, 2003 at 07:56:33AM -0800, Ken Ames wrote: > hi John, > I have been looking but have not found one. On the face of it this one should be exactly the one I want:- http://hobbes.nmsu.edu/pub/os2/apps/internet/tftpd.zip It specifically mentions support for the 'tsize' option and says it can be used to boot PXELINUX. Even comes with source... Only trouble is it doesn't work! > Maybe you could get the > sources and compile it after addng the tsize support to it. > have you looked at www.bootix.com? they have a tftpd.exe available but I > think not for os2 anymore. they do have the sources available for it tho. > > Ken > > > John Poltorak wrote: > > >I'm trying to boot Linux remotely using something called PXELINUX and I > >need a TFTP server which supports 'tsize'. > > > >Apparently IBM's program doesn't. > > > >There is some ported app on Hobbes which claims it does support the > >required option, but the only docs are the source code and I have no idea > >how it is supposed to work... It doesn't seem to transfer the requested > >file, but I can't tell whether the program is broken or if I just haven't > >started it properly... > > > > > >Is anyone familiar with TFTPD and the 'tsize' option? > > > >TFTP-HPA has been recommended as a suitable server. I'm wondering if there > >is any chance of being able to build it on OS/2... > > > > > > > > > -- John **= Email 13 ==========================** Date: Fri, 28 Feb 2003 17:48:56 +0000 From: John Poltorak Subject: Re: TFTPD On Fri, Feb 28, 2003 at 09:29:11AM -0800, Ken Ames wrote: > hi John, > why doesn't it work? Beats me... > be a little more specific please. Well, you know what FT in TFTP stands for? It doesn't. This what happens when I run a copy of Serge Sterck latest program:- [C:\]tftpd c:/tftproot/ -v ********************************************** * IBM TCP/IP for OS/2 * * Advanced TFTP Server (TFTPD) * * Support blksize,tsize options * * Version: Feb 28 2003 17:39:40 * * (C) Copyright Serge Sterck 2002 * ********************************************** << 192.168.0.21 :Read pxelinux.0 Download file : pxelinux.0 >> 0.0.0.0 :Data block :1 << 192.168.0.21 :Read pxelinux.0 Download file : pxelinux.0 >> 0.0.0.0 :Data block :1 << 192.168.0.21 :Read pxelinux.0 Download file : pxelinux.0 >> 0.0.0.0 :Data block :1 << 192.168.0.21 :Read pxelinux.0 No transfer takes place at all. These are three failed request for the same file. The IBM TFTP server works fine:- [C:\tftproot]tftpd -l IBM TCP/IP for OS/2 - TFTP Server ver 10:42:53 on Aug 16 2000 ready. Authorization verification process is turned off... Timeout value = 10 seconds (-1 = no timeout) Maximum block size = 8192 bytes. Maximum number of threads : 100 Invalid entry - c:\tftp in tftpacc.ctl file, this line is ignored No valid entries in tftpacc.ctl file Default directory: C:\tftproot Feb 28, 17:20 - sending pxelinux.0 in C:\tftproot directory to 192.168.0.21 Feb 28, 17:20 - sending pxelinux.cfg/C0A80015 in C:\tftproot directory to 192.168.0.21 > I have seen at > least 6 different failure types in tftpd servers now. > > Ken > > PS: if you join #unixos2 on irc.anduin.net we could work on this in real > time. that is the great thing about irc. I had a look a while back and didn't see anything happening... Besides, I find email a much better way of collaborating on solving problems. -- John **= Email 14 ==========================** Date: Fri, 28 Feb 2003 20:08:33 +0000 From: John Poltorak Subject: SpamAssassin Anyone heard of SpamAssassin? It appears to be written in Perl, so I guess it ought to run on OS/2... Anyone tried running it? -- John **= Email 15 ==========================** Date: Fri, 28 Feb 2003 22:27:35 +0100 From: Andreas Buening Subject: Re: INFO dir John Poltorak wrote: > > Under FHS what would be the correct location for GNU Info files? > > I's like to put them in /usr/share/info but there doesn't seem to be any > way of getting configure to set this location up. Everything always gets > dumped into /usr/info. > > Is there anything which can be done to override this location? ./configure --infodir=/share/usr/info or if you don't want to reconfigure make install infodir=/share/usr/info 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.