forked from Lainports/freebsd-ports
Mono Changes:
- Series release: http://www.go-mono.com/archive/1.1.9/
- Patch release: http://www.go-mono.com/archive/1.1.9.1_0/
(No 1.1.9.2 release announcement.)
Port Changes:
- Add pkg-message to explain reasons for common build failures and
note the need to possibly increase the number of semaphores from
the default FreeBSD amounts.
- Add preliminary amd64 support [1,2] which has been disabled for
the time being due to lingering stability issues.
- Force the Mono build to only write within ${WRKDIR} and no longer
write to ~/.wapi which leads to...
- Add bsd.mono.mk which is a common makefile all Mono consumers will
depend on. Currently this file sets the location of the .wapi the
build process will write to. Since Mono does not cleanup the
semaphore created for a .wapi when the last Mono process exits
this file also handles the removal of the semaphore created during
port building so we do not exhaust the machine's semaphore limit.
Submitted by: Jean-Michel "tuo" Herve <jm.herve@gameproduction.org> [1]
Joe Lewis <joe@joe-lewis.com> [1]
Lou Kamenov on BSD# mailinglist [2]
Approved by: ahze (mentor)
Project by: BSD# <http://www.mono-project.com/Mono:FreeBSD>
29 lines
1.4 KiB
Text
29 lines
1.4 KiB
Text
************************************************************************
|
|
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"
|
|
- _OR_ simply reboot which is the safest method.
|
|
- On multi-user systems the semaphore limits may need to be increased
|
|
from the FreeBSD default of 10 identifiers and 60 total semaphores.
|
|
The following should comfortably support 30 users.
|
|
|
|
# echo "kern.ipc.semmni=40" >> /boot/loader.conf
|
|
# echo "kern.ipc.semmns=300" >> /boot/loader.conf
|
|
|
|
By users we mean local users. XSP can serve multiple clients but
|
|
would count as only one user, the user running XSP.
|
|
************************************************************************
|