Changeset View
Changeset View
Standalone View
Standalone View
lang/mono/pkg-message
[ | [ | ||||
{ type: install | { type: install | ||||
message: <<EOM | message: <<EOM | ||||
If you have build/runtime errors with Mono and Gtk# apps please try the | If you have build/runtime errors with Mono and Gtk# apps please try the | ||||
following first: | following first: | ||||
* Build Mono and gtk+ (x11-toolkits/gtk20) without CPUTYPE and with the | |||||
default FreeBSD CFLAGS ('-O2 -fno-strict-aliasing -pipe') as Mono has | |||||
been known to expose compiler bugs. | |||||
* 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. | * Remove leftover semaphores / increase semaphore limits. | ||||
- Close apps which use Mono and run `ipcs -sbt`. Remove the | - Close apps which use Mono and run `ipcs -sbt`. Remove the | ||||
semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1) | semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1) | ||||
- _OR_ simply reboot which is the safest method. | - _OR_ simply reboot which is the safest method. | ||||
- On multi-user systems the semaphore limits may need to be increased | - On multi-user systems the semaphore limits may need to be increased | ||||
from the defaults. The following should comfortably support 30 users. | from the defaults. The following should comfortably support 30 users. | ||||
# echo "kern.ipc.semmni=40" >> /boot/loader.conf | # echo "kern.ipc.semmni=40" >> /boot/loader.conf | ||||
Show All 13 Lines |