Date: Sun, 9 Jan 2005 00:07:28 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 384 ************************************************** Saturday 08 January 2005 Number 384 ************************************************** Subjects for today 1 Re: OpenSSL : John Poltorak 2 GNU Shell Utils : John Poltorak 3 Re: [UX2BS] OPENSSL : John Poltorak **= Email 1 ==========================** Date: Fri, 7 Jan 2005 14:54:43 +0000 From: John Poltorak Subject: Re: OpenSSL On Tue, Jan 04, 2005 at 08:16:49PM +0000, dave bamford wrote: > John Poltorak wrote: > > >This only seems to occur when using Posix/2 in the build process. Without > >it, it builds OK, so I've added openssl to the Posix/2 exclusion list - > >p2_exc.lst, which you can get if you do a ux2_refresh. > > > >If anyone now tries building openssl could you let me know whether it > >works? > > > > > >At the moment build.table does not contain the most recent version of > >openssl as it will not build. > > > >Anyone curious enough to try the latest version it is welcome to update > >the openssl entry in build.table so that it uses:- > > > >http://www.openssl.org/source/openssl-0.9.7e.tar.gz > > > >I'd be interested to know if anyone can get this version built or identify > >what is causing the build to fail. > > > > > > > > > I got openssl-0.9.7e to build but only on GCC 3.2.2. I didn't see the > problem you > got but I had to change rand-os2.c 2 APIs DosPerfSysCall and > DosQuerySysState > needed their names changing as they were already declared, Is this something which only occurred in v0.9.7e? It would be interesting to know what brought about this requirement. > but I > couldn't get the > makefile to Install the libraries. I had to do this manually. > I am a newbie to all this. I then deleted the build environment and > loaded it from > scratch then did a sucessful build openssl which built the vanilla 0.9.7 > which I am > now using. You ought to be able to build 0.9.7c now, but I'd like to bring it completely uptodate. > Thanks > > Dave Bamford. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 7 Jan 2005 16:16:24 +0000 From: John Poltorak Subject: GNU Shell Utils Has anyone tried to build the GNU Shell Utils? You should be able to the package using UX2BS by running 'build shellutils'. I've just tried and end with binaries that need to be converted to work under OS/2 using EMXBIND, although I would like to find a different way of building this package - I find the use of the os2unix.cmd awkward and inflexible and would much rather use autoconf for generating a configure scripts. Can anyone figure out how to extract the OS/2 patches for this app and just aaply them without using os2unix.cmd? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 7 Jan 2005 19:27:23 +0000 From: John Poltorak Subject: Re: [UX2BS] OPENSSL On Wed, Jan 05, 2005 at 09:31:03PM +0100, Johannes Hromadka wrote: > PATRICK ASH wrote: > > I RECENTLY BUILT 0.9.7E USING GCC 3.0.3. I RAN INTO PROBLEMS WITH > > UNRESOLVED EXTERNALS STRCASECMP AND STRNCASECMP. EVEN THOUGH BOTH ARE > > REDEFINED IN STRING.H, THE BUILD PROCESS FAILED TO MAKE THIS > > SUBSTITUTION. I ENDED UP DOING A GLOBAL REPLACE OF EACH WITH IT'S > > APPROPRIATE REDEFINITION. AS I RECALL, THIS PROBLEM ALSO OCCURRED IN > > 0.9.7D, BUT NOT IN 0.9.7C. > > > There was a new file in directory crypto called o_str.c introduced in 0.9.7d I guess that explains the change in behaviour... > This undefines the strcasecmp and strncasecmp > > #undef strncasecmp > #undef strcasecmp > > I added this 4 lines and could compile it. > > #if defined(OPENSSL_SYS_OS2) && defined(__EMX__) > # define strcasecmp stricmp > # define strncasecmp strnicmp > #endif I was under the impression that such defines could be done at compile time by specifying '-Dstrncasecmp=strnicmp -Dstrcasecmp=stricmp' among CFLAGS, although I have been unable to get this working myself. > Hannes > -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs