Date: Wed, 19 Feb 2003 02:35:06 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 82 ************************************************** Tuesday 18 February 2003 Number 82 ************************************************** Subjects for today 1 Re: Sendmail 8.12.6 : Ted Sikora 2 Re: Sendmail 8.12.6 : Ted Sikora 3 Re: Sendmail 8.12.6 : Ted Sikora 4 Perl build on JFS : John Poltorak 5 Re: Sendmail 8.12.6 : John Poltorak 6 Re: Sendmail 8.12.6 : Stefan.Neis at t-online.de 7 Re: FYI makemaker problem - was perl module problem : John Poltorak 8 Re: Sendmail 8.12.7 : Ted Sikora 9 Re: Sendmail 8.12.7 : Ted Sikora 10 Sendmail 8.12.7 : John Poltorak 11 Sendmail 8.12.7::making progress : Ted Sikora 12 db port should be a priority! : Ted Sikora **= Email 1 ==========================** Date: Wed, 19 Feb 2003 05:35:34 -0500 From: Ted Sikora Subject: Re: Sendmail 8.12.6 The scripts are working: sm_os_os2.h has to be renamed sm_os.h and put here: /sendmail-8.12.6/include/sm_os.h First problem: Needs to ln files to /OBJ.OS-2.2.i386 get 'ln not supported on this system' for all ln'ked files. How can I get it to copy them instead? John do you have the build instructions for the 8.12.3 port? -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Wed, 19 Feb 2003 06:06:10 -0500 From: Ted Sikora Subject: Re: Sendmail 8.12.6 John Poltorak wrote: > On Wed, Feb 19, 2003 at 05:35:34AM -0500, Ted Sikora wrote: > >>The scripts are working: >>sm_os_os2.h has to be renamed sm_os.h and put here: >>/sendmail-8.12.6/include/sm_os.h >> >>First problem: >>Needs to ln files to /OBJ.OS-2.2.i386 >>get 'ln not supported on this system' >>for all ln'ked files. >> >>How can I get it to copy them instead? > > > copy cp.exe ln.exe > > > >>John do you have the build instructions for the 8.12.3 port? > > > I never got it to work. You are supposed to be able to get it to compile > by running one of the build scripts, but it never worked for me. Me neither. No configured scripts! Just the sm_os.h is there for OS/2. If an OS is not defined like the 'OS-2.2.i386' in /devtools/OS/ you can build it by modifying the Build script in /sendmail-8.12.6/sendmail/ for generic builds, but none of the scripts were configured in the source zip. I figured we better just start from scratch. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Wed, 19 Feb 2003 06:08:02 -0500 From: Ted Sikora Subject: Re: Sendmail 8.12.6 John Poltorak wrote: > On Wed, Feb 19, 2003 at 05:35:34AM -0500, Ted Sikora wrote: > >>The scripts are working: >>sm_os_os2.h has to be renamed sm_os.h and put here: >>/sendmail-8.12.6/include/sm_os.h >> >>First problem: >>Needs to ln files to /OBJ.OS-2.2.i386 >>get 'ln not supported on this system' >>for all ln'ked files. >> >>How can I get it to copy them instead? > > > copy cp.exe ln.exe > > I did that but it still says ln not supported. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Wed, 19 Feb 2003 10:04:41 +0000 From: John Poltorak Subject: Perl build on JFS I tried a Perl build on a JFS partition yesterday and got this result:- Failed 7/726 test scripts, 99.04% okay. 24/68652 subtests failed, 99.97% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 ../lib/Net/t/hostname.t 2 1 50.00% 1 lib/os2_ea.t 21 8 38.10% 7-11 14-16 lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 op/stat.t 73 1 1.37% 44 63 tests and 557 subtests skipped. It seems as though this test:- lib/os2_ea.t always fails on JFS. If you have had such a failure, could you report it to IlyaZ? When I informed him about other people's results he seemed to dismiss it and put any problems down to this build environment that was being used. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Wed, 19 Feb 2003 10:26:05 +0000 From: John Poltorak Subject: Re: Sendmail 8.12.6 On Wed, Feb 19, 2003 at 05:35:34AM -0500, Ted Sikora wrote: > The scripts are working: > sm_os_os2.h has to be renamed sm_os.h and put here: > /sendmail-8.12.6/include/sm_os.h > > First problem: > Needs to ln files to /OBJ.OS-2.2.i386 > get 'ln not supported on this system' > for all ln'ked files. > > How can I get it to copy them instead? copy cp.exe ln.exe > John do you have the build instructions for the 8.12.3 port? I never got it to work. You are supposed to be able to get it to compile by running one of the build scripts, but it never worked for me. Maybe one of our Russian friends on the list could get detailed instructions from the porter, Alexander Lapshin ... > -- > Ted Sikora > tsikora at ntplx.net -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Wed, 19 Feb 2003 12:33:54 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: Sendmail 8.12.6 Ted Sikora schrieb: > > copy cp.exe ln.exe > > I did that but it still says ln not supported. Probably cp is not understanding some flag... :-( Time to write an ln.cmd which just ignores unknown options and passes the rest of the arguments to cp.exe. HTH, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Wed, 19 Feb 2003 16:47:34 +0000 From: John Poltorak Subject: Re: FYI makemaker problem - was perl module problem On Mon, Feb 17, 2003 at 03:40:17PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Did you try building Perl using ux2_bootstrap or are you using your > > normal environment? > > I don't want to try ux2_bootstrap until my high-speed connection is in > place. Actually, I have set thing up so that if you set up the varible %REPOSITORY% to some local directory such as v:/archives which contains the following files in this structure:- \archives\baseline\db_mt.zip \archives\baseline\emxfix04.zip \archives\baseline\emxrt.zip \archives\baseline\gnuawk.zip \archives\baseline\gnudiff.zip \archives\baseline\gnufind.zip \archives\baseline\gnufutil.zip \archives\baseline\gnugrep.zip \archives\baseline\gnum4.zip \archives\baseline\gnumake_fixed.zip \archives\baseline\gnupatch.zip \archives\baseline\gnused.zip \archives\baseline\gnusutil.zip \archives\baseline\gnututil.zip \archives\baseline\gtar258.zip \archives\baseline\p2beta0_1_0_bin.zip \archives\baseline\pdksh-5.2.14-bin-2.zip \archives\baseline\uzs550x2.exe \archives\baseline\zcr23x2.zip \archives\baseline\emx\bsddev.zip \archives\baseline\emx\bsdsrc.zip \archives\baseline\emx\emxdev1.zip \archives\baseline\emx\emxdev2.zip \archives\baseline\emx\emxsrcd2.zip \archives\baseline\emx\gnudev1.zip \archives\baseline\emx\gnudev2.zip \archives\baseline\emx\gnuinfo.zip \archives\baseline\emx\gobjcdev.zip \archives\baseline\emx\gppdev1.zip \archives\baseline\emx\gppdev2.zip \archives\source\perl-5.8.0.tar.gz you shouldn't need to download anything at all, or very little apart from a few scripts and patches amounting to around 1MB or so. I would expect that you would have almost all these files held locally somewhere. > I did a ground-up optimized pgcc build and am reducing the test > failures from 5 to 0; only two more to go. Patches will become available > when I'm done. I look forward to your input to see how the build can be improved. > h~ -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Wed, 19 Feb 2003 17:26:57 -0500 From: Ted Sikora Subject: Re: Sendmail 8.12.7 John Poltorak wrote: > Just noticed that the latest Sendmail is actually v8.12.7... > > > 8.12.7 Support for Berkeley DB 4.1.25 and several fixes. > > ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.7.tar.gz > > I guess that would mean porting Berkeley DB 4.1.25... > > Has anyone done that yet? > > The sources are in os2ports incoming. Been there a couple weeks. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Wed, 19 Feb 2003 20:08:34 -0500 From: Ted Sikora Subject: Re: Sendmail 8.12.7 This is a multi-part message in MIME format. --------------070309000108080402090406 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I just grabbed the sources. These scripts are are a good starting point. OS-2.2.i386 goes in devtools/OS/ and sm_os.h in include/ cd to sendmail/ and run 'sh Build' Ted Sikora wrote: > John Poltorak wrote: > >> Just noticed that the latest Sendmail is actually v8.12.7... >> >> >> 8.12.7 Support for Berkeley DB 4.1.25 and several fixes. >> >> ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.7.tar.gz >> >> I guess that would mean porting Berkeley DB 4.1.25... >> >> Has anyone done that yet? >> >> > The sources are in os2ports incoming. Been there a couple weeks. > > -- > Ted Sikora > tsikora at ntplx.net > > > > _______________________________________________ > UX2BS mailing list > UX2BS at powerusersbbs.net > http://powerusersbbs.net/mailman/listinfo/ux2bs > > -- -- Ted Sikora tsikora at ntplx.net --------------070309000108080402090406 Content-Type: text/plain; name="OS-2.2.i386" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="OS-2.2.i386" # $Id: IBM OS/2 2003/02/18 10:33:45 tsikora Exp $ # # OS-2.2.i386 (a.k.a IBM OS/2) # #define(`confSM_OS_HEADER', `sm_os_os2') define(`confCC', `gcc') define(`confENVDEF', `-Zomf -Zmt -D__EMX__ -DOS2 -D__ST_MT_ERRNO__ -D_EMX_CRT_REV_=64') define(`confLIBS', `-lsocket -lm -lbsd') define(`confMTCCOPTS', `-Zomf -Zmt -D__EMX__ -DOS2 -D__ST_MT_ERRNO__ -D_EMX_CRT_REV_=64') define(`confLDOPTS_SO', `-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000 -Zlinker /e:2') define(`confOPTIMIZE',`-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s') define(`confSHELL', `/bin/sh') define(`confMBINDIR', `/usr/lib') define(`confSBINDIR', `/etc/mail') define(`confUBINDIR', `/etc/mail') define(`confEBINDIR', `/usr/sbin') define(`confMANROOT', `/usr/man') define(`confSBINGRP', `mail') define(`confINSTALL', `/unixos2/usr/bin/install.exe') --------------070309000108080402090406 Content-Type: text/plain; name="sm_os.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sm_os.h" /* * Copyright (c) 2000 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * * $Id: sm_os_os2.h,v 1.6 2000/12/05 19:00:47 dmoen Exp $ */ /* ** sm_os_os2.h -- platform definitions for OS/2 */ #define SM_OS_NAME "OS2" #include /* Implement some support for drive names. */ # define major(x) ((int32_t)(((u_int32_t)(x) >> 8) & 0xff)) # define minor(x) ((int32_t)((x) & 0xff)) # define MIN(a,b) ((a)<(b)?(a):(b)) # define MAX(a,b) ((a)>(b)?(a):(b)) # define getcwd _getcwd2 # define chdir _chdir2 # define setsid _setsid # define link cpfile ///# define flock flock2 # define strcasecmp stricmp # define strncasecmp strnicmp # define select os2_select ///#define malloc _tmalloc ///#define realloc _trealloc ///#define free _tfree #ifndef SM_CONF_SETITIMER # define SM_CONF_SETITIMER 0 #endif /* SM_CONF_SETITIMER */ #ifndef SM_CONF_GETOPT # define SM_CONF_GETOPT 0 #endif /* SM_CONF_SHM */ # ifndef SM_HEAP_CHECK # define SM_HEAP_CHECK 0 # endif /* ! SM_HEAP_CHECK */ --------------070309000108080402090406-- _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Wed, 19 Feb 2003 21:04:31 +0000 From: John Poltorak Subject: Sendmail 8.12.7 Just noticed that the latest Sendmail is actually v8.12.7... 8.12.7 Support for Berkeley DB 4.1.25 and several fixes. ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.7.tar.gz I guess that would mean porting Berkeley DB 4.1.25... Has anyone done that yet? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Wed, 19 Feb 2003 22:07:07 -0500 From: Ted Sikora Subject: Sendmail 8.12.7::making progress Copied the scripts and they appear to work fine. I took the /OS2/ dir from the ru port and built the GDBM-1.7.3 and DLL for the os2sm.a lib to make up for missing functions and installed them in the emx/ tree. Take out the 'oldbind.compat.o' line in the Makefile it's not needed. Won't build otherwise anyway. The M4 = /path/m4.exe env variable must be set. The problem now lies in devtools/bin/Build , the main build script. Changing line 668 'ln="ln -s"' to ln="cp -p" solves the linking problem it now fails at: Using M4=/unixos2/usr/bin/m4.exe Creating /tmp/sendmail-8.12.7/obj.OS-2.2.i386/sendmail using /tmp/sendmail-8.12. 7/devtools/OS/OS-2.2.i386 sed: -e expression #3, char 2: Unterminated `s' command sed: -e expression #3, char 2: Unterminated `s' command ERROR: /unixos2/usr/bin/m4.exe failed; You may need a newer version of M4, at le ast as new as System V or GNU rm: /tmp/sendmail-8.12.7/obj.OS-2.2.i386/sendmail This is at the end of the script almost ready to build. It make be a make problem too. Here's what the Build script says at that point starting at line 782 # That ^M up there was added by quoting it in emacs. # Make has problems if lines end in ^M^M, but not in ^M apparently if [ $? -ne 0 -o ! -s $obj/Makefile ] then echo "ERROR: ${M4} failed; You may need a newer version of M4, at least as new as System V or GNU" 1>&2 rm -rf $obj exit $EX_UNAVAILABLE It's just about to complete the make file and start building. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Wed, 19 Feb 2003 22:39:55 -0500 From: Ted Sikora Subject: db port should be a priority! In capital letters! I would say 90% of all ports I attempt fail because of missing functions and/or incompatibilities with db and gdbm. Of course you can get it to build but other ports relying on it and the original are all crippled and the source of that dump is never traced right. A great big snowball effect. A lot of the ports are missing some critical functions. Sure you have to make concessions for OS/2 and it's nice to have it running but at what cost? Query and copy/move functions are never right or missing. Those connectors I was working on for Python, they would build but never work or fail half the tests. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs