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

In configure, --with-libpng doesn't seem to take effect #364

Open
csun-mw opened this issue Sep 16, 2020 · 0 comments
Open

In configure, --with-libpng doesn't seem to take effect #364

csun-mw opened this issue Sep 16, 2020 · 0 comments

Comments

@csun-mw
Copy link

csun-mw commented Sep 16, 2020

Hi,
I'm following the instructions herehttps://pngquant.org/install.html
 to build from the source downloaded from Github. When using the options --prefix=CUSTOM_PATH --with-libpng=MY_LIBPNG_DIR with the configure file, though, those options don't seem to take effect.

  • I can build pngquant on a Debian machine properly, but it outputs the binary in the source directory, not the one I specified with --prefix;
  • When building it on a Mac, which has libpng 1.6.36 installed on a custom folder (not as a subfolder of pngquant source), though I typed in the right libpng path for --with-libpng, the build would run into the warning and error like the following, and fail: 

warning: pkg-config is not installed, can't search for libraries. Please install pkg-config.    libpng: error ... not found (try: brew install libpng)

Any help will be much appreciated.

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

1 participant