#24896 closed defect (invalid)
opencv-2.0.0 Can't read "build.cmd"
Reported by: | matthew.barulic@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | opencv |
Description
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?
Change History (4)
comment:1 follow-up: 2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 15 years ago by matthew.barulic@…
Replying to ryandesign@…:
You haven't installed Xcode (or haven't installed it properly). See the 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.
comment:3 follow-up: 4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
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
comment:4 Changed 15 years ago by matthew.barulic@…
Replying to 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.
You haven't installed Xcode (or haven't installed it properly). See the FAQ entry.