I been trying to install a port with the command sudo port install NAME_OF_PORT
The issue I am having with this particular port (OpenCV) is that it keeps asking me for dependencies with an error like the following:
Error: The following dependencies were not installed: libunwind-headers
llvm-3.1 llvm_select
Is there any way I can sudo port install NAME_OF_PORT with all of its dependencies with just one command?
Thanks a lot for your time, any tip much appreciated.
Try running
sudo port -v selfupdateand then rerunsudo port install opencv. If that’s not helping try runningsudo port upgrade outdatedto upgrade outdated dependencies.Also take a look at this guide I wrote: Compile OpenCV (2.3.1+) for OS X Lion / Mountain Lion with Xcode