Can't build Mono 1.9 on FreeBSD 7

1 view
Skip to first unread message

Paul Hoffman

unread,
Sep 26, 2008, 7:31:15 PM9/26/08
to bsd-...@googlegroups.com
Hi again. I'm still trying to run down some problems we have with
Mono. (Summary: something works fine on Mono 1.2 on FreeBSD, but not
on Mono 2.0.) So, I'm trying to build Mono 1.9 (again), and it
appears I have to do so from source.

Building ends with:

. . .
/usr/home/phoffman/Work/Mono19/mono-1.9.1/mono/utils/mono-hash.c:339:
undefined reference to `GC_local_malloc'
../utils/.libs/libmonoutils.a(mono-hash.o)(.text+0x1107): In function
`mono_g_hash_table_insert':
/usr/home/phoffman/Work/Mono19/mono-1.9.1/mono/utils/mono-hash.c:339:
undefined reference to `GC_local_malloc'
*** Error code 1

Stop in /usr/home/phoffman/Work/Mono19/mono-1.9.1/mono/metadata.
*** Error code 1

Stop in /usr/home/phoffman/Work/Mono19/mono-1.9.1/mono.
*** Error code 1

Stop in /usr/home/phoffman/Work/Mono19/mono-1.9.1.
*** Error code 1

Stop in /usr/home/phoffman/Work/Mono19/mono-1.9.1.


Relevant parts of pkg_info are:

bison-2.3_3,1 A parser generator from FSF, (mostly) compatible with Yacc
glib-2.16.5 Some useful routines of C programming (current stable versi
gmake-3.81_2 GNU version of 'make' utility
libtool-1.5.24 Generic shared library support script
linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64)
pcre-7.4 Perl Compatible Regular Expressions library
perl-5.8.8_1 Practical Extraction and Report Language
pkg-config-0.22_1 A utility to retrieve information about installed libraries

I built glib from /usr/ports because it was more recent than the one
from binaries; all others were from binaries.

Has anyone built Mono 1.9 from source with the current source? If so,
what's the magic?

--Paul Hoffman

sam

unread,
Sep 29, 2008, 6:41:19 PM9/29/08
to bsd-...@googlegroups.com
Hi.

I can't tell you anything about 1.9. But svn build works.
Maybe you want to give that a try.

sam.

On Sat, 27 Sep 2008 01:31:15 +0200, Paul Hoffman <phof...@proper.com>
wrote:

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Paul Hoffman

unread,
Sep 29, 2008, 8:53:10 PM9/29/08
to bsd-...@googlegroups.com
At 12:41 AM +0200 9/30/08, sam wrote:
>I can't tell you anything about 1.9. But svn build works.
>Maybe you want to give that a try.

Not sure what you mean by "svn build". I went to
<http://www.go-mono.com/mono-downloads/download.html>, followed the
link for "SVN Builds", and got
<http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-114399.tar.bz2>.

This, too, failed, but in a different way than the original source build.

. . .
gmake[8]: Entering directory
`/usr/home/phoffman/Work/FromSVN/mono-114399/mcs/class/Mono.WebBrowser'
./build-csproj2k5
gmake[8]: ./build-csproj2k5: Command not found
gmake[8]: *** [Mono.WebBrowser2K5.csproj] Error 127
gmake[8]: Leaving directory
`/usr/home/phoffman/Work/FromSVN/mono-114399/mcs/class/Mono.WebBrowser'
gmake[7]: *** [do-all] Error 2
. . .

Can you tell me exactly where you found your 1.9 that compiles on
FreeBSD 7? That would greatly help.

sam

unread,
Sep 30, 2008, 1:38:32 AM9/30/08
to bsd-...@googlegroups.com
Hi

I got the sources as described here http://www.mono-project.com/AnonSVN


sam.

On Tue, 30 Sep 2008 02:53:10 +0200, Paul Hoffman <phof...@proper.com>
wrote:

>

--

sam

unread,
Sep 30, 2008, 12:19:59 PM9/30/08
to bsd-...@googlegroups.com
Hi.

I forgot to mention that I use FreeBSD 8.0-Current (amd64).

I tried to compile 1.9 from the sources -- that one failed to;
but the snapshot you linked in the previous mail works.

I do not have a 7 around, so, I can not try it there...

sam.


On Tue, 30 Sep 2008 02:53:10 +0200, Paul Hoffman <phof...@proper.com>
wrote:

>

--

Paul Hoffman

unread,
Oct 1, 2008, 1:37:16 PM10/1/08
to bsd-...@googlegroups.com
>I got the sources as described here http://www.mono-project.com/AnonSVN

Thanks! That works for building 1.9 on FreeBSD 7.0, whereas building from source didn't.

--Paul Hoffman

Reply all
Reply to author
Forward
0 new messages