Opened 12 years ago

Last modified 3 years ago

#35368 closed defect

unable to build opencv under MacOS 10.6.8 — at Version 1

Reported by: jdilyshen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: opencv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 12 years ago by jdilyshen@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: opencv added
Priority: HighNormal

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 using a different compiler.

Note: See TracTickets for help on using tickets.