[MacPorts] #19196: glib2: now can't build 4-way universal on Tiger

MacPorts noreply at macports.org
Mon Apr 6 01:43:28 PDT 2009


#19196: glib2: now can't build 4-way universal on Tiger
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  mcalhoun@…           
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:  Port Bugs            
Component:  ports                    |     Version:  1.7.1                
 Keywords:                           |        Port:  glib2, glib2-devel   
-------------------------------------+--------------------------------------

Comment(by mcalhoun@…):

 The problem seems to be that if the configure script detects that is is
 building on a Mac, it[[BR]]
 sets HAVE_CARBON to 1, which in turn has code files include
 CoreServices.h.

 CoreServices.h has the following:
 {{{
 #if __LP64__
     #error 64-bit not supported
 #endif
 }}}
 which is causing the problem.

 The two choices seem to be either
 {{{
 if { ${universal_sysroot}=="/Developer/SDKs/MacOSX10.4u.sdk" } {
     set universal_archs_supported {i386 ppc}
 }
 }}}
 or replacing "glib_have_carbon=yes" with "glib_have_carbon=no" in[[BR]]
 the x86_64 and ppc64 architecture configure scripts
 (if ${universal_sysroot}=="/Developer/SDKs/MacOSX10.4u.sdk").

 Either strategy can be implemented with minimal difficulty.[[BR]]
 Truthfully, I do not know if the non-carbon alternative functions will
 work on Macs.

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


More information about the macports-tickets mailing list