[MacPorts] #35368: unable to build opencv under MacOS 10.6.8
#35368: unable to build opencv under MacOS 10.6.8 ---------------------------------+------------------------------------------ Reporter: jdilyshen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ---------------------------------+------------------------------------------ I am unable to build OpenCV. I have selfupdate and updated outdated. Log file attached. [ mac macteki-MacBook-Pro ~ ] sudo port install opencv +python27 ---> Computing dependencies for opencv ---> Fetching archive for opencv ---> Attempting to fetch opencv-2.4.2_0+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/opencv ---> Fetching distfiles for opencv ---> Verifying checksum(s) for opencv ---> Extracting opencv ---> Applying patches to opencv ---> Configuring opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log -- Ticket URL: <https://trac.macports.org/ticket/35368> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35368: unable to build opencv under MacOS 10.6.8 ---------------------------------+------------------------------------------ Reporter: jdilyshen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: opencv ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * priority: High => Normal * port: => opencv Old description:
I am unable to build OpenCV. I have selfupdate and updated outdated. Log file attached.
[ mac macteki-MacBook-Pro ~ ] sudo port install opencv +python27 ---> Computing dependencies for opencv ---> Fetching archive for opencv ---> Attempting to fetch opencv-2.4.2_0+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/opencv ---> Fetching distfiles for opencv ---> Verifying checksum(s) for opencv ---> Extracting opencv ---> Applying patches to opencv ---> Configuring opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
New description: I am unable to build OpenCV. I have selfupdate and updated outdated. Log file attached. {{{ [ mac macteki-MacBook-Pro ~ ] sudo port install opencv +python27 ---> Computing dependencies for opencv ---> Fetching archive for opencv ---> Attempting to fetch opencv-2.4.2_0+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/opencv ---> Fetching distfiles for opencv ---> Verifying checksum(s) for opencv ---> Extracting opencv ---> Applying patches to opencv ---> Configuring opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log }}} -- Comment: The log says: {{{ :info:build i686-apple-darwin10-llvm-g++-4.2: Internal error: Segmentation fault (program cc1plus) :info:build Please submit a full bug report. :info:build See <URL:http://developer.apple.com/bugreporter> for instructions. }}} If you're using the latest Xcode for Snow Leopard, you could file a bug report with Apple, but since they've already released Mountain Lion I doubt they're interested in fixing Snow Leopard bugs anymore. You could try [wiki:ProblemHotlist#compiler using a different compiler]. -- Ticket URL: <https://trac.macports.org/ticket/35368#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35368: unable to build opencv with llvm-gcc-4.2 --------------------------+-------------------------------- Reporter: jdilyshen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: opencv | --------------------------+-------------------------------- Comment (by jmr@…): Since you're defaulting to llvm-gcc-4.2 you must be using Xcode 4.0 or 4.1. (Your exact Xcode version is a very helpful thing to include in a bug report BTW.) 4.2 is the latest Xcode for 10.6, but it can be hard to get ahold of. 3.2.6 is the most tested version. -- Ticket URL: <https://trac.macports.org/ticket/35368#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35368: unable to build opencv with llvm-gcc-4.2 --------------------------+------------------------ Reporter: jdilyshen@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: opencv | --------------------------+------------------------ Changes (by jmr@…): * owner: macports-tickets@… => stromnov@… -- Ticket URL: <https://trac.macports.org/ticket/35368#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts