-
Notifications
You must be signed in to change notification settings - Fork 57
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
[dev.icinga.com #8377] rhel-package php-pecl-imagick impossible to install via yum #71
Comments
Updated by vkhatri on 2015-02-06 17:13:59 +00:00
|
Updated by vkhatri on 2015-02-10 09:59:13 +00:00 this package is required for icingaweb2 setup. which OS (version) are you using? feel free to submit a PR to https://github.com/icinga/chef-icinga2! |
Updated by JannikZed on 2015-02-11 14:30:59 +00:00 I'm using Centos 6.5. I created a pull Request in Github. Just let me know what you think about it. |
Updated by vkhatri on 2015-02-11 19:05:06 +00:00
PR merged, made couple of changes in favor of amazon platform. |
Updated by vkhatri on 2015-02-11 19:14:30 +00:00 these packages can also be moved to recipe icinga2::server_web2. keeping it open for further review. did you try to install it with epel repository? i have not gotten time to test it on centos os. |
Updated by JannikZed on 2015-02-12 07:30:12 +00:00 okay damn, you are right. This package can be downloaded via epel von centos. So then we move the installation of php-pecl-imagick to icinga2::server_web2, so that it will be installed after the epel-repository is added. I can create a PR if you want so. |
Updated by vkhatri on 2015-02-12 14:03:04 +00:00 i got this! thanks for confirming that adding yum epel works on centos. i think lets keep it as it is for now, now recipe does not require much of code change. |
Updated by vkhatri on 2015-02-12 14:37:15 +00:00 how about giving it a try now? |
Updated by JannikZed on 2015-02-13 13:53:20 +00:00 okay, we can leave it as it is. It works for Centos 6.5 but I cannot test it for amazon linux. If I notice errors later, we can reopen the bug, can we? I will do some more tests with other linux distributions the next week. |
Updated by vkhatri on 2015-02-13 16:56:17 +00:00 amazon linux does not require epel for this package or for any other package for installation. amzn-main repo provides this package. thanks for looking into other rhel platforms. sure, anytime. closing it for now. |
Updated by vkhatri on 2015-02-13 17:02:16 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8377
Created by JannikZed on 2015-02-06 09:25:03 +00:00
Assignee: vkhatri
Status: Closed (closed on 2015-02-13 17:02:16 +00:00)
Target Version: (none)
Last Update: 2015-02-13 17:02:16 +00:00 (in Redmine)
The package php-pecl-imagick is one package to be installed via yum:
when 'rhel'
os_packages = %w(gcc gcc-c** glibc glibc-common mailx php php-devel gd gd-devel libjpeg libjpeg-devel libpng libpng-devel php-gd php-fpm php-cli php-pear php-xmlrpc php-xsl php-pdo php-soap php-ldap php-mysql php-pgsql php-pecl-imagick php-intl git)
end
This command fails, because the package is not a yum package. I don't know where it is used, but either you remove it from the list or you chef needs to compile it via gcc:
$ yum install ImageMagick ImageMagick-devel
$ pecl install imagick
$ echo "extension=imagick.so" > /etc/php.d/imagick.ini
The text was updated successfully, but these errors were encountered: