[Mono-osx] Error building mono from svn source on mac

Ryan Russell rrussell at franticfilms.com
Tue Jul 21 09:29:32 EDT 2009


I edited the Makefile in ../mono/mini/ and made this change:

#monobin_platform_ldflags = -sectcreate __TEXT __info_plist 
$(top_srcdir)/mono/mini/Info.plist
monobin_platform_ldflags =

That seemed to fix the problem for now.

Cheers,
 - Ryan


Ryan Russell wrote:
> I'm trying to build Mono from source on my mac, but I'm getting an 
> error. I've already built and installed libgdiplus-137314 without any 
> problems, and running 'configure' for the Mono source didn't indicate 
> any issues. I'm building it on an Intel Core 2 Duo Mac with 10.5.7 
> installed. The last svn build of Mono that I built successfully was 
> 135741, but I've recently tried 138189 and 138280 with no luck. I've 
> included the error below.
>
> Thanks in advance!
>  - Ryan
>
>
> Here is the error I'm getting:
>
> neutron:mono-138280 rrussell$ make
> make  all-recursive
> Making all in po
> Making all in mcs
> make[3]: Nothing to be done for `all-am'.
> Making all in libgc
> Making all in include
> Making all in private
> make[4]: Nothing to be done for `all'.
> make[4]: Nothing to be done for `all-am'.
> Making all in doc
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all-am'.
> Making all in mono
> Making all in utils
> make  all-am
> make[4]: Nothing to be done for `all-am'.
> Making all in io-layer
> make[3]: Nothing to be done for `all'.
> Making all in cil
> make[3]: Nothing to be done for `all'.
> Making all in metadata
> make[3]: Nothing to be done for `all'.
> Making all in arch
> make[4]: Nothing to be done for `all-am'.
> Making all in interpreter
> make[3]: Nothing to be done for `all'.
> Making all in mini
> make  all-am
> ../../doltlibtool --quiet --tag=CC   --mode=link gcc -I../.. 
> -I../../libgc/include -D_REENTRANT -I/opt/local/include/glib-2.0 
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include     -g -O2 
> -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes 
> -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings  
> -export-dynamic  -sectcreate __TEXT __info_plist 
> ../../mono/mini/Info.plist -pthread -o mono main.o libmono-static.la 
> -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv    -lm   
> -lpthread -lm
> ld: can't open -sectcreate file: ../../mono/mini/Info.plist
> collect2: ld returned 1 exit status
> make[4]: *** [mono] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
> __________ NOD32 4263 (20090721) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>   


More information about the Mono-osx mailing list