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

MacPorts noreply at macports.org
Mon Mar 1 09:04:17 PST 2010


#20894: Mono fails to build on Snow Leopard x86_64
----------------------------------+-----------------------------------------
 Reporter:  matt@…                |       Owner:  mww@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:  1.8.0           
 Keywords:  snowleopard           |        Port:  mono            
----------------------------------+-----------------------------------------

Comment(by puddingpop@…):

 Thanks Rob!  This was really helpful, but I didn't want to uninstall and
 reinstall all of my ports.  Starting with your instructions (and your
 Portfile), I found an easier alternative:

 {{{
 Install the glib2 and zlib universal ports

 # port upgrade --enforce-variants glib2 +universal zlib +universal

 Replace the current Portfile for mono with the one attached to this ticket

 Install mono

 # port install mono

 }}}

 --brian

 Replying to [comment:36 rob@…]:
 > I think the error is caused by the __X86_64__ symbol not being picked up
 properly in
 >
 >
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.2.3/libgc/include/private/gcconfig.h
 >
 > This probably needs to be reported to the mono project upstream
 >
 > Here is the procedure that I used to get mono installed on a 64 bit
 Macbook Pro. YMMV.
 >
 > {{{
 >
 > Clean up all installed ports
 >
 > # port -f clean --all installed
 >
 > Uninstall all ports
 >
 > # port -f uninstall installed
 >
 > Update the macports tree
 >
 > # port selfupdate
 >
 > Install the glib2 universal port
 >
 > # port install glib2 +universal
 >
 > Install the zlib universal port
 >
 > # port install zlib +universal
 >
 > Replace the current Portfile for mono with the one attached to this
 ticket
 >
 > Install mono
 >
 > # port install mono
 >
 >
 > Rob.
 >
 > }}}

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


More information about the macports-tickets mailing list