Date: Tue, 25 Mar 2003 02:39:09 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 115 ************************************************** Monday 24 March 2003 Number 115 ************************************************** Subjects for today 1 Re: crypt.h & md5.h : Andreas Buening 2 Re: Apache : Hannes Hromadka 3 Re: Apache : John Poltorak 4 Re: Building httpd : John Poltorak 5 PHP : John Poltorak 6 Re: GDBM : sma at sohnen-moe.com 7 Re: Apache : Hannes Hromadka 8 Re: GDBM : sma at sohnen-moe.com 9 Re: M4 : sma at sohnen-moe.com 10 Re: Building Apache : sma at sohnen-moe.com 11 GDBM : John Poltorak 12 Re: GDBM : John Poltorak 13 Re: GDBM : Adrian Gschwend" 14 Building Apache : John Poltorak 15 M4 : John Poltorak 16 Re: Building Apache : Lyn St George" **= Email 1 ==========================** Date: Tue, 25 Mar 2003 00:57:21 +0100 From: Andreas Buening Subject: Re: crypt.h & md5.h John Poltorak 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? > > 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? I haven't followed the discussion completely but I'd say: If these crypt files are part of the standard UnixOS/2 distro or if they're required by a program/library of the standard ux2 distro then they belong into /usr. Though this doesn't anwer the question whether they should be part of another library like Posix/2. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 25 Mar 2003 08:50:59 +0100 From: Hannes Hromadka Subject: Re: Apache On Mon, Mar 24, 2003 at 10:11:42PM +0000, Csaba wrote: > 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 > > 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 I have Apache2 built on OS/2 and it runs, but I have problems in combination with PHP4 and MySQL. phpmyadmin 2.2.5 gives a lot of errors in parts where output compression is used. Also some of my own scripts with output compression in php do not work. phpmyadmin 2.4.0 crashes Apache with stack overflow in httpd.exe and or php4.dll. I have 3 installations for testing. Apache 1.3.27 SSL php4.3.1 as reference Apache 2.0.44 binary build from Apache.org with PHP4.3.1 as reference of Apache2 My own 2.0.44 build with SSL and PHP4.3.1 as "testing obect" All thing which cause problems on my build also cause problems on the Apache2 reference installation. On the 1.3.7 reference there are no problems to see. Note that the problems are in the php/MySQL part, which is not stated to be ready for productive systems yet. 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 3 ==========================** Date: Tue, 25 Mar 2003 09:09:33 +0000 From: John Poltorak Subject: Re: Apache > I have Apache2 built on OS/2 and it runs, but I have problems in > combination with PHP4 and MySQL. Have you reported these problems? > phpmyadmin 2.4.0 crashes Apache with stack overflow in httpd.exe and or > php4.dll. I'm just trying to get phpMyAdmin set up. Can you tell me at what point this error occurs? Incidentally, I would be interested in trying to decide on the 'correct' directory structure for Apache/php/MySQL. Whereabouts should php's DLLs, the ones in the modules directory go? Is this a path that would normally be embedded in the main php executable on Unix? > 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 4 ==========================** Date: Tue, 25 Mar 2003 10:11:44 +0000 From: John Poltorak Subject: Re: Building httpd On Mon, Mar 24, 2003 at 10:19:37PM +0000, Csaba wrote: > 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 :-) But since we now have an Autoconf that works OK on OS/2 that should make it easier to build it on OS/2... > -- > 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 5 ==========================** Date: Tue, 25 Mar 2003 10:40:40 +0000 From: John Poltorak Subject: PHP Has anyone come across any instructions for building PHP on OS/2? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 25 Mar 2003 11:09:20 -0700 From: sma at sohnen-moe.com Subject: Re: GDBM > >Does GDBM (v1.8.3) build OK? > Yes. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 25 Mar 2003 14:04:37 +0100 From: Hannes Hromadka Subject: Re: Apache On Tue, Mar 25, 2003 at 09:09:33AM +0000, John Poltorak wrote: > > I have Apache2 built on OS/2 and it runs, but I have problems in > > combination with PHP4 and MySQL. > > Have you reported these problems? Not, yet. Ist it a problem in Apache, or php4 or phpmyadmin ? > > phpmyadmin 2.4.0 crashes Apache with stack overflow in httpd.exe and or > > php4.dll. > > I'm just trying to get phpMyAdmin set up. Can you tell me at what point > this error occurs? In the left frame click Than you can display a lot of statistic infos in the right frame. Try different tabs in the navigation. I did it yesterday at home late in the evening and do not remember on which one it occured. It happened at 2 or 3 of the stats pages. > Incidentally, I would be interested in trying to decide on the 'correct' > directory structure for Apache/php/MySQL. Everything is "correct" as long as the php4.dll, is found. I placed it into my LIBPATH and PHP.exe into the PATH > Whereabouts should php's DLLs, the ones in the modules directory go? Is > this a path that would normally be embedded in the main php executable on > Unix? > See the readme: To use any of these the core module, php4.dll, must be copied to a directory pointed to by your LIBPATH. If you just want to use it for Apache 2.0 it can be installed to the modules directory. As for php.ini: I have placed ETC outside the UX2 environement because that is an easy test if everything is installed ok. If php4.dll is missing or httpd.dll is broken you will see the default location for php.ini in phpinfo() The default is ? /usr/local/lib ? (not sure about that) If everything went ok it shows the path where you placed it. Do not forget to activate the extension for mysql. 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 8 ==========================** Date: Tue, 25 Mar 2003 15:41:10 -0700 From: sma at sohnen-moe.com Subject: Re: GDBM > >ust a question, what exactly *is* GDBM? Gnu Data Base Manager? > Yes, exactly. It is B+-tree type of data manager, it provides indexed access to data stored in a file. It is nothing like a relational database. The original dbm was, hmm, a toy. It did not work very well, or scale at all. gdbm is a robust implementation of dbm. There are at least two others: BSD and (I think) Sleepycat. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 25 Mar 2003 15:47:20 -0700 From: sma at sohnen-moe.com Subject: Re: M4 > >Can anyone build M4? > Yes. It even builds using gcc v3.2.1. Your question implies that you cannot. A copy of the error(s) from the log file might help.... _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 25 Mar 2003 15:55:22 -0700 From: sma at sohnen-moe.com Subject: Re: Building Apache >> >>Can I just leave it as is, accepting all the defaults and expect to build >>something useable? >> Yes. After I got my UX2 system correctly updated (sheesh!), httpd v1.3.27 built without a problem with everything at its default. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 25 Mar 2003 17:15:43 +0000 From: John Poltorak Subject: GDBM Does GDBM (v1.8.3) build OK? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Tue, 25 Mar 2003 19:05:28 +0000 From: John Poltorak Subject: Re: GDBM On Tue, Mar 25, 2003 at 07:42:41PM +0100, Adrian Gschwend wrote: > On Tue, 25 Mar 2003 17:15:43 +0000, John Poltorak wrote: > > >Does GDBM (v1.8.3) build OK? > > Just a question, what exactly *is* GDBM? Gnu Data Base Manager? >From the README:- GNU dbm is a set of database routines that use extendible hashing and works similar to the standard UNIX dbm routines. > I ask > because I want to use phpWiki and it doesn't work so far on my OS/2 box > and during configuration I had to say which DBM I want to use. But I > don't think I have GDBM installed so that might be the problem. It sounds as though you need MySQL, Postgres or somesuch... > > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Tue, 25 Mar 2003 19:42:41 +0100 (MES) From: "Adrian Gschwend" Subject: Re: GDBM On Tue, 25 Mar 2003 17:15:43 +0000, John Poltorak wrote: >Does GDBM (v1.8.3) build OK? Just a question, what exactly *is* GDBM? Gnu Data Base Manager? I ask because I want to use phpWiki and it doesn't work so far on my OS/2 box and during configuration I had to say which DBM I want to use. But I don't think I have GDBM installed so that might be the problem. cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Tue, 25 Mar 2003 20:22:45 +0000 From: John Poltorak Subject: Building Apache According the web page for Building Apache for OS/2:- http://silk.apana.org.au/apache/building.html Besides a standard build environment (pdksh, emx, gnu *utils, make etc) I need a crypt library and GDBM then all I need is to:- " edit src\Configuration to match your requirements, then run "sh -c Configure" from the src directory. If there are no errors, run "make" to build your custom httpd.exe. " src\Configuration is a file of 454 lines!!! How do I know what I need to change? Given that I want to create a Unix-like environment are there any specific settings that I need to make? Does Apache end up with a number of embedded paths determined from this file? Can I just leave it as is, accepting all the defaults and expect to build something useable? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Tue, 25 Mar 2003 21:46:33 +0000 From: John Poltorak Subject: M4 Can anyone build M4? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Tue, 25 Mar 2003 22:33:57 +0000 From: "Lyn St George" Subject: Re: Building Apache On Tue, 25 Mar 2003 20:22:45 +0000, John Poltorak wrote: > > >According the web page for Building Apache for OS/2:- > >http://silk.apana.org.au/apache/building.html > > >Besides a standard build environment (pdksh, emx, gnu *utils, make etc) I >need a crypt library and GDBM then all I need is to:- > > >" edit src\Configuration to match >your requirements, then run "sh -c Configure" from the src directory. >If there are no errors, run "make" to build your custom httpd.exe. " > > >src\Configuration is a file of 454 lines!!! How do I know what I need to >change? Basically it's only a matter of uncommenting lines for modules that you want to build in, or adding any that are not listed. Eg if you want to build with mod_ssl, then you need this (ssl *must* be the last one listed) AddModule modules/ssl/libssl.a of course you need to have done the first steps for ssl before this. >Given that I want to create a Unix-like environment are there any specific >settings that I need to make? Does Apache end up with a number of embedded >paths determined from this file? > >Can I just leave it as is, accepting all the defaults and expect to build >something useable? You can leave it alone and get a working Apache if you want. I always edit src/include/httpd.h for httpd_root and set it to /usr/apache, but that's just my personal preference. I wrote some notes on os2docs.org about this but haven't updated it for ages .. >-- >John > > > >_______________________________________________ >UX2BS mailing list >UX2BS at os2ports.com >http://os2ports.com/mailman/listinfo/ux2bs > - 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