[MacPorts] #28537: db46: cannot run C compiled programs

MacPorts noreply at macports.org
Fri Feb 25 21:11:41 PST 2011


#28537: db46: cannot run C compiled programs
---------------------------------+------------------------------------------
  Reporter:  jbasch94@…          |       Owner:  blair@…           
      Type:  defect              |      Status:  closed            
  Priority:  Normal              |   Milestone:                    
 Component:  ports               |     Version:  1.9.2             
Resolution:  invalid             |    Keywords:                    
      Port:  db46                |  
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

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


Comment:

 MacPorts ships with a macports.conf where the build_arch is commented out,
 meaning the code in MacPorts base takes over, and it chooses the default
 build_arch based on your machine's capabilities. That code is here:
 [browser:trunk/base/src/macports1.0/macports.tcl?rev=74924#L826] and its
 behavior is described by the comment in macports.conf, which reads:

 {{{
 # CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X
 10.5
 # and earlier, depending on the CPU type detected at runtime. On Mac OS X
 10.6
 # the default is x86_64 if the CPU supports it, i386 otherwise.
 #build_arch                     i386
 }}}

 So I don't know how you ended up with a configuration that tried to build
 64-bit on a machine that can't do that, unless you changed the
 macports.conf yourself to say that.

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


More information about the macports-tickets mailing list