1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/lang/mono/pkg-message
Tom McLaughlin c79a7b5753 Mention in the pkg-message that semaphores can be removed using ipcrm.
I didn't use the submitted patch since I want to keep the pkg-message
one screenful.  Also removed some extra wordage to make the pkg-message
shorter.

PR:		90394
Submitted by:	Michael C. Shultz <ringworm01@gmail.com>
2005-12-17 22:18:39 +00:00

26 lines
1.2 KiB
Plaintext

************************************************************************
If you have build/runtime errors with Mono and Gtk# apps please try the
following first:
* Build Mono and gtk+ (x11-toolkits/gtk20) without CPUTYPE and with the
default FreeBSD CFLAGS as Mono has been known to expose compiler bugs.
- 5.x: '-O -pipe'
- 6.x and higher: '-O2 -fno-strict-aliasing -pipe'
* Try building and running Mono with the GENERIC kernel.
- Mono requires SYSVSHM, SYSVMSG, and SYSVSEM which are part of the
GENERIC kernel.
- Removing kernel options or changing defaults to use experimental
options can adversely affect Mono's ability to build and run.
* Remove leftover semaphores / increase semaphore limits.
- Close apps which use Mono and run `ipcs -sbt`. Remove the
semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1)
- _OR_ simply reboot which is the safest method.
- On multi-user systems the semaphore limits may need to be increased
from the defaults. The following should comfortably support 30 users.
# echo "kern.ipc.semmni=40" >> /boot/loader.conf
# echo "kern.ipc.semmns=300" >> /boot/loader.conf
************************************************************************