Date: Mon, 20 Dec 2004 00:05:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 478 ************************************************** Sunday 19 December 2004 Number 478 ************************************************** Subjects for today 1 Re: postgreSQL progress : John Poltorak 2 Re: Building SMAKE/STAR etc : Dave Yeo" 3 Re: octave port : Andy Willis 4 Re: postgreSQL progress : lsunley at mb.sympatico.ca 5 Re: postgreSQL progress : Knut St. Osmundsen" 6 Re: octave port : Steven Levine" **= Email 1 ==========================** Date: Sat, 18 Dec 2004 14:58:33 +0000 From: John Poltorak Subject: Re: postgreSQL progress On Fri, Dec 17, 2004 at 07:03:56PM -0500, lsunley at mb.sympatico.ca wrote: > Well, > > It is now working - more or less - at least the server starts up and shuts > down correctly. I should be able to have an alpha/beta of postreSQL RC1 > out by late sunday. Will it be functionally equivalent to Vinceno Venuto's port? I spent some trying to get that working at one point so it would be nice to capitalise on whatever I gleaned from that experience. BTW the contact referenced at Hobbes for his ports are no longer valid, so is he no longer developing his port? > Lorne > > -- > ----------------------------------------------------------- > lsunley at mb.sympatico.ca > ----------------------------------------------------------- -- John **= Email 2 ==========================** Date: Sat, 18 Dec 2004 07:26:17 -0800 From: "Dave Yeo" Subject: Re: Building SMAKE/STAR etc On Thu, 16 Dec 2004 09:21:06 +0000, John Poltorak wrote: >What changes need to be made to various utilities such as smake, star etc >developed by Joerg Schilling to make them build on OS/2? > >They come with build instructions for OS/2 but I haven't managed to make >them work. Has anyone else? Building smake-1.2a23 I needed star to unpack the tar archive star -x -copylinks < smake-1.2a23.tar.gz (run twice so symlinks all resolve) Then need to remove -Zexe from psmake/MAKE-sh and RULES/i386-os2-gcc.rul and run sh Gmake.linux. Install seems to be broken when using Gnu Make so copy smake/OBJ/i386-os2-gcc/smake.exe to PATH (or perhaps use its absolute location) then something like smake INS_BASE=/usr/local install will install to /usr/local. To build smake with Innotek_libc you need to add -lsocket to the LIBS= in smake/Makefile. Star-1.4.3 builds fine using smake but smake install is broken so star needs to be installed manually. Same problems with getting it extracted correctly, I started out by untarring in Linux and zipping it up and transferring to OS/2 Star-1.4.3 also dies if built with innotek_libc due to a sigill Star-1.5 does not build due to unresolved symbol _unlink. I did suceed in building it with innotek_libc but all it did was segfault and I haven't got around to debugging. IIRC cdrtools-2.01 built fine here using smake Dave **= Email 3 ==========================** Date: Sat, 18 Dec 2004 09:32:08 -0700 From: Andy Willis Subject: Re: octave port Steven Levine wrote: >In <41C39EA5.2000107 at comcast.net>, on 12/17/04 > at 08:06 PM, Andy Willis said: > > > >>I have been subscribed (in fact received both of these to the same email >>I am posting from). I don't recall how to subscribe now but don't mind >>doing so if that is what is needed (maybe I posted the other from the >>wrong email by mistake -- guess I will know if this goes through). >> >> > >You are subscribed as of now. You original message did not show up on the >list, so John may have done something for you. IAC, you are here. > > > Yeah, I had sent a note to John and he replied that he had added me when he sent the mail to the list. He said he didn't see my name there. Odd, as to send to the list I pulled the address from an email I had. Though, come to think of it, it was a bit old and I didn't have any newer ones. Can't check it right now as what I referenced below as having deleted was my mozilla profile when I was checking into an issue I am having when launching Firefox/Sunbier/Thunderbird when no profile exists. I had renamed my profiles directory to see if Mozilla made from the same base had the same issue. Unfortunately, I wasn't paying attention and rather than renaming it back I used my treekiller on it. >>Thanks, I was trying to build f2c from the gcc package. I will try the >>netlib package >> >> > >I'm not sure which package is better. > > > I think the netlib package is probably required as I don't see any executable in the gcc package and if you tell Octave to use f2c it expects an executable. >>once I am 100% convinced I can't save some files I >>accidently deleted from my jfs drive (looks like the rexxutil >>SysFileDelete function zero's the file size when it deletes files or at >>least that is what is looks like with my tests so far with trying to >>recover files I have deleted this way using jrescuer). >> >> > >Humm. That not what: > > \Toolkit\Samples\REXX\API\REXXUTIL\REXXUTIL.C > >says. It shows a straight DosDelete(). Do you have some sort of file >security addin installed? You may have just gotten unlucky. > >Steven > > Could be that I was just unlucky. When I didn't find my files (any of them that I had a fairly good idea of the size and date) I went ahead and deleted a file with the del command and found it. I then used my treekiller and I found the directory but the files that were left were 0 size. As I had a whole lot of zero size files I think that is what happened. In the test case I knew the i-nodes so could find the directory, unfortunately, there are no names just i-nodes, and create date, access date, and mdify date, size, and ea size. I am trying to build logdump from the open source jfs so I can see if I can find i-node information from that. It is probably to late this time but maybe I can make use of it if I do this again (have gone 4+ years with no undelete in JFS without issue so I guess I was due). Anyway, I definately can't find my files and there are *a lot* of 0 size files (oh, and no I don't have any security addins). I will do some more testing as I didn't expect this as when I had tried setting the deldir in config sys it would move the files to the deleted directory until I added setlocal and cleared the deldir environment variable (I know this contradicts with what I am seeing now as it wasn't 0 then but best I can tell right now it is happening). Well, this is off-topic here... if you have any interest in this I can send you the full script which is fairly short or if you search hobbes for treegone. There will be 2 hits. One is just treegone and the other is diskutil which contains treegone (AFAIR they should both be the same). Andy **= Email 4 ==========================** Date: Sat, 18 Dec 2004 10:21:26 -0500 From: lsunley at mb.sympatico.ca Subject: Re: postgreSQL progress Hi I'm not sure if he (Venuto) is still working on his port, that is one of the reasons I decided to port the new v8.0 postgreSQL. The new version 8.0 of the database seems to support all the version 7 stuff and also allows for tablespaces etc. See the postgreSQL main web site for the changes http://www.postgresql.org The port I am doing will support the full functionality of the v7 port and more. The new v8 code has .exe files instead of scripts for things line initdb, createuser, createdb etc, etc. That means that users do not have to have a *nix shell around to use the database. Right now it is all working with the exception of the statistics reporting. I have a bug in there but the database itself works and executes SQL. I am working on an install package for the code so I can send it out for testing and/or "non-critical" use. That should be ready to go tomorrow (and I hope those are not "famous last words"). The postgreSQL folks are agreeable with including my OS/2 patches into the official release after the v8.0 GA is done. That would mean v8.1 would have OS/2 support. This particular port is dependant on GCC 3.3.5 LIBC06 fork code. The fork stuff works well. The main hack I had to do was to partly implement sysV semaphores and shared memory handling, and attach the shared memory region after every fork() call. The standard fork() automatically attaches shared memory for child processes but Knut has not done that yet (probably because it requires a full implementation of the *nix IPC handling). BTW - thanks Knut - gcc 3.3.5 B2 is working quite well Lorne In <20041218145833.G32443 at warpix.org>, on 12/18/04 at 02:58 PM, John Poltorak said: >On Fri, Dec 17, 2004 at 07:03:56PM -0500, lsunley at mb.sympatico.ca wrote: >> Well, >> >> It is now working - more or less - at least the server starts up and shuts >> down correctly. I should be able to have an alpha/beta of postreSQL RC1 >> out by late sunday. >Will it be functionally equivalent to Vinceno Venuto's port? I spent some > trying to get that working at one point so it would be nice to >capitalise on whatever I gleaned from that experience. >BTW the contact referenced at Hobbes for his ports are no longer valid, >so is he no longer developing his port? -- ----------------------------------------------------------- lsunley at mb.sympatico.ca ----------------------------------------------------------- **= Email 5 ==========================** Date: Sun, 19 Dec 2004 09:01:03 +0000 From: "Knut St. Osmundsen" Subject: Re: postgreSQL progress lsunley at mb.sympatico.ca wrote: > Hi > > I'm not sure if he (Venuto) is still working on his port, that is one of > the reasons I decided to port the new v8.0 postgreSQL. The new version 8.0 > of the database seems to support all the version 7 stuff and also allows > for tablespaces etc. See the postgreSQL main web site for the changes > http://www.postgresql.org > > The port I am doing will support the full functionality of the v7 port and > more. The new v8 code has .exe files instead of scripts for things line > initdb, createuser, createdb etc, etc. That means that users do not have > to have a *nix shell around to use the database. > > Right now it is all working with the exception of the statistics > reporting. I have a bug in there but the database itself works and > executes SQL. > > I am working on an install package for the code so I can send it out for > testing and/or "non-critical" use. That should be ready to go tomorrow > (and I hope those are not "famous last words"). > > The postgreSQL folks are agreeable with including my OS/2 patches into the > official release after the v8.0 GA is done. That would mean v8.1 would > have OS/2 support. > > This particular port is dependant on GCC 3.3.5 LIBC06 fork code. The fork > stuff works well. The main hack I had to do was to partly implement sysV > semaphores and shared memory handling, and attach the shared memory region > after every fork() call. The standard fork() automatically attaches shared > memory for child processes but Knut has not done that yet (probably > because it requires a full implementation of the *nix IPC handling). Did you make use of the Dos API extensions for managing shared memory? If not: DosAllocSharedMemEx for alloc, DosGetSharedMemEx and DosGetNamedSharedMemEx for getting, and DosFreeMemEx for freeing. Must #define INCL_EXAPIS to get the prototypes from os2emx.h. See the bottom of os2emx.h for descriptions details and src/emx/src/lib/sys/Dos*Ex.c for implementation. Yes, I need to do the IPC framework when adding any shm, msg and sem implementation. And presently I don't really have any spare time for doing that. Kind Regards, knut **= Email 6 ==========================** Date: Sun, 19 Dec 2004 00:01:58 -0800 From: "Steven Levine" Subject: Re: octave port In <41C45B88.1030709 at comcast.net>, on 12/18/04 at 09:32 AM, Andy Willis said: >the same base had the same issue. Unfortunately, I wasn't paying >attention and rather than renaming it back I used my treekiller on it. Oops. >I think the netlib package is probably required as I don't see any >executable in the gcc package and if you tell Octave to use f2c it >expects an executable. True. Klaus's 2.1.23 sources included source for all the required subpackages, so building from source built f2c. >Could be that I was just unlucky. It is strange. It may just be that jresucer does not handle all the possible recovery cases yet. >information from that. It is probably to late this time but maybe I can >make use of it if I do this again (have gone 4+ years with no undelete >in JFS without issue so I guess I was due). I very rarely use undelete tools. I've got tools that back up work in progress to a remote system with a couple of keystrokes or mouse clicks. Anything else, I can recover from the backups. > Anyway, I definately can't find my files and there are *a lot* of 0 >size files A large quantity of focused bad luck, it seems. >Well, this is off-topic here... if you have any interest in this I can I'll grab it from hobbes if I get curious. BTW, ISTR that I was able to build Octave using Klaus's distribution. If you get to sticking points, I might be able to figure out what he tweaked. Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.60b #10183 Warp4/FP15/14.100c_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ----------------------------------------------------------------------