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

MacPorts noreply at macports.org
Tue Sep 8 18:50:17 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@…):

 Because I get some requests about how to apply the patch ...

 Check where you installed macports, that is usually /opt/local/
 Locate the Portfile for OpenCV, for me that is at

 /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/opencv

 now apply the third patch (Portfile-sl_64bit_21014.diff)
 by executing

 sudo patch Portfile -i ~/Downloads/Portfile-sl_64bit_21014.diff

 in the above directory (adjust the last path accordingly to your download
 location)

 When you execute port variants opencv you should see the sl_64bit_21014
 variant. Now install opencv with

 sudo install opencv +sl_64bit_21014

 Hope that helps.

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


More information about the macports-tickets mailing list