Date: Tue, 13 Jul 2004 00:07:29 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 343 ************************************************** Monday 12 July 2004 Number 343 ************************************************** Subjects for today 1 Re: rsync 2.6.2 : Dave Saville" 2 Re: Building unzip : John Poltorak 3 Re: rsync 2.6.2 : John Poltorak 4 Re: rsync 2.6.2 : Andreas Buening 5 Re: rsync 2.6.2 : Andreas Buening 6 Re: Building unzip : Christoph Schulte Moenting" 7 Re: Building unzip : John Poltorak 8 Re: Building unzip : Christoph Schulte Moenting" 9 Re: Building unzip : Stefan.Neis at t-online.de **= Email 1 ==========================** Date: Sun, 11 Jul 2004 14:49:02 +0100 (BST) From: "Dave Saville" Subject: Re: rsync 2.6.2 On Sun, 11 Jul 2004 at 2:49pm, Andreas Buening wrote: >Hello! > >Since the "cannot overwrite local file" bug of rsync started to >drive me nuts and since I couldn't find a new port for OS/2, >I patched 2.6.2. But there is still a problem with -l option. >Does anybody know where to find the source of the old OS/2 port >for comparison? Wow - you mean you actually got the damn thing to compile? Several of us have tried and failed. What's the secret? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sun, 11 Jul 2004 15:59:21 +0100 From: John Poltorak Subject: Re: Building unzip On Sun, Jul 11, 2004 at 03:15:30PM +0100, Christoph Schulte Moenting wrote: > Hi, > > I gave ux2bs my first try. I am quite impressed how smooth things run. That is good to know. > I had only two problems when running the bootstrap script: > 1) The ftp server for the gzip sources (wuarchive) would not let me > in due to too many users - I will retry later > 2) The ftp server for the unzip sources does not provide unzip-5.50 > any longer, instead it offered unzip-5.51. So I modified the entry > in build.table to see if I could compile that. That should be the correct way of getting new versions to build. Thanks for mentioning that Unzip 5.50 has been superseeded. > When running "build unzip", I got a compile error: > > --- begin --- > [U:\unixos2\workdir\unzip-5.51]make -f os2\makefile.os2 gcc > make -f os2/makefile.os2 all \ > CC="gcc -Zomf -O -I." \ > CFLAGS="-Wall -DOS2 -DASM_CRC -DOS2_EAS -DUSE_UNSHRINK" \ > NFLAGS="" \ > DLLFLAG="" \ > AS="gcc -Zomf" \ > ASFLAGS="-Di386" \ > LDFLAGS="-o ./" \ > LDFLAGS2="-Zsmall-conv -Zstack 320 -Zsys -s" \ > OUT="-o" \ > OBJ=".obj" \ > CRC32="crc_gcc" \ > CRC32F="crc_gcc" \ > CRC32X="crc_gcc" \ > DEF="os2/unzip.def" > make[1]: Entering directory `U:/unixos2/workdir/unzip-5.51' > gcc -Zomf -O -I. -c -Wall -DOS2 -DASM_CRC -DOS2_EAS -DUSE_UNSHRINK unzip.c > gcc -Zomf -Di386 -x assembler-with-cpp -c -o crc_gcc.obj crc_i386.S > gcc -Zomf -O -I. -c -Wall -DOS2 -DASM_CRC -DOS2_EAS -DUSE_UNSHRINK crctab.c > gcc -Zomf -O -I. -c -Wall -DOS2 -DASM_CRC -DOS2_EAS -DUSE_UNSHRINK DLLFLAG= crypt.c > gcc: DLLFLAG=: No such file or directory > make[1]: *** [crypt.obj] Error 1 > make[1]: Leaving directory `U:/unixos2/workdir/unzip-5.51' > make: *** [gcc] Error 2 > --- end --- > > As you can see, make interprets the lines > NFLAGS="" \ > DLLFLAG="" \ > in a way that $(NFLAGS) resolves to " DLLFLAG=" > > When chaning the lines fo > NFLAGS= \ > DLLFLAG= \ > everything compiles fine. > > Is this a problem of make or a problem of the makefile author? The previous version of UNZIP built OK. If you have managed to get UX2BS fully installed, you should end up with a newer version of Make which might not have the same problem. If that version of Make works better then the solution is to build UNZIP a little later in the sequence rather than so early. > BTW, I had expected that unzip.exe somehow would get installed > into \usr\bin, but that did not happen. That is a long standing ommission, which needs to be corrected. I can't remember whether the UNZIP Makefile has an 'install' target - probably not... > Regards, > Christoph -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sun, 11 Jul 2004 16:00:52 +0100 From: John Poltorak Subject: Re: rsync 2.6.2 On Sun, Jul 11, 2004 at 02:49:02PM +0100, Dave Saville wrote: > On Sun, 11 Jul 2004 at 2:49pm, Andreas Buening wrote: > > >Hello! > > > >Since the "cannot overwrite local file" bug of rsync started to > >drive me nuts and since I couldn't find a new port for OS/2, > >I patched 2.6.2. But there is still a problem with -l option. > >Does anybody know where to find the source of the old OS/2 port > >for comparison? > > Wow - you mean you actually got the damn thing to compile? Several of > us have tried and failed. What's the secret? I suspect he used some Autoconf option that no one else knew about or understood ;-)... > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sun, 11 Jul 2004 22:39:27 +0200 From: Andreas Buening Subject: Re: rsync 2.6.2 Dave Saville wrote: > > On Sun, 11 Jul 2004 at 2:49pm, Andreas Buening wrote: > > >Hello! > > > >Since the "cannot overwrite local file" bug of rsync started to > >drive me nuts and since I couldn't find a new port for OS/2, > >I patched 2.6.2. But there is still a problem with -l option. > >Does anybody know where to find the source of the old OS/2 port > >for comparison? > > Wow - you mean you actually got the damn thing to compile? Several of > us have tried and failed. What's the secret? There's no secret. Just do the usual #define makedev(x)... stuff, remove syslog.h, comment out or define to void everything that would be declared in syslog and add one single #define and it works. ;-) Took a long time to find out, though. Drive letters and that damn -l -a "feature" on Linux clients was a different issue. :-( Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Sun, 11 Jul 2004 22:40:11 +0200 From: Andreas Buening Subject: Re: rsync 2.6.2 John Poltorak wrote: > The version I'm using is based on Yuri Dario's port whih I got from here:- > > http://os2power.dnsalias.com/yuri/software/rsync255.zip Great. I was using 2.4.6 before, and I haven't found any newer version, neither on hobbes, nor on unixos2.com, nor in my ux2bs copy on my hard disk. Would it be possible to put a direct link to the newest tools / newest ux2bs we're using on the unixos2 website? > It would be nice to have an updated port. As I understand it, it has > now been changed so that it builds using the standard > autoconf/configure/make routine so if you manage to create the right > patches we may be able to get RSYNC to build out of the box on OS/2 in > future. I think so. I've just (temporarily) uploaded rsync 2.6.2 to http://unix.os2site.com/sw/pub/binary/autoconf/rsync-2_6_2.zip and http://unix.os2site.com/sw/pub/binary/autoconf/rsync-2_6_2-bin.zip Ian, if you're listening, could you add two directories ..../source/rsync/ and .../binary/rsync/ and move both files there? Thanks! Note that this is mostly a fast hack. chroot is disabled, syslog is disabled, compiled for ssh, not rsh (no idea, what's different in ssh mode). Basic drive letter support has been added, i.e., you can use "path = c:/data" in your rsyncd.conf file. File upload and download seems to work with OS/2 and Linux. :-) Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sun, 11 Jul 2004 23:45:16 +0100 From: "Christoph Schulte Moenting" Subject: Re: Building unzip On Sun, 11 Jul 2004 15:59:21 +0100, John Poltorak wrote: >> When running "build unzip", I got a compile error: >[snip] >The previous version of UNZIP built OK. If you have managed to get UX2BS >fully installed, you should end up with a newer version of Make which >might not have the same problem. If that version of Make works better then >the solution is to build UNZIP a little later in the sequence rather than >so early. I have rebuilt everything from scratch, but this time I have patched the build.table before running the build scripts since I knew there was I problem. So actually it is make 3.76 that can handle the original Makefile while 3.79 fails as indicated in my last mail. >> BTW, I had expected that unzip.exe somehow would get installed >> into \usr\bin, but that did not happen. > >That is a long standing ommission, which needs to be corrected. I can't >remember whether the UNZIP Makefile has an 'install' target - probably >not... Wouldn't it be sufficient to modify build_unzip.cmd to contain install unzip.exe funzip.exe unzipsfx.exe %uxrt%\usr\bin like it is done in other scripts (there is not install target in os2\makefile.os2)? Regards, Christoph _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Mon, 12 Jul 2004 10:06:11 +0100 From: John Poltorak Subject: Re: Building unzip On Sun, Jul 11, 2004 at 11:45:16PM +0100, Christoph Schulte Moenting wrote: > On Sun, 11 Jul 2004 15:59:21 +0100, John Poltorak wrote: > > >> When running "build unzip", I got a compile error: > >[snip] > >The previous version of UNZIP built OK. If you have managed to get UX2BS > >fully installed, you should end up with a newer version of Make which > >might not have the same problem. If that version of Make works better then > >the solution is to build UNZIP a little later in the sequence rather than > >so early. > > I have rebuilt everything from scratch, but this time I have patched > the build.table before running the build scripts since I knew there > was I problem. Did you simply change this:- unzip;unzip-5.50;ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz;;;;;. to this:- unzip;unzip-5.51;ftp://ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz;;;;;. > So actually it is make 3.76 that can handle the original Makefile > while 3.79 fails as indicated in my last mail. > > >> BTW, I had expected that unzip.exe somehow would get installed > >> into \usr\bin, but that did not happen. > > > >That is a long standing ommission, which needs to be corrected. I can't > >remember whether the UNZIP Makefile has an 'install' target - probably > >not... > > Wouldn't it be sufficient to modify build_unzip.cmd to contain > install unzip.exe funzip.exe unzipsfx.exe %uxrt%\usr\bin > like it is done in other scripts (there is not install target in > os2\makefile.os2)? I guess so, but ideally some docs need to be installed too. Maybe it also needs install ./man/*.1 %uxrt%/usr/share/man/man1 or somesuch... Actually, looking through the man pages it looks as though some executables are missing - there is no zipgrep or zipinfo. All this would be sorted out if the Unix Makefile could be deployed instead of makefile.os2, but I have never been able to get that working. > > Regards, > Christoph > > > _______________________________________________ > UX2BS mailing list > UX2BS at os2ports.com > http://os2ports.com/mailman/listinfo/ux2bs _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 12 Jul 2004 11:17:37 +0200 (MEST) From: "Christoph Schulte Moenting" Subject: Re: Building unzip > > I have rebuilt everything from scratch, but this time I have patched > > the build.table before running the build scripts since I knew there > > was I problem. > > Did you simply change this:- > > unzip;unzip-5.50;ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz;;;;;. > > to this:- > > unzip;unzip-5.51;ftp://ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz;;;;;. Yes, that was all I needed to do. Regards, Christoph _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Mon, 12 Jul 2004 14:01:45 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: Building unzip John Poltorak schrieb: > Actually, looking through the man pages it looks as > though some > executables are missing - there is no zipgrep or > zipinfo. zipgrep is a shell script, so it's not much use on a "normal" (cmd based) OS/2 system. zipinfo is similar to stuff like "gunzip" - on a unix system, it's a link to the "real" executable (unzip in case of zipinfo, gzip in case of gunzip) and depending on "argv[0]", specific flags are automatically added. I always prefer using "gzip -d" or "unzip -Z" over installing an identical copy of the binary under a new name ... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs