On Jun 26, 2008, at 2:12 PM, Israel Chauca <[EMAIL PROTECTED]> wrote: > > I get the next text before crafty exits: > > unable to open book file [./book.bin]. > book is disabled > unable to open book file [./books.bin]. > ERROR. shmget() failed, unable to allocate a shared memory segment. > Please verify that your /proc/sys/kernel/shmmax value is > large enough to allow allocating the amount of memory you > are requesting. "echo 1000000000 > /proc/sys/kernel/shmmax" > will allow a segment up to one billion bytes. > :-) Oh yeah, that.
That's not a problem with your particular crafty build, but is a crafty/os x issue. Crafty wants an enormous shared memory segment and os x has a somewhat small shmmax value by default. Here's what you can do: As root on the command line, type sysctl -w kern.sysv.shmmax=1073741824 sysctl -w > > > --- > ---------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Scid-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scid-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Scid-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scid-users
