pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40565: games/crafty builds, but doesn't run

>Number:         40565
>Category:       pkg
>Synopsis:       games/crafty builds, but doesn't run
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 06 12:30:00 +0000 2009
>Originator:     Alexander Voeltz
>Release:        NetBSD-4.0
NetBSD obrien.ds9.local 4.0 NetBSD 4.0 (CUSTOM) #0: Sat Dec 20 00:26:47 CET 
2008  alex%obrien.ds9.local@localhost:/usr/src/sys/arch/i386/compile/CUSTOM i386
games/crafty (package version is crafty-22.1nb1) builds without any errors, but 
after installation does not run properly. It exits with an error message after 
being started:

$ crafty
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.

Note that the latest entry in the package's CVS commit history refers to 
shmget() calls, suggesting that the problem is already known for other 
Build, install and run games/crafty.

Home | Main Index | Thread Index | Old Index