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

Does not work on centos-7 #8

Open
MOZGIII opened this issue Nov 15, 2015 · 4 comments
Open

Does not work on centos-7 #8

MOZGIII opened this issue Nov 15, 2015 · 4 comments

Comments

@MOZGIII
Copy link

MOZGIII commented Nov 15, 2015

It fails to install the binary on centos 7.

==> default: ---- Begin output of rpm  -i /var/chef/cache/wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm ----
==> default: STDOUT: 
==> default: STDERR: error: Failed dependencies:
==> default:    fontconfig is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libpng is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libjpeg is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libX11 is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libXext is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libXrender is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    xorg-x11-fonts-Type1 is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    xorg-x11-fonts-75dpi is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default: ---- End output of rpm  -i /var/chef/cache/wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm ----
@MOZGIII
Copy link
Author

MOZGIII commented Nov 15, 2015

With a hack to use centos 7 package from my repo:

==> default: ---- Begin output of rpm  -i /var/chef/cache/wkhtmltox-0.12.2.1_linux-centos7-amd64.rpm ----
==> default: STDOUT: 
==> default: STDERR: error: Failed dependencies:
==> default:    libpng is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    libjpeg-turbo is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    xorg-x11-fonts-Type1 is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default:    xorg-x11-fonts-75dpi is needed by wkhtmltox-1:0.12.2.1-1.x86_64
==> default: ---- End output of rpm  -i /var/chef/cache/wkhtmltox-0.12.2.1_linux-centos7-amd64.rpm ----

Seems like the packages are not only not static, they aren't even headless.

@MOZGIII
Copy link
Author

MOZGIII commented Sep 24, 2016

I ended up installing it manually without this package.
24.09.2016, 01:02, "Gerald Christophe" notifications@github.com:Hi Mozgii, how did you escape from this error? I have the same kind of error.

@BallisticPain
Copy link
Owner

@MOZGIII

Is there something I can do to make this work better? I don't have CentOS to test with.
Happy you have gotten it working. Also, I'd be happy to review a PR as well.

Thanks!

@MOZGIII
Copy link
Author

MOZGIII commented Sep 28, 2016

We're not using wkhtmltopdf anymore, so I don't really need it now... But anyways.
You could probably just test against boxes/centos-7.2, it's the one use (https://atlas.hashicorp.com/bento/boxes/centos-7.2).

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