Aleksander Piotrowski wrote:
Updated port, with those patches the build phase stops later with a core dump but the mono binary seems to work:hiyou'll find attached first attempt at mono port. simple hello world program (http://www.softsteel.co.uk/tutorials/cSharp/lesson3.html) works for me on my i386 box.
# /usr/obj/ports/mono-2.0/mono-2.0/mono/mini/mono -V Mono JIT compiler version 2.0 (tarball) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: normal GC: System Boehm (with typed GC) SIGSEGV: normal Notification: Thread + polling Architecture: amd64 Disabled: none # Cheers Giovanni
mono-2.0.tgz
Description: Binary data
gmake[4]: Entering directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake PROFILE=basic all gmake[5]: Entering directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[6]: mcs: Command not found gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127 gmake[6]: Entering directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' *** The compiler 'mcs' doesn't appear to be usable. *** Trying the 'monolite' directory. gmake[7]: Entering directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' ** ** ERROR:(mini-amd64.c:199):amd64_patch: assertion failed: (amd64_is_imm32 (disp)) Stacktrace: Abort trap (core dumped) gmake[8]: *** [build/deps/basic-profile-check.exe] Error 134 gmake[8]: Entering directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' *** The contents of your 'monolite' directory may be out-of-date *** You may want to try 'make get-monolite-latest' gmake[8]: *** [do-profile-check-monolite] Error 1 gmake[8]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[7]: *** [do-profile-check] Error 2 gmake[7]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[6]: *** [do-profile-check-monolite] Error 2 gmake[6]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[5]: *** [do-profile-check] Error 2 gmake[5]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[4]: *** [profile-do--basic--all] Error 2 gmake[4]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[3]: *** [profiles-do--all] Error 2 gmake[3]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/mcs' gmake[2]: *** [all-local] Error 2 gmake[2]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0/runtime' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/obj/ports/mono-2.0/mono-2.0' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/mystuff/lang/mono (line 2169 of /usr/ports/infrastructure/mk/bsd.port.mk).