Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 09:14:10 -0700
From:      Jared Updike <jupdike@gmail.com>
To:        freebsd-mono@freebsd.org
Subject:   Can't build mono-2.4.2.1 on FreeBSD 6.2 Release
Message-ID:  <8b108f950907150914r49072e94v37b95e61cc089c08@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

I'm running FreeBSD 6.2 Release inside Parallels on Mac OS X
Leopard/Intel (which had a package installer for Mono which
unsurprisingly worked perfectly :-) :-(.

I updated my ports tree with portsnap last night, then went to build
mono-2.4.2.1:

cd /usr/ports/lang/mono
sudo make install clean

After building much of mono it gets to the runtime folder and then bombs:

.. [clip] ...
gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/data'
Making all in runtime
gmake[2]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && gmake NO_DIR_CHECK=1 PROFILES='net_1_1 net_2_0 net_3_5
net_2_1' CC='cc' all-profiles
gmake[3]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake profile-do--net_1_1--all profile-do--net_2_0--all
profile-do--net_3_5--all profile-do--net_2_1--all
gmake[4]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake PROFILE=basic all
gmake[5]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 1
gmake[6]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 138
gmake[8]: Entering directory `/usr/ports/lang/mono/work/mono-2.4.2.1/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/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[7]: *** [do-profile-check] Error 2
gmake[7]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[6]: *** [do-profile-check-monolite] Error 2
gmake[6]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[5]: *** [do-profile-check] Error 2
gmake[5]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4.2.1'
gmake: *** [all] Error 2
*** Error code 1

I'm basically have the same problem as here:

http://code.google.com/p/bsd-sharp/issues/detail?id=7

mentioned by RealFduch

Any leads would be helpful. I'm not a Makefile expert or FreeBSD
expert but I'll try stuff and submit patches if we fix any problems,
etc.

Thanks for any help.

 Jared.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b108f950907150914r49072e94v37b95e61cc089c08>