From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 24 Nov 2003 14:16:02 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 250 ************************************************** Sunday 23 November 2003 Number 250 ************************************************** Subjects for today 1 Re: Perl and -Zomf : Lyn St George" 2 Re: rsync on Unix : T.Sikora" 3 Re: rsync on Unix : T.Sikora" 4 rsync on Unix : John Poltorak 5 Re: rsync on Unix : Lyn St George" 6 Re: rsync on Unix : John Poltorak 7 Re: rsync on Unix : John Poltorak 8 emxbind: invalid symbol number : John Poltorak 9 Re: emxbind: invalid symbol number : Lyn St George" **= Email 1 ==========================** Date: Mon, 24 Nov 2003 01:58:01 +0000 From: "Lyn St George" Subject: Re: Perl and -Zomf On Sun, 23 Nov 2003 23:42:37 +0000, Lyn St George wrote: >On Sun, 23 Nov 2003 21:02:08 +0000, John Poltorak wrote: > >>On Sun, Nov 23, 2003 at 08:16:50PM +0000, Lyn St George wrote: > >I run 'sh Configure -des -Dprefix=/usr' and when it gets to the gcc test >it reports: >"Uh-oh, the C compiler 'gcc' doesn't seem to be working." > >This test creates a tiny 'try.c' and then runs: >$cc -o try $ccflags $ldflags try.c >where both sets of flags are taken from hints/os2.sh (written by Ilya Z) >and where both contain -Zomf. If I run this test compile manually but >without the -Zomf then try.exe builds and tests OK. >This process is identical to that from perl 5.8.0 which used to build >correctly on this system. > >Since then I tried to install gcc3.2.1 but it failed ('couldn't find as.exe') so I >reverted to gcc2.95. My config.site used to have -Zomf in the ldflags >entry, but I found when building BerkeleyDB the other day that this >caused that infamous "gcc can't create an executable" error and so >removed it. Just found this in the popuplog.os2: F:\USR\TEST\BIN\CPP.EXE CPP->IBERTY._sch_istable 127 cpp.exe, iberty.a and iberty.dll are from gcc2.95 and have just been refreshed. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- **= Email 2 ==========================** Date: Mon, 24 Nov 2003 08:20:29 -0500 From: "T.Sikora" Subject: Re: rsync on Unix John Poltorak wrote: > > If anyone has access to a Unix system, could you run autoconf and > configure on rsync, available here:- ? > > ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz > > > I get a ./configure[8253]: syntax error: `newline` unexpected and wondered > if this only occurs on OS/2... > > Just built it on Slack it's fine. I'll try it on an OS/2 machine now. -- T.Sikora tsikora at ntplx dot net **= Email 3 ==========================** Date: Mon, 24 Nov 2003 08:29:30 -0500 From: "T.Sikora" Subject: Re: rsync on Unix T.Sikora wrote: > John Poltorak wrote: > >> >> If anyone has access to a Unix system, could you run autoconf and >> configure on rsync, available here:- ? >> >> ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz >> >> >> I get a ./configure[8253]: syntax error: `newline` unexpected and >> wondered if this only occurs on OS/2... >> >> > Just built it on Slack it's fine. I'll try it on an OS/2 machine now. > I have 2.1.3 on the powerusersbbs.net machine and it wiped out configure as usual to 0 bytes. I think I had this with autoconf in Mozilla and sed 4.0.5 fixed it. -- T.Sikora tsikora at ntplx dot net **= Email 4 ==========================** Date: Mon, 24 Nov 2003 11:57:59 +0000 From: John Poltorak Subject: rsync on Unix If anyone has access to a Unix system, could you run autoconf and configure on rsync, available here:- ? ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz I get a ./configure[8253]: syntax error: `newline` unexpected and wondered if this only occurs on OS/2... -- John **= Email 5 ==========================** Date: Mon, 24 Nov 2003 12:56:12 +0000 From: "Lyn St George" Subject: Re: rsync on Unix On Mon, 24 Nov 2003 11:57:59 +0000, John Poltorak wrote: > > >If anyone has access to a Unix system, could you run autoconf and >configure on rsync, available here:- ? > >ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz > > >I get a ./configure[8253]: syntax error: `newline` unexpected and wondered >if this only occurs on OS/2... Didn't get that , but got this error: checking for inet_ntop in -lresolv... yes ./configure: line 8247: syntax error near unexpected token `"*' ./configure: line 8247: ` *" lib/inet_ntop.$ac_objext "*' (autoconf 2.58) > >-- >John > > > - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- **= Email 6 ==========================** Date: Mon, 24 Nov 2003 13:28:29 +0000 From: John Poltorak Subject: Re: rsync on Unix On Mon, Nov 24, 2003 at 08:20:29AM -0500, T.Sikora wrote: > John Poltorak wrote: > > > > If anyone has access to a Unix system, could you run autoconf and > > configure on rsync, available here:- ? > > > > ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz > > > > > > I get a ./configure[8253]: syntax error: `newline` unexpected and wondered > > if this only occurs on OS/2... > > > > > Just built it on Slack it's fine. I'll try it on an OS/2 machine now. It builds using UX2BS which applies the required patches, but the problem is that you need to start with the supplied configure script rather than running autoconf to generate your own and then run EMXBIND on the compiled program. What I would like to do, to keep it in line with most other apps, is to add EXEEXT and OBJEXT to configure.in and make approprite changes to Makefile.in so that it builds quite effortlessly like some GNU apps. > -- > T.Sikora > tsikora at ntplx dot net > > -- John **= Email 7 ==========================** Date: Mon, 24 Nov 2003 13:36:33 +0000 From: John Poltorak Subject: Re: rsync on Unix On Mon, Nov 24, 2003 at 08:29:30AM -0500, T.Sikora wrote: > T.Sikora wrote: > > John Poltorak wrote: > > > >> > >> If anyone has access to a Unix system, could you run autoconf and > >> configure on rsync, available here:- ? > >> > >> ftp://rsync.samba.org/pub/rsync/old-versions/rsync-2.5.5.tar.gz > >> > >> > >> I get a ./configure[8253]: syntax error: `newline` unexpected and > >> wondered if this only occurs on OS/2... > >> > >> > > Just built it on Slack it's fine. I'll try it on an OS/2 machine now. > > > I have 2.1.3 on the powerusersbbs.net machine and it wiped out configure > as usual to 0 bytes. I think I had this with autoconf in Mozilla and sed > 4.0.5 fixed it. With UX2BS you should be able to run 'build rsync' and it works apart from running EMXBIND at the end. I'm trying to eliminate that bit. > -- > T.Sikora > tsikora at ntplx dot net -- John **= Email 8 ==========================** Date: Mon, 24 Nov 2003 18:28:32 +0000 From: John Poltorak Subject: emxbind: invalid symbol number After building Sleepycat DB 4.1.25 I get a number of files copied to the bin directory which I assume I nned to run emxbind on to turn into executables, but I get this error:- emxbind: invalid symbol number Anyone know why? -- John **= Email 9 ==========================** Date: Mon, 24 Nov 2003 19:36:28 +0000 From: "Lyn St George" Subject: Re: emxbind: invalid symbol number On Mon, 24 Nov 2003 18:28:32 +0000, John Poltorak wrote: > > >After building Sleepycat DB 4.1.25 I get a number of files copied to the >bin directory which I assume I nned to run emxbind on to turn into >executables, but I get this error:- > >emxbind: invalid symbol number > > >Anyone know why? Not really, but I made a tiny patch which makes and installs everything without further intervention. A zip, patch and readme are all on http://kiwi.zolotek.net >-- >John > > > > - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +----------------------------------------------------------------------------------