Date: Mon, 24 Mar 2003 02:39:04 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 114 ************************************************** Sunday 23 March 2003 Number 114 ************************************************** Subjects for today 1 Re: PDKSH : John Poltorak 2 Re: crypt.h & md5.h : sma at sohnen-moe.com 3 Re: PDKSH : Hannes Hromadka 4 Re: crypt.h & md5.h : sma at sohnen-moe.com 5 Re: Expat : Hannes Hromadka 6 crypt.h & md5.h : John Poltorak 7 Re: Expat : John Poltorak 8 Re: Expat : Hannes Hromadka 9 Re: crypt.h & md5.h : John Poltorak 10 Re: crypt.h & md5.h : Stefan.Neis at t-online.de 11 Re: crypt.h & md5.h : John Poltorak 12 Re[2]: New UX2BS : Csaba 13 Re: New UX2BS : John Poltorak 14 Re: crypt.h & md5.h : Lyn St George" 15 Re: crypt.h & md5.h : John Poltorak 16 Re: crypt.h & md5.h : John Poltorak 17 Re[2]: fork : Csaba 18 Re[2]: Apache : Csaba 19 Re[2]: Building httpd : Csaba **= Email 1 ==========================** Date: Mon, 24 Mar 2003 10:08:47 +0000 From: John Poltorak Subject: Re: PDKSH On Mon, Mar 24, 2003 at 11:01:43AM +0100, Hannes Hromadka wrote: > On Sat, Mar 22, 2003 at 03:28:28PM -0700, Sohnen-Moe Associates, Inc wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Sat, 22 Mar 2003 12:15:58 +0000, John Poltorak wrote: > > > > > > > >Anyone tried building PDKSH? > > > > > Yes, v5.2.14 built with "build pdksh". This is also the version I > >modified to make "test -x"useful on os/2. > > This is necessary to run configure for Apache2 > > Where can I get this version ? > > > Ciao, Hannes > > -- > Johannes Hromadka | Email Office: HromadkaJ at gmx.at > | Home : Johannes.Hromadka at gmx.net > Vienna/Austria/Europe | OECC: http://www.oecc.org/ > >>> Rust never sleeps (borrowed from Neil YOUNG) <<< I have the patch and will try and include it in UX2BS today. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Mon, 24 Mar 2003 10:57:44 -0700 From: sma at sohnen-moe.com Subject: Re: crypt.h & md5.h >GNU UFC includes the headers crypt.h and md5.h (as well as >ufc-crypt.h). >Should any of these be installed to /usr/include when installing crypt? > Yes. I put these in /usr/local/. It keeps them separate from the standard stuff, although it can be difficult to say what is "standard" at times. The .h represent the "interface" to the libraries. Compilers get all twitchy when they cannot find header files. You also should update the *INCLUDE* and *LIBRARY* paths to include /usr/local/include/ and lib/, and PATH to include /usr/loca/bin/. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Mon, 24 Mar 2003 11:01:43 +0100 From: Hannes Hromadka Subject: Re: PDKSH On Sat, Mar 22, 2003 at 03:28:28PM -0700, Sohnen-Moe Associates, Inc wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 22 Mar 2003 12:15:58 +0000, John Poltorak wrote: > > > > >Anyone tried building PDKSH? > > > Yes, v5.2.14 built with "build pdksh". This is also the version I >modified to make "test -x"useful on os/2. This is necessary to run configure for Apache2 Where can I get this version ? Ciao, Hannes -- Johannes Hromadka | Email Office: HromadkaJ at gmx.at | Home : Johannes.Hromadka at gmx.net Vienna/Austria/Europe | OECC: http://www.oecc.org/ >>> Rust never sleeps (borrowed from Neil YOUNG) <<< _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 24 Mar 2003 13:00:16 -0700 From: sma at sohnen-moe.com Subject: Re: crypt.h & md5.h > >Which other apps use crypt() or crypt.h and md5.h? > Apache, PHP, immdiately come to mind. md5 is used by just about anything that requires authentication. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 24 Mar 2003 13:43:23 +0100 From: Hannes Hromadka Subject: Re: Expat > > Yes, v1.95.6 built with "build expat". It used autoconf and libtool a > > lot. > > That's great. I wonder if there is any way to ensure the build works > correctly... I used it for building Apache2 and Apache had no problems with it. There is a testsuite included in expat but I do not understand how it works/tests so I could not understand the results (some steps failed) Ciao, Hannes -- Johannes Hromadka | Email Office: HromadkaJ at gmx.at | Home : Johannes.Hromadka at gmx.net Vienna/Austria/Europe | OECC: http://www.oecc.org/ >>> Rust never sleeps (borrowed from Neil YOUNG) <<< _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Mon, 24 Mar 2003 15:06:26 +0000 From: John Poltorak Subject: crypt.h & md5.h GNU UFC includes the headers crypt.h and md5.h (as well as ufc-crypt.h). Should any of these be installed to /usr/include when installing crypt? I have just built crypt which creates ufc.a and ufc.lib which I intend to install in /usr/lib, and it also creates cert.exe, speedf.exe and ufc.exe. I've never come across these three. Should they be installed in /usr/bin? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Mon, 24 Mar 2003 15:22:18 +0000 From: John Poltorak Subject: Re: Expat On Mon, Mar 24, 2003 at 01:43:23PM +0100, Hannes Hromadka wrote: > > > Yes, v1.95.6 built with "build expat". It used autoconf and libtool a > > > lot. > > > > That's great. I wonder if there is any way to ensure the build works > > correctly... > > I used it for building Apache2 and Apache had no problems with it. So have you managed to build both version of Apache now? > Ciao, Hannes > > -- > Johannes Hromadka | Email Office: HromadkaJ at gmx.at > | Home : Johannes.Hromadka at gmx.net > Vienna/Austria/Europe | OECC: http://www.oecc.org/ > >>> Rust never sleeps (borrowed from Neil YOUNG) <<< -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 24 Mar 2003 16:47:38 +0100 From: Hannes Hromadka Subject: Re: Expat On Mon, Mar 24, 2003 at 03:22:18PM +0000, John Poltorak wrote: > > I used it for building Apache2 and Apache had no problems with it. > > So have you managed to build both version of Apache now? I did not try to run configure for 1.3.27, I was happy after a successfull run of make using the supplied makefile in the os/2 distro. I had the problem with the lib file. I just copied lib.a to .a (Quick and dirty) For Apache2 see my mail to this list from last week Date: Tue, 18 Mar 2003 09:34:08 +0100 Subject: Re: In search of crypt(), Building Apache2 Message-ID: <20030318083408.GA22985 at vies003x.sie.siemens.at> The main problems are: test -x not working using the correct compiler/linker switches See the files in the build dir of the binary distribution of apache2 as a reference CFLAGS = -O2 -Zmt CXXFLAGS = -O2 -Zmt LDFLAGS = -s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files Ciao, Hannes -- Johannes Hromadka | Email Office: HromadkaJ at gmx.at | Home : Johannes.Hromadka at gmx.net Vienna/Austria/Europe | OECC: http://www.oecc.org/ >>> Rust never sleeps (borrowed from Neil YOUNG) <<< _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Mon, 24 Mar 2003 16:48:03 +0000 From: John Poltorak Subject: Re: crypt.h & md5.h On Mon, Mar 24, 2003 at 05:43:31PM +0100, Stefan.Neis at t-online.de wrote: > > Should any of these be installed to /usr/include when > > installing crypt? > > I have just built crypt which creates ufc.a and ufc.lib > > which I intend to > > install in /usr/lib, and it also creates cert.exe, > > speedf.exe and ufc.exe. > > I've never come across these three. Should they be > > installed in /usr/bin? > > The real problem rather is, that all those add-ons are not > at the expected location. I believe most apps will expect > to find the crypt prototype within pwd.h and the code in > either the C library (BSD, Posix/2's current CVS) or > within libcrypt.a (Solaris, Linux?). > So I would rather not clutter the standard directories with > all those non-standard headers/libraries/binaries. The problem is that I need to build Perl with crypt support... How do you suggest I do that? > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Mon, 24 Mar 2003 17:43:31 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: crypt.h & md5.h Hi, > GNU UFC includes the headers crypt.h and md5.h (as well > as ufc-crypt.h). > > Should any of these be installed to /usr/include when > installing crypt? > I have just built crypt which creates ufc.a and ufc.lib > which I intend to > install in /usr/lib, and it also creates cert.exe, > speedf.exe and ufc.exe. > I've never come across these three. Should they be > installed in /usr/bin? The real problem rather is, that all those add-ons are not at the expected location. I believe most apps will expect to find the crypt prototype within pwd.h and the code in either the C library (BSD, Posix/2's current CVS) or within libcrypt.a (Solaris, Linux?). So I would rather not clutter the standard directories with all those non-standard headers/libraries/binaries. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Mon, 24 Mar 2003 19:32:35 +0000 From: John Poltorak Subject: Re: crypt.h & md5.h On Mon, Mar 24, 2003 at 10:57:44AM -0700, sma at sohnen-moe.com wrote: > > >GNU UFC includes the headers crypt.h and md5.h (as well as > >ufc-crypt.h). > >Should any of these be installed to /usr/include when installing crypt? > > > Yes. I put these in /usr/local/. It keeps them separate from the > standard stuff, although it can be difficult to say what is "standard" > at times. > The .h represent the "interface" to the libraries. Compilers get all > twitchy when they cannot find header files. > You also should update the *INCLUDE* and *LIBRARY* paths to include > /usr/local/include/ and lib/, and PATH to include /usr/loca/bin/. This is all getting a little messy... If the headers are required but provided by something else, I'd rather use that. crypt() seems to be a standard function so I think it would be best to use a posix solution. I would prefer to have the headers and libs included in Posix/2, but unfortunately Perl won't yet build with Posix/2, so I'll need to figure out a kludge just for Perl. Which other apps use crypt() or crypt.h and md5.h? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Mon, 24 Mar 2003 20:00:35 +0000 From: Csaba Subject: Re[2]: New UX2BS Hello John, Saturday, March 1, 2003, 9:02:14 AM, you wrote: [snip] JP> Less needs a couple of headers from Xfree to build a particular program, JP> but we haven't started on X yet. Then it should be built --without-X (i.e. pass "--without-X" when running configure) -- Csaba mailto:adwx88 at uk.uumail.com Ceci n'est pas un .signature! _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Mon, 24 Mar 2003 20:01:35 +0000 From: John Poltorak Subject: Re: New UX2BS On Mon, Mar 24, 2003 at 08:00:35PM +0000, Csaba wrote: > Hello John, > > Saturday, March 1, 2003, 9:02:14 AM, you wrote: > > [snip] > JP> Less needs a couple of headers from Xfree to build a particular program, > JP> but we haven't started on X yet. > > Then it should be built --without-X (i.e. pass "--without-X" when > running configure) If you look at the way less is currently built, you see it isn't using configure, but the supplied OS/2 Makefile... I'm not sure if it currently builds using configure... > -- > Csaba mailto:adwx88 at uk.uumail.com > Ceci n'est pas un .signature! -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Mon, 24 Mar 2003 20:21:00 +0000 From: "Lyn St George" Subject: Re: crypt.h & md5.h On Mon, 24 Mar 2003 19:32:35 +0000, John Poltorak wrote: >> You also should update the *INCLUDE* and *LIBRARY* paths to include >> /usr/local/include/ and lib/, and PATH to include /usr/loca/bin/. > > >This is all getting a little messy... If the headers are required but >provided by something else, I'd rather use that. crypt() seems to be a >standard function so I think it would be best to use a posix solution. My own c_include_path has f:/usr/test/include;f:/usr/include;f:/usr/local/include;f:/emx/include;f:/xfree86/include apart from the first 'test' dir the rest ought to be fairly standard, I would have thought. library_path follows the same principle, and LIBPATH also includes this same stuff. crypt.lib, ufc.lib, crypt.h are all findable by 'which' and hence by any app requiring them during the build process >I would prefer to have the headers and libs included in Posix/2, but >unfortunately Perl won't yet build with Posix/2, so I'll need to figure >out a kludge just for Perl. > >Which other apps use crypt() or crypt.h and md5.h? Openssl, mod_ssl and similar perhaps?? - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Mon, 24 Mar 2003 20:21:39 +0000 From: John Poltorak Subject: Re: crypt.h & md5.h On Mon, Mar 24, 2003 at 01:00:16PM -0700, sma at sohnen-moe.com wrote: > > > >Which other apps use crypt() or crypt.h and md5.h? > > > Apache, PHP, immdiately come to mind. md5 is used by just about > anything that requires authentication. It would be nice to find a definitive source for md5.h... although I suspect this may open up a can of worms... I found one under src/include in OpenBSD but it's nothing like the one in GLIBC.... -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Mon, 24 Mar 2003 20:45:53 +0000 From: John Poltorak Subject: Re: crypt.h & md5.h On Mon, Mar 24, 2003 at 08:21:00PM +0000, Lyn St George wrote: > crypt.lib, ufc.lib, crypt.h are all findable by 'which' and hence by any > app requiring them during the build process > > >I would prefer to have the headers and libs included in Posix/2, but > >unfortunately Perl won't yet build with Posix/2, so I'll need to figure > >out a kludge just for Perl. > > > >Which other apps use crypt() or crypt.h and md5.h? > > Openssl, mod_ssl and similar perhaps?? I just looked at Openssl and that has it's own local md5.h and looking at GNUUFC the md5.h there is also a local file, so maybe it doesn't need to be included as a standard header. As for crypt.h, a quick trip to Google shows that *BSD users have problems locating crypt.h too... Isn't there some other package besides GLIBC which contains it? > - > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Mon, 24 Mar 2003 22:06:17 +0000 From: Csaba Subject: Re[2]: fork Hello Ken, Sunday, March 9, 2003, 2:33:40 AM, you wrote: KA> I find it simply amazing with all the really good os2 system programmers KA> out there that one of them has not implemented a decent fork. Henry KA> Sabotka, Holger Veit, Knut St.Osmundsen, Sam Detweiler..... just to name KA> a few. It is, of course, left as an exercise for the reader :-) -- Csaba mailto:adwx88 at uk.uumail.com Ceci n'est pas un .signature! _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Mon, 24 Mar 2003 22:11:42 +0000 From: Csaba Subject: Re[2]: Apache Hello John, Wednesday, March 12, 2003, 12:52:16 PM, you wrote: JP> AIUI v2 takes advantage of threads and is much better suited to an OS/2 JP> environment, although from what you say it may not yet be ready for JP> primetime... It's been good enough for apache.org for several months now :-) I have to admit that I never managed to build Apache 2.x on OS/2 whereas building 1.3.x was relatively painless. Of course, this was about a year ago when the build system still had teething problems, plus I'm usually trigger-happy when it comes to installing things, which probably resulted in my build environment being, umm, unique :-) -- Csaba mailto:adwx88 at uk.uumail.com Ceci n'est pas un .signature! _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Mon, 24 Mar 2003 22:19:37 +0000 From: Csaba Subject: Re[2]: Building httpd Hello John, Monday, March 17, 2003, 10:26:03 AM, you wrote: JP> Maybe it would be easier to start by building an older version such v1.3.x JP> which is well documented here:- JP> http://silk.apana.org.au/apache/building.html Note that 1.3.x uses a mixture of autoconf and its own (or its own which mimics autoconf), whereas 2.x has "embraced the dark side" i.e. autoconf to the death :-) -- Csaba mailto:adwx88 at uk.uumail.com Ceci n'est pas un .signature! _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs