From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sun, 3 Mar 2002 04:18:49 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 152 ************************************************** Saturday 02 March 2002 Number 152 ************************************************** Subjects for today 1 Re: Bzip2 v1.0.2 : Stepan Kazakov 2 Re: Bzip2 v1.0.2 : John Poltorak 3 Freesco : John Poltorak 4 Re: Bzip2 v1.0.2 : Brian Havard" 5 Re: Gnat 3.14p OS/2 binaries available : Kees de LezenneCoulander 6 Re: Bzip2 v1.0.2 : Stepan Kazakov 7 Re: Autoconf 2.52h : John Poltorak 8 Re: Bzip2 v1.0.2 : John Poltorak 9 Re: Autoconf 2.52h : Andreas Buening 10 Re: Freesco : John Poltorak 11 Re: Autoconf 2.52h : Dave and Natalie" 12 Re: Freesco : Keri Alleyne" 13 Re: Freesco : Keri Alleyne" 14 Re: Freesco : Keri Alleyne" 15 Re: Freesco : Stepan Kazakov 16 Re: Freesco : Stefan Neis 17 Re: Autoconf 2.52h : Stefan Neis 18 Re: Freesco : glhudso at attglobal.net **= Email 1 ==========================** Date: Sun, 03 Mar 2002 00:25:10 -0500 From: Stepan Kazakov Subject: Re: Bzip2 v1.0.2 John Poltorak wrote: > > > There is port of the latest Bzip2 here:- > > > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > > > Unfortunately no docs, no diff. > > > I've never come across this porter before, but he has a homepage here:- > > > http://www.vsu.ru/~vy/ > > > but you need to understand Russian to be able to read it. > > he he he :) > > unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, > > etc etc etc .... :) > > he using only VAC & Java. > > and this bzip2 port writeln on VAC.. > If you know him, will you be able to get a diff file from him? > BZIP2 is supposed to be fairly platform neutral anyway so may build quite > easily using gcc on OS/2... ok. -- madded. [Red Hot Chili Hackers] **= Email 2 ==========================** Date: Sun, 3 Mar 2002 08:56:14 +0000 From: John Poltorak Subject: Re: Bzip2 v1.0.2 On Sun, Mar 03, 2002 at 01:34:06PM +1000, Brian Havard wrote: > On Sat, 2 Mar 2002 19:32:15 +0000, John Poltorak wrote: > >BZIP2 is supposed to be fairly platform neutral anyway so may build quite > >easily using gcc on OS/2... > > It is. I did so a few weeks ago just for my own use. I could package it up > or post the diff if anyone's interested but I didn't want to add Yet > Another Port. There only is one port of v1.0.2 and that doesn't come with any docs or patches so can't be rebuilt by anyone, and may not even build with gcc, so it would be useful to get hold of your port + patches, either by providing a link to it or uploading it to somewhere like unixos2.com. > -- > ______________________________________________________________________________ > | Brian Havard | "He is not the messiah! | > | brianh at kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | > ------------------------------------------------------------------------------ > -- John **= Email 3 ==========================** Date: Sun, 3 Mar 2002 12:00:31 +0000 From: John Poltorak Subject: Freesco FREESCO is Free software for routers, designed as a substute for Cisco software. It provides all the software you need for a router on a single floppy. You can get more details from:- http://www.freesco.org/ Does it provide anything we don't already have in MPTS? Would it be possible to port it to OS/2? -- John **= Email 4 ==========================** Date: Sun, 03 Mar 2002 13:34:06 +1000 (EST) From: "Brian Havard" Subject: Re: Bzip2 v1.0.2 On Sat, 2 Mar 2002 19:32:15 +0000, John Poltorak wrote: >On Sat, Mar 02, 2002 at 03:12:00PM -0500, Stepan Kazakov wrote: >> John Poltorak wrote: >> >> > There is port of the latest Bzip2 here:- >> > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip >> > Unfortunately no docs, no diff. >> > I've never come across this porter before, but he has a homepage here:- >> > http://www.vsu.ru/~vy/ >> > but you need to understand Russian to be able to read it. >> >> he he he :) >> unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, >> etc etc etc .... :) >> he using only VAC & Java. >> and this bzip2 port writeln on VAC.. > >If you know him, will you be able to get a diff file from him? > >BZIP2 is supposed to be fairly platform neutral anyway so may build quite >easily using gcc on OS/2... It is. I did so a few weeks ago just for my own use. I could package it up or post the diff if anyone's interested but I didn't want to add Yet Another Port. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh at kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------ **= Email 5 ==========================** Date: Sun, 3 Mar 2002 13:40:34 -0500 From: Kees de LezenneCoulander Subject: Re: Gnat 3.14p OS/2 binaries available DWParsons at t-online.de (Dave Parsons) wrote: >I've never tried to run anything from Gnat in a DOS box. >However, can you send me, by direct email, an example program >which works with earlier versions, (I have 3.10p) but not with >the later versions and I will investigate it for the OS/2 DOS >box. I don't have rsx. >Can you also include the full error messages you are getting, >the instructions you used to build the executables, ie >makefiles, cmd scripts whatever and any other information which >you think might be helpful including OS and EMX/gcc versions. Thank you for your offer. Expect everything you need on Monday. Kees de Lezenne Coulander -- C.M. de Lezenne Coulander Aircraft Development and Systems Engineering B.V. Hoofddorp, The Netherlands **= Email 6 ==========================** Date: Sun, 03 Mar 2002 14:24:33 -0500 From: Stepan Kazakov Subject: Re: Bzip2 v1.0.2 John Poltorak wrote: > There only is one port of v1.0.2 and that doesn't come with any docs or > patches so can't be rebuilt by anyone, and may not even build with gcc, so > it would be useful to get hold of your port + patches, either by providing > a link to it or uploading it to somewhere like unixos2.com. yes, VY answered - no. he don't want to help unixos2 ppls. so, ask Brian.. -- madded. [Red Hot Chili Hackers] **= Email 7 ==========================** Date: Sun, 3 Mar 2002 15:14:42 +0000 From: John Poltorak Subject: Re: Autoconf 2.52h On Sun, Mar 03, 2002 at 03:24:37PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > [snip] > > > I've just zipped up my build of 5.6.0, so you can try that if you want:- > > Is there a reason why you put perl into c:/usr/perl instead > of c:/usr? I thought I put it in c:/usr/lib/perl, which is where I thought it should go... > Thanks, but it didn't solve the problem. > However, finally I was able to find out the problems: > > I) compiling perl 5.6.1 > > a) I dared to use a env. var. $CONFIG for my own stuff - > bad idea. Please add "unset CONFIG" to your build script > b) ./Configure uses hardcoded paths like /usr/bin/cat, > appearently only ksh can handle this => /bin/sh > MUST be ksh. > c) Strange things happen if the first sh.exe in your PATH > isn't ksh, so you'd better use ksh for the first sh.exe > in your PATH. > d) You MUST NOT use bash as your interactive shell when you > want to compile perl because there seems to be some > kind of '/' to '\\' (!!!) transformation for some file names. > You can configure with bash but make will fail with something > like "link386: library ..../libperl.lib not found". > cmd ist fine (*sigh*). Establishing the correct SHELL environmeent is still fairly haphazard when build apps on OS/2. > e) rename INSTALL to INSTALL.txt, then "make install" will work. Yes, I'm aware of this, but is it possible for Make to be able to ignore INSTALL as a target? > f) notes: you need a /emx/lib/db.lib that works with -Zmt This has been mentioned previously. I wonder why the the db.lib supplied with EMX is not built this way... Does anyone know which file needs to be changed when building emx\lib so that it automatically gets built with this option? > Finally I got 12 failed test of 252. It is possible to get down to two fails AFAIK. > > II) getting autoconf 2.52h installed > > a) I had some trouble with different shells, but > finally it works (even with ksh and ash). I have problems using anything but BASH. PDKSH has problems accepting an OS/2 path such as c:\usr\bin because '\b' is treated as an escape character, and there doesn't seem any way round this. > b) Have a nice day! > > > 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 Redmond where the Shadows lie. -- John **= Email 8 ==========================** Date: Sun, 3 Mar 2002 15:17:15 +0000 From: John Poltorak Subject: Re: Bzip2 v1.0.2 On Mon, Mar 04, 2002 at 01:41:40AM +1000, Brian Havard wrote: > On Sun, 3 Mar 2002 08:56:14 +0000, John Poltorak wrote: > > >There only is one port of v1.0.2 and that doesn't come with any docs or > >patches so can't be rebuilt by anyone, and may not even build with gcc, so > >it would be useful to get hold of your port + patches, either by providing > >a link to it or uploading it to somewhere like unixos2.com. > > Ok, I've zipped it up as > http://silk.apana.org.au/pub/unixos2/bzip2-1.0.2-os2.zip > > I've made it an EXE/DLL pair so that other applications that need the > BZip2 library can share the code. An import library is included to assist > building such applications. Excellent! The patch looks fairly small. Wonder if the BZIP2 developer would be prepared to incorporate it into the standard build... > -- > ______________________________________________________________________________ > | Brian Havard | "He is not the messiah! | > | brianh at kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | > ------------------------------------------------------------------------------ > -- John **= Email 9 ==========================** Date: Sun, 03 Mar 2002 15:24:37 +0100 From: Andreas Buening Subject: Re: Autoconf 2.52h John Poltorak wrote: > [snip] > I've just zipped up my build of 5.6.0, so you can try that if you want:- Is there a reason why you put perl into c:/usr/perl instead of c:/usr? > ftp://www.eyup.org/perl.zip Thanks, but it didn't solve the problem. However, finally I was able to find out the problems: I) compiling perl 5.6.1 a) I dared to use a env. var. $CONFIG for my own stuff - bad idea. Please add "unset CONFIG" to your build script b) ./Configure uses hardcoded paths like /usr/bin/cat, appearently only ksh can handle this => /bin/sh MUST be ksh. c) Strange things happen if the first sh.exe in your PATH isn't ksh, so you'd better use ksh for the first sh.exe in your PATH. d) You MUST NOT use bash as your interactive shell when you want to compile perl because there seems to be some kind of '/' to '\\' (!!!) transformation for some file names. You can configure with bash but make will fail with something like "link386: library ..../libperl.lib not found". cmd ist fine (*sigh*). e) rename INSTALL to INSTALL.txt, then "make install" will work. f) notes: you need a /emx/lib/db.lib that works with -Zmt Finally I got 12 failed test of 252. II) getting autoconf 2.52h installed a) I had some trouble with different shells, but finally it works (even with ksh and ash). b) Have a nice day! 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 Redmond where the Shadows lie. **= Email 10 ==========================** Date: Sun, 3 Mar 2002 15:28:02 +0000 From: John Poltorak Subject: Re: Freesco On Sun, Mar 03, 2002 at 06:38:24PM -0500, Stepan Kazakov wrote: > John Poltorak wrote: > > > FREESCO is Free software for routers, designed as a substute for Cisco > > software. It provides all the software you need for a router on a single > > floppy. > > i'm working at similar project for os/2.. > mpts & tcpip got almost anything for this task. Does FREESCO provide anything which is not currently available on OS/2? On the FREESCO homepage, I saw some links about a DSL router... > but _floppy_ variant is not very good - no enough disk space > for routed, gated, httpd, sshd and others.. I don't think anyone would actually be using a floppy based system... but it still interesting to squeeze as much functionality into as small a space as possible. > currently my 1.44 os/2 floppy router includes: kernel, stack, BOS2SHL, > ifconfig, route, ipgate, netstat, ping, telnetd, ftpd, ps, reboot. > it is working at 6+ Mb of RAM. (i got router with 3 LAN adapters & 8 Mb of RAM) > > 1.7 Mb non-standart floppy contains more space, but not enough for all. > (i only added ppp support) > > all this shit based on warp3 kernel/drivers/dlls & warp4 tcp/ip stack > with tcp apps from very old tcp/ip v2, because of its minimal sizes. > no firewall, no NAT, no any good things - no room. and for EMX too ;) > > and ofcourse, all this is dirty hack from original IBM binaries; > and ofcourse this stuff not free, until based on IBM OS/2 kernel & tcp stack ;) > > so, for good router/server needed about 2-3 Mb or more disk space. > and now i'm working at HDD version of flexible, good configurable and fail-safe > TCP/IP router/server based on OS/2. > > problems are: > - no plug-n-play support for network drivers; > - no good well configured routed / gated or other dynamic routing daemon > for os2. i know one port of gated/2, but old & unsupported as i know; > - no IPv6; Will it be possible to add IPv6 support from third parties? > - no good free NAT; Is there a standard NAT application on Linux which can be ported to OS/2? > - very bad sshd/2; Yes, it looks as though SSHD/2 is not very usable at the moment. > - etc etc etc.. Please keep us informed about you router project. > -- > madded. [Red Hot Chili Hackers] -- John **= Email 11 ==========================** Date: Sun, 03 Mar 2002 17:43:09 +0000 From: "Dave and Natalie" Subject: Re: Autoconf 2.52h On Sun, 3 Mar 2002 15:14:42 +0000, John Poltorak wrote: >I've just zipped up my build of 5.6.0, so you can try that if you want:- >> >> Is there a reason why you put perl into c:/usr/perl instead >> of c:/usr? > >I thought I put it in c:/usr/lib/perl, which is where I thought it should >go... Wouldn't it be better in c:/usr/lib/perl_5.6.0 or some such. This way you can have multiple versions of perl installed, especially if we had working symlinks:) Dave **= Email 12 ==========================** Date: Sun, 03 Mar 2002 18:16:35 -0400 (TTT) From: "Keri Alleyne" Subject: Re: Freesco On Sun, 3 Mar 2002 12:00:31 +0000, John Poltorak wrote: > >FREESCO is Free software for routers, designed as a substute for Cisco >software. It provides all the software you need for a router on a single >floppy. > >You can get more details from:- > >http://www.freesco.org/ > > >Does it provide anything we don't already have in MPTS? > > >Would it be possible to port it to OS/2? Another useful URL is: http://www.freescosoft.com And their support forum: http://www.freescosoft.com/cgi-bin/ib3-freesco/ikonboard.cgi The PDF manual on the http://www.freesco.org/ site is useful for startup and quick reading. Keri Alleyne chaos at tstt.net.tt **= Email 13 ==========================** Date: Sun, 03 Mar 2002 18:24:32 -0400 (TTT) From: "Keri Alleyne" Subject: Re: Freesco On Sun, 3 Mar 2002 15:28:02 +0000, John Poltorak wrote: >I don't think anyone would actually be using a floppy based system... >but it still interesting to squeeze as much functionality into as small a >space as possible. I use the floppy based system for testing to ensure that my configuration is functioning. Once everything works I then invoke move2hdd on Freesco to copy it onto the HD. Reliability is better on the HD...faster too. It's always a good idea to write tight code and to keep everything small...this way...old machines can find new life as appliances, mini-servers, routers, firewalls, MP3 players, print/time servers, SETI clients etc. If we can achieve similar objectives with OS/2 then I'm all for it. Keri Alleyne chaos at tstt.net.tt **= Email 14 ==========================** Date: Sun, 03 Mar 2002 18:31:55 -0400 (TTT) From: "Keri Alleyne" Subject: Re: Freesco On Sun, 3 Mar 2002 15:28:02 +0000, John Poltorak wrote: > >Please keep us informed about you router project. The very same Stepan Kazakov has an item on hobbes: Image of bootable floppy with OS/2 TCP/IP router with FTPD & REXECD for remote control it. http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/util/network/os2_r144.zip Keri Alleyne chaos at tstt.net.tt **= Email 15 ==========================** Date: Sun, 03 Mar 2002 18:38:24 -0500 From: Stepan Kazakov Subject: Re: Freesco John Poltorak wrote: > FREESCO is Free software for routers, designed as a substute for Cisco > software. It provides all the software you need for a router on a single > floppy. i'm working at similar project for os/2.. mpts & tcpip got almost anything for this task. but _floppy_ variant is not very good - no enough disk space for routed, gated, httpd, sshd and others.. currently my 1.44 os/2 floppy router includes: kernel, stack, BOS2SHL, ifconfig, route, ipgate, netstat, ping, telnetd, ftpd, ps, reboot. it is working at 6+ Mb of RAM. (i got router with 3 LAN adapters & 8 Mb of RAM) 1.7 Mb non-standart floppy contains more space, but not enough for all. (i only added ppp support) all this shit based on warp3 kernel/drivers/dlls & warp4 tcp/ip stack with tcp apps from very old tcp/ip v2, because of its minimal sizes. no firewall, no NAT, no any good things - no room. and for EMX too ;) and ofcourse, all this is dirty hack from original IBM binaries; and ofcourse this stuff not free, until based on IBM OS/2 kernel & tcp stack ;) so, for good router/server needed about 2-3 Mb or more disk space. and now i'm working at HDD version of flexible, good configurable and fail-safe TCP/IP router/server based on OS/2. problems are: - no plug-n-play support for network drivers; - no good well configured routed / gated or other dynamic routing daemon for os2. i know one port of gated/2, but old & unsupported as i know; - no IPv6; - no good free NAT; - very bad sshd/2; - etc etc etc.. -- madded. [Red Hot Chili Hackers] **= Email 16 ==========================** Date: Sun, 3 Mar 2002 18:41:09 +0100 (CET) From: Stefan Neis Subject: Re: Freesco On Sun, 3 Mar 2002, John Poltorak wrote: > On Sun, Mar 03, 2002 at 06:38:24PM -0500, Stepan Kazakov wrote: > > > > but _floppy_ variant is not very good - no enough disk space > > for routed, gated, httpd, sshd and others.. > > I don't think anyone would actually be using a floppy based system... Actually, the idea of booting from floppy (or several floppies or a CD if a single floppy doesn't provide enough space) and working on RAM disks exclusively is rather charming. No harm could be done by any bad program (such as viruses) which isn't "lost" (fixed) by rebooting. Put medium in, boot, remove medium, let it run until there is a problem... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 17 ==========================** Date: Sun, 3 Mar 2002 18:52:48 +0100 (CET) From: Stefan Neis Subject: Re: Autoconf 2.52h On Sun, 3 Mar 2002, John Poltorak wrote: > > e) rename INSTALL to INSTALL.txt, then "make install" will work. > > Yes, I'm aware of this, but is it possible for Make to be able to ignore > INSTALL as a target? Adding something like .PHONY: INSTALL to the makefile should help... (or if there already is a line starting with ".PHONY:" simply add " INSTALL" to the end of it.) As I don't see how this could cause a problem on other platforms, perl maintainers might even be willing to accept such a change ... > This has been mentioned previously. I wonder why the the db.lib supplied > with EMX is not built this way... Possibly that old version of Berkeley DB doesn't support multi-threading? Regards, Stefan **= Email 18 ==========================** Date: Sun, 03 Mar 2002 19:02:50 -0800 From: glhudso at attglobal.net Subject: Re: Freesco If you are running out of room on the floppy what about using a bootable OS/2 cd. >Stepan Kazakov wrote: > i'm working at similar project for os/2.. > mpts & tcpip got almost anything for this task. > > but _floppy_ variant is not very good - no enough disk space > for routed, gated, httpd, sshd and others.. > > currently my 1.44 os/2 floppy router includes: kernel, stack, BOS2SHL, > ifconfig, route, ipgate, netstat, ping, telnetd, ftpd, ps, reboot. > it is working at 6+ Mb of RAM. (i got router with 3 LAN adapters & 8 Mb of RAM) > > 1.7 Mb non-standart floppy contains more space, but not enough for all. > (i only added ppp support) > > all this shit based on warp3 kernel/drivers/dlls & warp4 tcp/ip stack > with tcp apps from very old tcp/ip v2, because of its minimal sizes. > no firewall, no NAT, no any good things - no room. and for EMX too ;)