Re: [Mono-list] macosx --host=x86_64-apple-darwin10
Hi, I made an entry in my blog to describe the steps I made to install mono on my macosx please let me know if it worked for you http://spointeau.blogspot.com/2010/07/install-mono-on-macosx-64-bits.html best regards, Sylvain On Fri, Jul 23, 2010 at 2:05 AM, Tristan Zajonc trist...@gmail.com wrote: Sylvain, Could you post exactly the steps you followed to compile successfully on snow leopard, including how you installed the required dependencies? I have faced difficulties myself when just following the instructions posted online. Thanks, Tristan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I rerun again the autogen.sh and it worked, it has been compiled well. let's see, I will make some tests now. thanks a million for your help and your quick fix. Best regards, Sylvain On Thu, Jul 22, 2010 at 12:22 AM, Sylvain Pointeau sylvain.point...@gmail.com wrote: I was probably speaking too fast: MCS [net_4_0] permview.exe MCS [net_4_0] mozroots.exe MCS [net_4_0] httpcfg.exe make all-local make all-local make[7]: Nothing to be done for `all-local'. make all-local make[7]: Nothing to be done for `all-local'. make all-local MDOC[net_4_0] cs-errors.tree Stacktrace: Native stacktrace: 0 mono0x000100086e24 mono_handle_native_sigsegv + 292 1 mono0x00012d23 mono_sigsegv_signal_handler + 339 2 libSystem.B.dylib 0x7fff8849635a _sigtramp + 26 3 libSystem.B.dylib 0x7fff70f675c0 __stack_chk_guard + 0 4 ??? 0x000103472dc1 0x0 + 4349963713 * Assertion: should not be reached at mini-darwin.c:241 /bin/sh: line 1: 67859 Abort trap MONO_PATH=./../class/lib/net_4_0:./../class/lib/net_2_0:$MONO_PATH /Users/sylvain/development/lib/mono-trunk/mono/runtime/mono-wrapper ./../tools/mdoc/mdoc.exe assemble -o cs-errors -f error cs-errors.config make[7]: *** [cs-errors.tree] Error 134 make[6]: *** [do-all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [profile-do--net_4_0--all] Error 2 make[3]: *** [profiles-do--all] Error 2 make[2]: *** [all-local] Error 2 make[1]: *** [all-recursive] Error 1 ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I am so impressed, everything is working so far, even with some complex programs... I also tested the System.Data.SQLite library and I was not expected it to work on Macosx, but yes it works well :-) thank you very much, what an amazing work you did! Best regards, Sylvain On Thu, Jul 22, 2010 at 9:42 AM, Sylvain Pointeau sylvain.point...@gmail.com wrote: I rerun again the autogen.sh and it worked, it has been compiled well. let's see, I will make some tests now. thanks a million for your help and your quick fix. Best regards, Sylvain On Thu, Jul 22, 2010 at 12:22 AM, Sylvain Pointeau sylvain.point...@gmail.com wrote: I was probably speaking too fast: MCS [net_4_0] permview.exe MCS [net_4_0] mozroots.exe MCS [net_4_0] httpcfg.exe make all-local make all-local make[7]: Nothing to be done for `all-local'. make all-local make[7]: Nothing to be done for `all-local'. make all-local MDOC[net_4_0] cs-errors.tree Stacktrace: Native stacktrace: 0 mono0x000100086e24 mono_handle_native_sigsegv + 292 1 mono0x00012d23 mono_sigsegv_signal_handler + 339 2 libSystem.B.dylib 0x7fff8849635a _sigtramp + 26 3 libSystem.B.dylib 0x7fff70f675c0 __stack_chk_guard + 0 4 ??? 0x000103472dc1 0x0 + 4349963713 * Assertion: should not be reached at mini-darwin.c:241 /bin/sh: line 1: 67859 Abort trap MONO_PATH=./../class/lib/net_4_0:./../class/lib/net_2_0:$MONO_PATH /Users/sylvain/development/lib/mono-trunk/mono/runtime/mono-wrapper ./../tools/mdoc/mdoc.exe assemble -o cs-errors -f error cs-errors.config make[7]: *** [cs-errors.tree] Error 134 make[6]: *** [do-all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [profile-do--net_4_0--all] Error 2 make[3]: *** [profiles-do--all] Error 2 make[2]: *** [all-local] Error 2 make[1]: *** [all-recursive] Error 1 ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] macosx --host=x86_64-apple-darwin10
Hi, I am running in 64bits mode on my mac and I compiled everything in 64 bits. therefore now, I am obliged to compile Mono in 64b as well. I thought it will work to take the SVN version and to compile it with the configure below: ./configure --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 but I have this error then: /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono\ 6.6\ -DPACKAGE_BUGREPORT=\hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c mkdir .libs gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono 6.6\ -DPACKAGE_BUGREPORT=\hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c -fno-common -DPIC -o .libs/allchblk.o In file included from ./include/private/gc_priv.h:66, from allchblk.c:19: ./include/private/gcconfig.h:500: error: expected identifier or ‘(’ before ‘--’ token make[3]: *** [allchblk.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 the configure command gave me this summary: mcs source:$(top_srcdir)/mcs olive source: GC: included GLIB: system TLS: pthread SIGALTSTACK: no Engine:Building and using the JIT 2.0 Profile: yes Moon Profile: yes 4.0 Alpha: no MonoTouch: no JNI support: IKVM Native libgdiplus:assumed to be installed zlib: bundled zlib oprofile: no BigArrays: no DTrace:no Parallel Mark: Disabled_Currently_Hangs_On_MacOSX LLVM Back End: no and I took the tar.gz from http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-142439.tar.bz2 I saw this message from the how to build from source MACOSXhttp://www.mono-project.com/Compiling_Mono_on_OSX If you wish to try the experimental 64-bit x86 support available in 2.7+ you should check out mono from svn and do: $ cd mono-trunk $ ./configure --prefix=DIR --with-glib=embedded --host=x86_64-apple-darwin10 $ make $ make install What should I do? is it possible to have it 64 bits? best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
64-bit support on OSX is only experimentally supported on SVN and Intel -g On 2010-07-21, at 11:45 AM, Sylvain Pointeau wrote: Hi, I am running in 64bits mode on my mac and I compiled everything in 64 bits. therefore now, I am obliged to compile Mono in 64b as well. I thought it will work to take the SVN version and to compile it with the configure below: ./configure --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 but I have this error then: /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono\ 6.6\ -DPACKAGE_BUGREPORT=\hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c mkdir .libs gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono 6.6\ -DPACKAGE_BUGREPORT=\hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c -fno-common -DPIC -o .libs/allchblk.o In file included from ./include/private/gc_priv.h:66, from allchblk.c:19: ./include/private/gcconfig.h:500: error: expected identifier or ‘(’ before ‘--’ token make[3]: *** [allchblk.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 the configure command gave me this summary: mcs source:$(top_srcdir)/mcs olive source: GC: included GLIB: system TLS: pthread SIGALTSTACK: no Engine:Building and using the JIT 2.0 Profile: yes Moon Profile: yes 4.0 Alpha: no MonoTouch: no JNI support: IKVM Native libgdiplus:assumed to be installed zlib: bundled zlib oprofile: no BigArrays: no DTrace:no Parallel Mark: Disabled_Currently_Hangs_On_MacOSX LLVM Back End: no and I took the tar.gz from http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-142439.tar.bz2 I saw this message from the how to build from source MACOSX If you wish to try the experimental 64-bit x86 support available in 2.7+ you should check out mono from svn and do: $ cd mono-trunk $ ./configure --prefix=DIR --with-glib=embedded --host=x86_64-apple-darwin10 $ make $ make install What should I do? is it possible to have it 64 bits? best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I just made svn co http://anonsvn.mono-project.com/source/trunk/mono ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 make I have: Undefined symbols: _libiconv_open, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la- gunicode.o) _libiconv_close, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) ld: symbol(s) not found How to force it by taking the glib2 in my /usr/local/ ? Many thanks for your help, Sylvain On Wed, Jul 21, 2010 at 6:15 PM, Geoff Norton gnor...@novell.com wrote: You took some ancient revision; the current mono revision is in the 16 range; you took 142439 Check the sources out -g On 2010-07-21, at 12:13 PM, Sylvain Pointeau wrote: I am taking the tar.gz from svn... so it should compile right? On Wed, Jul 21, 2010 at 5:59 PM, Geoff Norton gnor...@novell.com wrote: 64-bit support on OSX is only experimentally supported on SVN and Intel -g On 2010-07-21, at 11:45 AM, Sylvain Pointeau wrote: Hi, I am running in 64bits mode on my mac and I compiled everything in 64 bits. therefore now, I am obliged to compile Mono in 64b as well. I thought it will work to take the SVN version and to compile it with the configure below: ./configure --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 but I have this error then: /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono\ 6.6\ -DPACKAGE_BUGREPORT=\ hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c mkdir .libs gcc -DPACKAGE_NAME=\libgc-mono\ -DPACKAGE_TARNAME=\libgc-mono\ -DPACKAGE_VERSION=\6.6\ -DPACKAGE_STRING=\libgc-mono 6.6\ -DPACKAGE_BUGREPORT=\hans_bo...@hp.com\ -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c -fno-common -DPIC -o .libs/allchblk.o In file included from ./include/private/gc_priv.h:66, from allchblk.c:19: ./include/private/gcconfig.h:500: error: expected identifier or ‘(’ before ‘--’ token make[3]: *** [allchblk.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 the configure command gave me this summary: mcs source:$(top_srcdir)/mcs olive source: GC: included GLIB: system TLS: pthread SIGALTSTACK: no Engine:Building and using the JIT 2.0 Profile: yes Moon Profile: yes 4.0 Alpha: no MonoTouch: no JNI support: IKVM Native libgdiplus:assumed to be installed zlib: bundled zlib oprofile: no BigArrays: no DTrace:no Parallel Mark: Disabled_Currently_Hangs_On_MacOSX LLVM Back End: no and I took the tar.gz from http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-142439.tar.bz2 I saw this message from the how to build from source MACOSXhttp://www.mono-project.com/Compiling_Mono_on_OSX If you wish to try the experimental 64-bit x86 support available in 2.7+ you should check out mono from svn and do: $ cd mono-trunk $ ./configure --prefix=DIR --with-glib=embedded --host=x86_64-apple-darwin10 $ make $ make install What should I do? is it possible to have it 64 bits? best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist -
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I re-installed libiconv on /usr/local/ and I run the command: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 I had a message saying I should not use host but build? do you have an idea? what are the value I can put? same as host? but I made make, seems to run now. is it correct? Best regards, Sylvain On Wed, Jul 21, 2010 at 6:45 PM, Geoff Norton gnor...@novell.com wrote: You dont; only eglib is supported on x86-64; libiconv is shipped with apples compiler tho; so you'll need to figure out whats wrong with your environment. -g On 2010-07-21, at 12:41 PM, Sylvain Pointeau wrote: I just made svn co http://anonsvn.mono-project.com/source/trunk/mono ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 make I have: Undefined symbols: _libiconv_open, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv_close, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) ld: symbol(s) not found How to force it by taking the glib2 in my /usr/local/ ? Many thanks for your help, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
You seem to have installed a bunch of weird dependencies into your environment. I suggest following the wiki with a clean environment. iconv is included with osx, eglib is the only support glib method on x86_64 darwin, etc. -g On 2010-07-21, at 2:06 PM, Sylvain Pointeau wrote: I re-installed libiconv on /usr/local/ and I run the command: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 I had a message saying I should not use host but build? do you have an idea? what are the value I can put? same as host? but I made make, seems to run now. is it correct? Best regards, Sylvain On Wed, Jul 21, 2010 at 6:45 PM, Geoff Norton gnor...@novell.com wrote: You dont; only eglib is supported on x86-64; libiconv is shipped with apples compiler tho; so you'll need to figure out whats wrong with your environment. -g On 2010-07-21, at 12:41 PM, Sylvain Pointeau wrote: I just made svn co http://anonsvn.mono-project.com/source/trunk/mono ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 make I have: Undefined symbols: _libiconv_open, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv_close, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) ld: symbol(s) not found How to force it by taking the glib2 in my /usr/local/ ? Many thanks for your help, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
that's strange ... how can I introduce dependencies in my system? make ended with an error: sgen-os-mach.c: In function ‘mono_sgen_thread_handshake’: sgen-os-mach.c:101: warning: implicit declaration of function ‘UCONTEXT_GREGS’ sgen-os-mach.c:101: warning: nested extern declaration of ‘UCONTEXT_GREGS’ sgen-os-mach.c:101: error: ‘REG_RAX’ undeclared (first use in this function) sgen-os-mach.c:101: error: (Each undeclared identifier is reported only once sgen-os-mach.c:101: error: for each function it appears in.) sgen-os-mach.c:101: error: ‘REG_RBX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RCX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RDX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RSI’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RDI’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RBP’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R8’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R9’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R10’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R11’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R12’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R13’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R14’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R15’ undeclared (first use in this function) make[3]: *** [libmonoruntimesgen_la-sgen-os-mach.lo] Error 1 I installed: boost cmake git Qt readline sqlite icu for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 I never installed something in /usr/bin my system was reinstalled for Snow-leopard... How could I have introduce weird dependencies ? strange ... Best regards, Sylvain On Wed, Jul 21, 2010 at 8:15 PM, Geoff Norton gnor...@novell.com wrote: You seem to have installed a bunch of weird dependencies into your environment. I suggest following the wiki with a clean environment. iconv is included with osx, eglib is the only support glib method on x86_64 darwin, etc. -g On 2010-07-21, at 2:06 PM, Sylvain Pointeau wrote: I re-installed libiconv on /usr/local/ and I run the command: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 I had a message saying I should not use host but build? do you have an idea? what are the value I can put? same as host? but I made make, seems to run now. is it correct? Best regards, Sylvain On Wed, Jul 21, 2010 at 6:45 PM, Geoff Norton gnor...@novell.com wrote: You dont; only eglib is supported on x86-64; libiconv is shipped with apples compiler tho; so you'll need to figure out whats wrong with your environment. -g On 2010-07-21, at 12:41 PM, Sylvain Pointeau wrote: I just made svn co http://anonsvn.mono-project.com/source/trunk/mono ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10 make I have: Undefined symbols: _libiconv_open, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv_close, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) _libiconv, referenced from: _monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o) ld: symbol(s) not found How to force it by taking the glib2 in my /usr/local/ ? Many thanks for your help, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On 2010-07-21, at 2:23 PM, Sylvain Pointeau wrote: that's strange ... how can I introduce dependencies in my system? make ended with an error: sgen-os-mach.c: In function ‘mono_sgen_thread_handshake’: sgen-os-mach.c:101: warning: implicit declaration of function ‘UCONTEXT_GREGS’ sgen-os-mach.c:101: warning: nested extern declaration of ‘UCONTEXT_GREGS’ sgen-os-mach.c:101: error: ‘REG_RAX’ undeclared (first use in this function) sgen-os-mach.c:101: error: (Each undeclared identifier is reported only once sgen-os-mach.c:101: error: for each function it appears in.) sgen-os-mach.c:101: error: ‘REG_RBX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RCX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RDX’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RSI’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RDI’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_RBP’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R8’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R9’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R10’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R11’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R12’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R13’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R14’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R15’ undeclared (first use in this function) make[3]: *** [libmonoruntimesgen_la-sgen-os-mach.lo] Error 1 This will be fixed in svn shortly. I installed: boost cmake git Qt readline sqlite icu for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. -g ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
sgen-os-mach.c:101: error: ‘REG_R13’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R14’ undeclared (first use in this function) sgen-os-mach.c:101: error: ‘REG_R15’ undeclared (first use in this function) make[3]: *** [libmonoruntimesgen_la-sgen-os-mach.lo] Error 1 This will be fixed in svn shortly. already fixed? waoo thank you, it continues to compile now. I will keep you informed. Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I installed: boost cmake git Qt readline sqlite icu for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. do you mean gettext, libiconv, glib2 ? ok then I will remove them, but as far as I have seen, it compiled correctly... Many thanks for your help, best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. but why have I issue with my iconv provided by the system? I never touched the tools in /usr/bin... Do you have an idea? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
now I have this error: Making all in runtime d=`cd ../support pwd`; \ sed 's,target=libMonoPosixHelper[^]*,target='$d/libMonoPosixHelper.la',' ../data/config etc/mono/configt if test -z ; then :; else \ sed 's,configuration, dllmap dll=gdiplus.dll target= /,' etc/mono/configt etc/mono/configtt; \ mv -f etc/mono/configtt etc/mono/configt; fi mv -f etc/mono/configt etc/mono/config /bin/sh ../mkinstalldirs _tmpinst/bin mkdir -p -- _tmpinst/bin cp mono-wrapper _tmpinst/bin/mono echo '#! /bin/sh' _tmpinst/bin/ilasm ; \ r=`pwd`; m=`cd pwd`; \ echo 'exec '$r/_tmpinst/bin/mono' '$m/ilasm/ilasm.exe' $@' _tmpinst/bin/ilasm ; \ chmod +x _tmpinst/bin/ilasm echo '#! /bin/sh' _tmpinst/bin/gmcs ; \ r=`pwd`; m=`cd pwd`; \ echo 'exec '$r/_tmpinst/bin/mono' '$m/class/lib/net_2_0/gmcs.exe' $@' _tmpinst/bin/gmcs ; \ chmod +x _tmpinst/bin/gmcs echo '#! /bin/sh' _tmpinst/bin/dmcs ; \ r=`pwd`; m=`cd pwd`; \ echo 'exec '$r/_tmpinst/bin/mono' '$m/class/lib/net_4_0/dmcs.exe' $@' _tmpinst/bin/dmcs ; \ chmod +x _tmpinst/bin/dmcs echo '#! /bin/sh' _tmpinst/bin/al2 ; \ r=`pwd`; m=`cd pwd`; \ echo 'exec '$r/_tmpinst/bin/mono' '$m/class/lib/net_2_0/al.exe' $@' _tmpinst/bin/al2 ; \ chmod +x _tmpinst/bin/al2 if test -w ; then :; else chmod -R +w ; fi cd make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 ' CC='gcc' all-profiles make[3]: *** No rule to make target `all-profiles'. Stop. make[2]: *** [all-local] Error 2 What should I do? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On Wed, Jul 21, 2010 at 9:03 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. I listened to you, then I uninstall all of them... I rerun the command: ./autogen.sh --prefix=/user/local/mono64/ --build=x86_64-apple-darwin10 then I have the error: configure: error: msgfmt not found. You need to install the 'gettext' package, or pass --enable-nls=no to configure. Should I put the option --enable-nls=no then? Many thanks for your guidance, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On Wed, Jul 21, 2010 at 9:21 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: On Wed, Jul 21, 2010 at 9:03 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. I listened to you, then I uninstall all of them... I rerun the command: ./autogen.sh --prefix=/user/local/mono64/ --build=x86_64-apple-darwin10 then I have the error: configure: error: msgfmt not found. You need to install the 'gettext' package, or pass --enable-nls=no to configure. Should I put the option --enable-nls=no then? I just removed also pkg-config... and I have now: configure: error: You need to install pkg-config configure: error: ./configure failed for eglib Are you sure I should not install those tools? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
Please follow the directions on the wiki: http://www.mono-project.com/Compiling_Mono_on_OSX pkg-config is required, pass ---enable-nls=no if you want to not have gettext which is an optional dep. glib2 and libiconv are not. -g On 2010-07-21, at 3:28 PM, Sylvain Pointeau wrote: On Wed, Jul 21, 2010 at 9:21 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: On Wed, Jul 21, 2010 at 9:03 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. I listened to you, then I uninstall all of them... I rerun the command: ./autogen.sh --prefix=/user/local/mono64/ --build=x86_64-apple-darwin10 then I have the error: configure: error: msgfmt not found. You need to install the 'gettext' package, or pass --enable-nls=no to configure. Should I put the option --enable-nls=no then? I just removed also pkg-config... and I have now: configure: error: You need to install pkg-config configure: error: ./configure failed for eglib Are you sure I should not install those tools? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
What brings gettext? What do I loose if I have not gettext? Best regards, Sylvain On Wed, Jul 21, 2010 at 9:31 PM, Geoff Norton gnor...@novell.com wrote: Please follow the directions on the wiki: http://www.mono-project.com/Compiling_Mono_on_OSX pkg-config is required, pass ---enable-nls=no if you want to not have gettext which is an optional dep. glib2 and libiconv are not. -g On 2010-07-21, at 3:28 PM, Sylvain Pointeau wrote: On Wed, Jul 21, 2010 at 9:21 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: On Wed, Jul 21, 2010 at 9:03 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: for compiling mono, I installed gettext 0.18.1.1 libiconv 1.13.1 glib-2.24.1 You shouldn't have installed any of these as they aren't needed, and not supported on x86-64 darwin. I listened to you, then I uninstall all of them... I rerun the command: ./autogen.sh --prefix=/user/local/mono64/ --build=x86_64-apple-darwin10 then I have the error: configure: error: msgfmt not found. You need to install the 'gettext' package, or pass --enable-nls=no to configure. Should I put the option --enable-nls=no then? I just removed also pkg-config... and I have now: configure: error: You need to install pkg-config configure: error: ./configure failed for eglib Are you sure I should not install those tools? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On Wed, Jul 21, 2010 at 9:31 PM, Geoff Norton gnor...@novell.com wrote: Please follow the directions on the wiki: http://www.mono-project.com/Compiling_Mono_on_OSX pkg-config is required, pass ---enable-nls=no if you want to not have gettext which is an optional dep. glib2 and libiconv are not. -g it does not describe how to build the SVN... furthermore I don't understand the error I have : if test -w ; then :; else chmod -R +w ; fi cd make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 ' CC='gcc' all-profiles make[3]: *** No rule to make target `all-profiles'. Stop. make[2]: *** [all-local] Error 2 ... Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
You didn't checkout mcs; -g On 2010-07-21, at 4:41 PM, Sylvain Pointeau wrote: On Wed, Jul 21, 2010 at 9:31 PM, Geoff Norton gnor...@novell.com wrote: Please follow the directions on the wiki: http://www.mono-project.com/Compiling_Mono_on_OSX pkg-config is required, pass ---enable-nls=no if you want to not have gettext which is an optional dep. glib2 and libiconv are not. -g it does not describe how to build the SVN... furthermore I don't understand the error I have : if test -w ; then :; else chmod -R +w ; fi cd make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 ' CC='gcc' all-profiles make[3]: *** No rule to make target `all-profiles'. Stop. make[2]: *** [all-local] Error 2 ... Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On Wed, Jul 21, 2010 at 11:27 PM, Geoff Norton gnor...@novell.com wrote: You didn't checkout mcs; -g right! I was just seeing now the next error... mkdir -p -- build/deps touch build/deps/.stamp make[6]: gmcs: No such file or directory make[6]: *** [build/deps/basic-profile-check.exe] Error 1 *** The compiler 'gmcs' doesn't appear to be usable. *** You need Mono version 2.4 or better installed to build MCS *** Read INSTALL.txt for information on how to bootstrap a Mono installation. make[5]: *** [do-profile-check] Error 1 make[4]: *** [profile-do--basic--all] Error 2 make[3]: *** [profiles-do--all] Error 2 Cheers, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
http://mono-project.com/Compiling_Mono_From_SVN On 2010-07-21, at 5:32 PM, Sylvain Pointeau wrote: On Wed, Jul 21, 2010 at 11:27 PM, Geoff Norton gnor...@novell.com wrote: You didn't checkout mcs; -g right! I was just seeing now the next error... mkdir -p -- build/deps touch build/deps/.stamp make[6]: gmcs: No such file or directory make[6]: *** [build/deps/basic-profile-check.exe] Error 1 *** The compiler 'gmcs' doesn't appear to be usable. *** You need Mono version 2.4 or better installed to build MCS *** Read INSTALL.txt for information on how to bootstrap a Mono installation. make[5]: *** [do-profile-check] Error 1 make[4]: *** [profile-do--basic--all] Error 2 make[3]: *** [profiles-do--all] Error 2 Cheers, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
On Wed, Jul 21, 2010 at 11:42 PM, Geoff Norton gnor...@novell.com wrote: http://mono-project.com/Compiling_Mono_From_SVN yes I saw it, but make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono is not so clear should I do the make install first then reference the install path for MCS and MONO? or should I point to a directory in my build? but where? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
make get-monolite-latest I forgot it... I am obliged to use it as I don't have any working installation, it is written in the README of the mono directory (maybe it should be indicated on the web page as well) so far it seems to build... Best regards, Sylvain On Wed, Jul 21, 2010 at 11:48 PM, Sylvain Pointeau sylvain.point...@gmail.com wrote: On Wed, Jul 21, 2010 at 11:42 PM, Geoff Norton gnor...@novell.com wrote: http://mono-project.com/Compiling_Mono_From_SVN yes I saw it, but make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono is not so clear should I do the make install first then reference the install path for MCS and MONO? or should I point to a directory in my build? but where? Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] macosx --host=x86_64-apple-darwin10
I was probably speaking too fast: MCS [net_4_0] permview.exe MCS [net_4_0] mozroots.exe MCS [net_4_0] httpcfg.exe make all-local make all-local make[7]: Nothing to be done for `all-local'. make all-local make[7]: Nothing to be done for `all-local'. make all-local MDOC[net_4_0] cs-errors.tree Stacktrace: Native stacktrace: 0 mono0x000100086e24 mono_handle_native_sigsegv + 292 1 mono0x00012d23 mono_sigsegv_signal_handler + 339 2 libSystem.B.dylib 0x7fff8849635a _sigtramp + 26 3 libSystem.B.dylib 0x7fff70f675c0 __stack_chk_guard + 0 4 ??? 0x000103472dc1 0x0 + 4349963713 * Assertion: should not be reached at mini-darwin.c:241 /bin/sh: line 1: 67859 Abort trap MONO_PATH=./../class/lib/net_4_0:./../class/lib/net_2_0:$MONO_PATH /Users/sylvain/development/lib/mono-trunk/mono/runtime/mono-wrapper ./../tools/mdoc/mdoc.exe assemble -o cs-errors -f error cs-errors.config make[7]: *** [cs-errors.tree] Error 134 make[6]: *** [do-all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [profile-do--net_4_0--all] Error 2 make[3]: *** [profiles-do--all] Error 2 make[2]: *** [all-local] Error 2 make[1]: *** [all-recursive] Error 1 any idea? Best regards, Sylvain On Thu, Jul 22, 2010 at 12:18 AM, Sylvain Pointeau sylvain.point...@gmail.com wrote: make get-monolite-latest I forgot it... I am obliged to use it as I don't have any working installation, it is written in the README of the mono directory (maybe it should be indicated on the web page as well) so far it seems to build... Best regards, Sylvain ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list