[MacPorts] #24896: opencv-2.0.0 Can't read "build.cmd"
#24896: opencv-2.0.0 Can't read "build.cmd" ---------------------------------------+------------------------------------ Reporter: matthew.barulic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: opencv ---------------------------------------+------------------------------------ While attempting to install 'opencv' on Mac OS X v10.6.3, using {{{ sudo port install opencv }}} the following error was returned {{{ ---> Computing dependencies for opencvError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? }}} -- Ticket URL: <http://trac.macports.org/ticket/24896> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24896: opencv-2.0.0 Can't read "build.cmd" ----------------------------------------+----------------------------------- Reporter: matthew.barulic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: opencv | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid Comment: You haven't installed Xcode (or haven't installed it properly). See the [wiki:FAQ#missingxcode FAQ entry]. -- Ticket URL: <http://trac.macports.org/ticket/24896#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24896: opencv-2.0.0 Can't read "build.cmd" ----------------------------------------+----------------------------------- Reporter: matthew.barulic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: opencv | ----------------------------------------+----------------------------------- Comment(by matthew.barulic@…): Replying to [comment:1 ryandesign@…]:
You haven't installed Xcode (or haven't installed it properly). See the [wiki:FAQ#missingxcode FAQ entry]. Thank you! I had installed Xcode earlier, for another project and had not added the necessary extensions. However, now I'm presented with a new error,
{{{ ---> Computing dependencies for opencv ---> Staging zlib into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5" && /usr/bin/make install prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local " returned error 2 Command output: cp libz.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory make: *** [install-libs] Error 64 Error: The following dependencies failed to build: ffmpeg zlib gtk2 atk gtk-doc gnome-doc-utils libxslt libxml2 p5-xml-parser py26-libxml2 python26 db46 gdbm openssl readline sqlite3 tk Xft2 fontconfig freetype tcl xorg-libXScrnSaver xorg-scrnsaverproto rarian getopt intltool gnome- common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman libpng jasper pango shared-mime-info tiff xorg-libXcomposite xorg- compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg- libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto Error: Status 1 encountered during processing. }}} When I try to install some of the dependencies on their own, i get a similar error. -- Ticket URL: <http://trac.macports.org/ticket/24896#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24896: opencv-2.0.0 Can't read "build.cmd" ----------------------------------------+----------------------------------- Reporter: matthew.barulic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: opencv | ----------------------------------------+----------------------------------- Comment(by ryandesign@…): That's a totally different error now, and looks exactly like #24599. I never did find out why it happened, but the user in that ticket said cleaning zlib was all he needed. Can you try that? {{{ sudo port clean zlib }}} -- Ticket URL: <http://trac.macports.org/ticket/24896#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24896: opencv-2.0.0 Can't read "build.cmd" ----------------------------------------+----------------------------------- Reporter: matthew.barulic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: opencv | ----------------------------------------+----------------------------------- Comment(by matthew.barulic@…): Replying to [comment:3 ryandesign@…]:
That's a totally different error now, and looks exactly like #24599. I never did find out why it happened, but the user in that ticket said cleaning zlib was all he needed. Can you try that?
{{{ sudo port clean zlib }}}
Thank you very much! That one line fixed it up. Sorry for my misuse of the system, I'm just now figuring it out. Thanks again for your help. -- Ticket URL: <http://trac.macports.org/ticket/24896#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts