Date: Wed, 5 Jan 2005 00:04:18 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 492 ************************************************** Tuesday 04 January 2005 Number 492 ************************************************** Subjects for today 1 Open Source SNMP : John Poltorak 2 Postgres admin : John Poltorak 3 Re: Postgres admin : Bart van Leeuwen" 4 Re: Postgres admin : Lyn St George" 5 Re: cmovbe : Knut St. Osmundsen" 6 Re: Postgres admin : John Poltorak 7 Re: Postgres admin : Robert Henschel 8 Re: cmovbe : Dave Yeo" 9 Re: cmovbe : John Poltorak 10 Re: cmovbe : John Poltorak 11 Re: fork() FXSAVE and Pentium Pro : Dave Yeo" 12 Re: Postgres admin : John Poltorak 13 Re: Postgres admin : Lyn St George" 14 Re: cmovbe : Dave Yeo" 15 Re: cmovbe : John Poltorak 16 Re: cmovbe : Dave Yeo" 17 Re: Postgres admin : lsunley at mb.sympatico.ca 18 Program to demonstrate fork DLL load errors : lsunley at mb.sympatico.ca 19 Re: cmovbe : John Poltorak **= Email 1 ==========================** Date: Mon, 3 Jan 2005 14:46:08 +0000 From: John Poltorak Subject: Open Source SNMP Is there an open source version of SNMP? It looks like Netfinity for OS/2 has completely disappeared now. -- John **= Email 2 ==========================** Date: Mon, 3 Jan 2005 14:48:12 +0000 From: John Poltorak Subject: Postgres admin Is there an equivalent of phpMyAdmin for PostrgreSQL? -- John **= Email 3 ==========================** Date: Mon, 3 Jan 2005 17:14:20 +0100 From: "Bart van Leeuwen" Subject: Re: Postgres admin phPgAdmin I use it on old postgres on OS/2 php works like a charm With Regards Bart van Leeuwen **= Email 4 ==========================** Date: Mon, 03 Jan 2005 15:30:25 +0000 (GMT) From: "Lyn St George" Subject: Re: Postgres admin On Mon, 3 Jan 2005 14:48:12 +0000, John Poltorak wrote: >Is there an equivalent of phpMyAdmin for PostrgreSQL? Webmin has a Postgres module ... >-- >John > > > - Lyn **= Email 5 ==========================** Date: Mon, 03 Jan 2005 16:28:43 +0100 From: "Knut St. Osmundsen" Subject: Re: cmovbe John Poltorak wrote: > While trying to build POVRAY I get this error:- > > make all-recursive > make[1]: Entering directory `G:/ux2bs/workdir/povray-3.6.1' > Making all in libraries > make[2]: Entering directory `G:/ux2bs/workdir/povray-3.6.1/libraries' > Making all in zlib > make[3]: Entering directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' > make all-am > make[4]: Entering directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -pipe -O3 > -march=i686 - ^^^^^^^^^^^ > mcpu=i686 -malign-double -c `test -f 'adler32.c' || echo './'`adler32.c > {standard input}: Assembler messages: > {standard input}:28: Error: no such 386 instruction: `cmovbe' > make[4]: *** [adler32.o] Error 1 > make[4]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1' > make: *** [all] Error 2 > > > Any ideas? > > It looks like an error building zlib. I thought zlib could be built on > OS/2 without any problems... You probably didn't build it with -march=i686 and didn't see the problem. (cmovbe is a conditional move instruction introduced with P6 to remove some branch instruction and thus optimizing execution. GCC will generate it when given -march=i686.) So, this must be a problem with the assembler... Either you're not getting the right as.exe, or something's wrong in the configuration of it. Can you try do the compilation steps manually: 1. as --version 2. gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -pipe -O3 -march=i686 -mcpu=i686 -malign-double -S -o adler32-as.S adler32.c 3. as -o adler32-as.o adler32-as.S If this works check which as gcc is actually using by specifying '-v': 4. gcc -v -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -pipe -O3 -march=i686 -mcpu=i686 -malign-double -c -o adler32.o adler32.c Kind Regards, knut **= Email 6 ==========================** Date: Mon, 3 Jan 2005 15:32:29 +0000 From: John Poltorak Subject: Re: Postgres admin On Mon, Jan 03, 2005 at 05:14:20PM +0100, Bart van Leeuwen wrote: > > phPgAdmin > > I use it on old postgres on OS/2 php works like a charm Would you expect it to work with v8? > With Regards > Bart van Leeuwen > > -- John **= Email 7 ==========================** Date: Mon, 03 Jan 2005 16:41:41 +0100 From: Robert Henschel Subject: Re: Postgres admin Bart van Leeuwen wrote: > phPgAdmin > > I use it on old postgres on OS/2 php works like a charm I use it with the new postgres v8 and it works quite well! Robert **= Email 8 ==========================** Date: Mon, 03 Jan 2005 07:54:59 -0800 From: "Dave Yeo" Subject: Re: cmovbe On Mon, 3 Jan 2005 12:04:11 +0000, John Poltorak wrote: >make[4]: Entering directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' >gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -pipe -O3 >-march=i686 - >mcpu=i686 -malign-double -c `test -f 'adler32.c' || echo './'`adler32.c >{standard input}: Assembler messages: >{standard input}:28: Error: no such 386 instruction: `cmovbe' >make[4]: *** [adler32.o] Error 1 >make[4]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' >make[3]: *** [all] Error 2 >make[3]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' >make[2]: *** [all-recursive] Error 1 >make[2]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1/libraries' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `G:/ux2bs/workdir/povray-3.6.1' >make: *** [all] Error 2 > > >Any ideas? > >It looks like an error building zlib. I thought zlib could be built on >OS/2 without any problems... What GCC are you using? Try changing the -march, --mcpu to i486? Dave **= Email 9 ==========================** Date: Mon, 3 Jan 2005 16:01:17 +0000 From: John Poltorak Subject: Re: cmovbe On Mon, Jan 03, 2005 at 07:54:59AM -0800, Dave Yeo wrote: > On Mon, 3 Jan 2005 12:04:11 +0000, John Poltorak wrote: > > >It looks like an error building zlib. I thought zlib could be built on > >OS/2 without any problems... > > What GCC are you using? Try changing the -march, --mcpu to i486? This is with my standard UX2BS environment using gcc 2.8.1. Where would the -march flag have been set? > Dave > -- John **= Email 10 ==========================** Date: Mon, 3 Jan 2005 15:59:04 +0000 From: John Poltorak Subject: Re: cmovbe On Mon, Jan 03, 2005 at 04:28:43PM +0100, Knut St. Osmundsen wrote: > > > John Poltorak wrote: > > While trying to build POVRAY I get this error:- > > > > make all-recursive > > make[4]: Entering directory `G:/ux2bs/workdir/povray-3.6.1/libraries/zlib' > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -pipe -O3 > > -march=i686 - > ^^^^^^^^^^^ > > mcpu=i686 -malign-double -c `test -f 'adler32.c' || echo './'`adler32.c > > {standard input}: Assembler messages: > > {standard input}:28: Error: no such 386 instruction: `cmovbe' > > make[4]: *** [adler32.o] Error 1 > > > > Any ideas? > > > > It looks like an error building zlib. I thought zlib could be built on > > OS/2 without any problems... > > You probably didn't build it with -march=i686 and didn't see the > problem. I just tried building it straight out of the box using autoconf, configure and make. Presumably configure would have set the flag... > Kind Regards, > knut -- John **= Email 11 ==========================** Date: Mon, 03 Jan 2005 08:06:44 -0800 From: "Dave Yeo" Subject: Re: fork() FXSAVE and Pentium Pro On Mon, 3 Jan 2005 12:30:29 +0100, Stefan.Neis at t-online.de wrote: >Truth might be similar to the "Pentium II and a half" above, maybe it's not working >with older Athlon versions and it does work with newer ones? Well according to the Wikipedia (http://en.wikipedia.org/wiki/SSE1) AMD introduced it (SSE) with the Athlon_XP. Dave **= Email 12 ==========================** Date: Mon, 3 Jan 2005 17:04:42 +0000 From: John Poltorak Subject: Re: Postgres admin On Mon, Jan 03, 2005 at 03:30:25PM +0000, Lyn St George wrote: > On Mon, 3 Jan 2005 14:48:12 +0000, John Poltorak wrote: > > >Is there an equivalent of phpMyAdmin for PostrgreSQL? > > Webmin has a Postgres module ... Does it work on OS/2? > - > Lyn -- John **= Email 13 ==========================** Date: Mon, 03 Jan 2005 17:41:57 +0000 (GMT) From: "Lyn St George" Subject: Re: Postgres admin On Mon, 3 Jan 2005 17:04:42 +0000, John Poltorak wrote: >On Mon, Jan 03, 2005 at 03:30:25PM +0000, Lyn St George wrote: >> On Mon, 3 Jan 2005 14:48:12 +0000, John Poltorak wrote: >> >> >Is there an equivalent of phpMyAdmin for PostrgreSQL? >> >> Webmin has a Postgres module ... > >Does it work on OS/2? I haven't had a chance to try Postgres yet, but I would expect the module to work. It would need both the DBI and DBD::Pg perl modules installed into your perl tree - but then the CPAN module in Webmin can do that. >> - >> Lyn >-- >John > > > > - Lyn **= Email 14 ==========================** Date: Mon, 03 Jan 2005 11:01:08 -0800 From: "Dave Yeo" Subject: Re: cmovbe On Mon, 3 Jan 2005 16:01:17 +0000, John Poltorak wrote: >> What GCC are you using? Try changing the -march, --mcpu to i486? > >This is with my standard UX2BS environment using gcc 2.8.1. > >Where would the -march flag have been set? In CFLAGS Dave **= Email 15 ==========================** Date: Mon, 3 Jan 2005 19:11:27 +0000 From: John Poltorak Subject: Re: cmovbe On Mon, Jan 03, 2005 at 11:01:08AM -0800, Dave Yeo wrote: > On Mon, 3 Jan 2005 16:01:17 +0000, John Poltorak wrote: > > >> What GCC are you using? Try changing the -march, --mcpu to i486? > > > >This is with my standard UX2BS environment using gcc 2.8.1. > > > >Where would the -march flag have been set? > > In CFLAGS Presumably this would have been done by configure because of some test which it ran... > Dave > -- John **= Email 16 ==========================** Date: Mon, 03 Jan 2005 11:16:20 -0800 From: "Dave Yeo" Subject: Re: cmovbe On Mon, 3 Jan 2005 15:59:04 +0000, John Poltorak wrote: >> You probably didn't build it with -march=i686 and didn't see the >> problem. > >I just tried building it straight out of the box using autoconf, >configure and make. Presumably configure would have set the flag... Not good as you'll end up with a binary that won't run on anything less then a 686 (pentium pro) Dave **= Email 17 ==========================** Date: Mon, 03 Jan 2005 18:36:45 -0500 From: lsunley at mb.sympatico.ca Subject: Re: Postgres admin Apparently, Someone told me that phpPgAdmin worked fine with the postgreSQL v8.0 rc 1 code Lorne In <20050103144812.K1208 at warpix.org>, on 01/03/05 at 02:48 PM, John Poltorak said: >Is there an equivalent of phpMyAdmin for PostrgreSQL? -- ----------------------------------------------------------- lsunley at mb.sympatico.ca ----------------------------------------------------------- **= Email 18 ==========================** Date: Mon, 03 Jan 2005 23:59:34 -0500 From: lsunley at mb.sympatico.ca Subject: Program to demonstrate fork DLL load errors This zip file has two simple test cases that demonstrate problems with loading DLL's in a fork()ed program buildit.cmd - build commands testfork.c - makes testfork.exe testit.c testit.def - makes testit.dll testfork2.c - makes testfork2.exe testit2.c testit2.def - makes testit2.dll testfork dlopen's and dlsym's a DLL and then attempts a fork. The DLL loads correctly and the routine address resolves but the fork fails... testfork2 forks and then attempts to dlopen and dlsym a DLL. The fork works but the dlopen returns a 295 error and (needless to say) dlsym fails. Executables included - you need libc06b2.dll to run the tests. Lorne Sunley -- ----------------------------------------------------------- lsunley at mb.sympatico.ca ----------------------------------------------------------- **= Email 19 ==========================** Date: Tue, 4 Jan 2005 09:27:58 +0000 From: John Poltorak Subject: Re: cmovbe On Mon, Jan 03, 2005 at 11:16:20AM -0800, Dave Yeo wrote: > On Mon, 3 Jan 2005 15:59:04 +0000, John Poltorak wrote: > > >> You probably didn't build it with -march=i686 and didn't see the > >> problem. > > > >I just tried building it straight out of the box using autoconf, > >configure and make. Presumably configure would have set the flag... > > Not good as you'll end up with a binary that won't run on anything less then a 686 > (pentium pro) This is what happens when running POVRAY's configure:- Compiling ---------