[MacPorts] #35307: opencv @2.4.2 +universal configure failure: command execution failed

MacPorts noreply at macports.org
Sat Aug 11 15:28:55 PDT 2012


#35307: opencv @2.4.2 +universal configure failure: command execution failed
------------------------------------+---------------------------------------
 Reporter:  lucasvickers@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.1                                
 Keywords:                          |        Port:  opencv                               
------------------------------------+---------------------------------------

Comment(by basicbaer@…):

 It seems that the problem are not the Python libs. The message is just
 misleading, as the later following CMake code will pick up the correct
 library.

 The problem is that +universal will cause the removal of one include file
 from the main CMakeLists.txt file which contains a macro that is required
 later on. While the compile will fail when the include file
 cmake/OpenCVPCHSupport.cmake is used as is, as it enables PCH, the simple
 solution is to add a line containing
 {{{
 SET(PCHSupport_FOUND FALSE)
 }}}
 directly after the include. I have attached the new diff file that
 replaces the old one and does as described above.

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


More information about the macports-tickets mailing list