Date: Wed, 8 Oct 2003 02:51:18 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 209 ************************************************** Tuesday 07 October 2003 Number 209 ************************************************** Subjects for today 1 Building berkeley db (sleepycat) v4.1 : James Moe" **= Email 1 ==========================** Date: Wed, 08 Oct 2003 10:12:32 -0700 (MST) From: "James Moe" Subject: Building berkeley db (sleepycat) v4.1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, A while I was having a problem with building db. On a computer with 512 MB RAM, it would use all of memory and then start swapping to disk. After a short time messages about fork() failing would appear. Eventually the make would fail, or the computer would crash. On this system whenever a shell command is executed by make, that shell is spawned. When make for db ran, it started nearly 60 instances of sh.exe, each running an instance of libtool and gcc, all (trying to) run simultaneously. Each sh/libtool/gcc would use 5 - 20 MB RAM to do its little job. By running "make -n" and directing the stream to a CMD file, I could run the CMD file to do the build. Each sh ran synchronously instead of parallel. There is no way to fully automate building this package. I have made a readme that describes the process, if anyone is interested. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/hEWAsxxMki0foKoRAs/0AJ9uF0zl2dqiKxK6NUCYLxQ6bcB6IwCgwuSv 0sqiRjgnb1NcxDcNmSnQZ0U= =OP+4 -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs