On Jun 26, 2008, at 3:48 PM, Garth Corral <[EMAIL PROTECTED]> wrote:

>
> 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
>
To complete that thought.  :-)

As root, type:

sysctl -w kern.sysv.shmmax=1073741824
sysctl -w kern.sysv.shmall=262144

That should allow crafty to run but will not persist across the next  
reboot.  You'll need to edit /etc/sysctl.conf for that.  I'll send out  
some info about that when I get back to an easier to use mail client.
>>
>>

-------------------------------------------------------------------------
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

Reply via email to