Using MacPorts, when I run
sudo port -f clean --all all
Then I get an error. Snippet of output below:
---> Cleaning ml ---> Cleaning mldonkey ---> Cleaning mlpack ---> Cleaning mlt Error: Unable to open port: Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable
I don't know which one is causing the problem (I tried uninstalling/installing
mlt but that doesn't do it). This may not be specific to MacPorts, but I see the same error with homebrew posted so maybe it is more general.
I searched in /opt/local/ which is the installation directory of MacPorts but I don't have Qt5Core.pc.
Is there a way to make this MacPorts command continue running (kind of like with exception handling) and continue cleaning other packages after the error is encountered?