Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cpt.py] --check-requirements doesn't detect Homebrew as a package manager and misdetect libz (zlib) dependecy #404

Open
oshadura opened this issue Apr 7, 2021 · 1 comment

Comments

@oshadura
Copy link
Contributor

oshadura commented Apr 7, 2021

Another interesting issue, I noticed about cpt.py that on macOS it looks like it requires Macports for an (optional?) Zlib dependency:
https://gist.github.com/oshadura/26ae5b7b07c37bfd2b19aa2671858147

I have homebrew and definitely I have libz here: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/libz.tbd (found version "1.2.11").

@oshadura oshadura changed the title cpt.py --check-requirements doesn't detect Homebrew as a package manager and misdetect libz (zlib) dependecy [cpt.py] --check-requirements doesn't detect Homebrew as a package manager and misdetect libz (zlib) dependecy Apr 7, 2021
@reikdas
Copy link
Contributor

reikdas commented Apr 7, 2021

I think there might be other dependencies as well that are not detected as being already installed (and there is either a force reinstall or cpt offloads the installation check to the package manager used to install it; whichever is the default for the package manager) - this might need some investigation to figure specifically which dependency checks are failing.

On a related note, cpt should probably start using Homebrew as the package manager for installing dependencies on macOS, instead of Macports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants