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

Linux CentOs 7 - installation #231

Closed
ozozm opened this issue Jan 24, 2017 · 3 comments
Closed

Linux CentOs 7 - installation #231

ozozm opened this issue Jan 24, 2017 · 3 comments

Comments

@ozozm
Copy link

ozozm commented Jan 24, 2017

Used git clone --recursive https://github.com/pornel/pngquant.git in SSH after login. It successfully plonked the folder straight into root directory so i moved it to the /usr/local/bin which is apparently supposed to be the default.

Navigated to usr/local/bin/pngquant

"make" & "sudo make install" returns:

./configure: line 250: gcc: command not found
Compiler: error ... gcc failed to compile anything (make sure it's installed and supports C99)

make: *** No rule to make target config.mk', needed by pngquant.o'. Stop.

@kornelski
Copy link
Owner

You should not move the folder or any files to /usr/ yourself. Clone the folder to your home directory or /tmp.

gcc failed to compile anything (make sure it's installed and supports C99)

You need to install gcc (the package may be called build-essential)

@sergiomb2
Copy link
Contributor

Hi, if its help, you got pngquant in epel7 repos https://apps.fedoraproject.org/packages/pngquant

@ozozm
Copy link
Author

ozozm commented Mar 26, 2017

For future readers with the same problem, I installed it using the yum command through SSH as follows...

sudo yum install gcc

yum install lib16-devel

sudo yum install pngquant

:)

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

3 participants