[MacPorts] #21014: OpenCV 1.0.0 does not build on snow leopard

MacPorts noreply at macports.org
Thu Sep 3 16:05:43 PDT 2009


#21014: OpenCV 1.0.0 does not build on snow leopard
------------------------------------------+---------------------------------
 Reporter:  grundmann.matthias@…          |       Owner:  stante@…        
     Type:  defect                        |      Status:  new             
 Priority:  Normal                        |   Milestone:                  
Component:  ports                         |     Version:  1.8.0           
 Keywords:  LP64                          |        Port:  opencv          
------------------------------------------+---------------------------------

Comment(by grundmann.matthias@…):

 Replying to [comment:7 njbutko@…]:
 > Is there a way to have MacPorts build OpenCv in 32 bit mode? e.g. a
 variant sl_32bit? I guess this variant would need to install OpenCV's
 dependencies as universal variants.
 >
 > I've never fooled around with port files beyond "port install foo",
 which has never been a problem before all this Snow Leopard madness.

 You can force macports to build everything in 32 bit mode on snow leopard
 and shouldn't (= I expect, but I haven't tested) have any problems.
 Macports inherits the build architecture from gcc, which depending on your
 machine (e.g. Core 2 vs. Core Duo) is set to i386 or x86_64 on snow
 leopard. You can set it explicitly to i386 (=32 bit mode) by editing the
 macports.conf file.

 For example:
 >vim /opt/local/etc/macports/macports.conf
 Search for build_arch and uncomment the line.

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


More information about the macports-tickets mailing list