[MacPorts] #20894: Mono fails to build on Snow Leopard x86_64

MacPorts noreply at macports.org
Fri Apr 9 07:12:03 PDT 2010


#20894: Mono fails to build on Snow Leopard x86_64
-----------------------------------+----------------------------------------
  Reporter:  matt@…                |       Owner:  mww@…           
      Type:  defect                |      Status:  closed          
  Priority:  Normal                |   Milestone:                  
 Component:  ports                 |     Version:  1.8.0           
Resolution:  fixed                 |    Keywords:  snowleopard     
      Port:  mono                  |  
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Ok, the log says:
 {{{
 ld: warning: in /opt/local/lib/libgthread-2.0.dylib, file is not of
 required architecture
 ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libintl.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required
 architecture
 }}}
 mono builds for i386, but software builds for x86_64 by default on Snow
 Leopard. So you must first build all mono's dependencies universal before
 you will be able to build mono. I added the archcheck portgroup to mono in
 r66341 to provide more meaningful error messages and advice in this
 situation.

-- 
Ticket URL: <http://trac.macports.org/ticket/20894#comment:54>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list