[MacPorts] #32493: OpenCV 2.3.1 build fails
#32493: OpenCV 2.3.1 build fails -------------------------------+-------------------------------------------- Reporter: orgicus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -------------------------------+-------------------------------------------- Hello, I am trying to install OpenCV via macports and have ran into errors. macports downloaded and installed all dependencies, but failed to build opencv: {{{ ---> Building opencv Error: Target org.macports.build returned: shell command failed (see log for details) Log for opencv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I've tried cleaning the port and installing again, but had the same issue. main.log attached. I am using osx 10.6.8 (upgraded from 10.5, re-installed Xcode and MacPorts-1.9.2-10.6-SnowLeopard ) Unfortunately I'm can't understand most of the log, so don't know what I'm doing wrong. Any hints/tips will help -- Ticket URL: <https://trac.macports.org/ticket/32493> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32493: OpenCV 2.3.1 build fails --------------------------------+------------------------------------------- Reporter: orgicus@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: opencv | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid * port: => opencv Comment: The log says: {{{ :info:build ld: warning: in /usr/lib/libjpeg.dylib, file was built for i386 which is not the architecture being linked (x86_64) }}} Please remove that file. It is not a part of OS X and it is interfering with the build. After you remove it, clean opencv and try again. {{{ sudo port clean opencv }}} In the future please do not install 3rd-party libraries into system directories. -- Ticket URL: <https://trac.macports.org/ticket/32493#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32493: OpenCV 2.3.1 build fails --------------------------------+------------------------------------------- Reporter: orgicus@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: opencv | --------------------------------+------------------------------------------- Comment(by orgicus@…): I've done as advised and install was successful. Thank you very much! -- Ticket URL: <https://trac.macports.org/ticket/32493#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts