[Mono-dev] problem while compile svn from mac os x

cartuchoGL cartuchogl at unrealspace.com
Tue Jan 3 10:48:56 EST 2006


I get mono and mcs svn versions (r55007), it's compile fine on my debian 
box, but at mac os x
not.

I install automake 1.8.5 with fink because with automake version 
built-in mac os x break
autogen.sh

When run ./autogen.sh --prefix=/usr/local at mono directory end ok but 
show this warning
messages:

/sw/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see 
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', 
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for 
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template 
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, 
see the
autoheader: WARNING: documentation.

When run make finally out
....
[more out]
....
gcc -dynamiclib  -o .libs/libMonoPosixHelper.dylib  .libs/errno.o 
.libs/map.o .libs/signal.o .libs/stdio.o .libs/string.o .libs/stdlib.o 
.libs/dirent.o .libs/fcntl.o .libs/fstab.o .libs/grp.o .libs/macros.o 
.libs/old-map.o .libs/pwd.o .libs/serial.o .libs/sys-mman.o 
.libs/sys-sendfile.o .libs/sys-stat.o .libs/sys-statvfs.o 
.libs/sys-time.o .libs/sys-wait.o .libs/sys-xattr.o .libs/syslog.o 
.libs/time.o .libs/unistd.o .libs/utime.o .libs/x-struct-str.o 
.libs/zlib_macros.o  -pthread -L/sw/lib /sw/lib/libgthread-2.0.dylib 
/sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib 
-lz -lpthread -lm  -install_name  /usr/local/lib/libMonoPosixHelper.dylib
powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: Undefined symbols:
_lutimes
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libMonoPosixHelper.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Does anyone know how to fix this?

Thanks in advance.



More information about the Mono-devel-list mailing list