Что за ошибка imagemagick в CentOS

1.13K
.
В общем в процессе установки возникли следующие ошибки, кто шарищий подскажите как исправить пока на стадии
руководствовался тут http://admini24.ru/blog/WEB_Se ... .html

ошибка
[root@chemax ~]# pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading imagick-3.0.1.tgz ...
Starting to download imagick-3.0.1.tgz (93,920 bytes)
.....................done: 93,920 bytes
13 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Please provide the prefix of Imagemagick installation [autodetect] : all
building in /var/tmp/pear-build-rooth7H1wE/imagick-3.0.1
running: /var/tmp/imagick/configure --with-imagick=all
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/var/tmp/pear-build-rooth7H1wE/imagick-3.0.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
ERROR: `/var/tmp/imagick/configure --with-imagick=all' failed
.
Screamer
gcc не стоит же
Тем более там где ты "руководствовался" четко и ясно написано:

также должен быть установлен gcc:
yum install gcc make
.
Screamer (14.02.2013 / 21:30)
gcc не стоит же
Тем более там где ты "руководствовался" четко и ясно написано:

также должен быть установлен gcc:
yum install gcc make
Так я по очерёдно всё поставил, всё до шага с ошибкой
.
[root@cxemax ~]# yum install gcc make
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* epel: mirror.yandex.ru
* extras: mirror.yandex.ru
* rpmforge: mirror.awanti.com
* updates: mirror.yandex.ru
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.6-4.el6 set to be updated
--> Processing Dependency: cpp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.x8 6_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-4.el6 .x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64
---> Package make.x86_64 1:3.81-20.el6 set to be updated
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 set to be updated
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7- 1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1. 2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-4.el6 set to be updated
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.6-4.el6.x8 6_64
---> Package glibc-devel.x86_64 0:2.12-1.80.el6_3.7 set to be updated
--> Processing Dependency: glibc-headers = 2.12-1.80.el6_3.7 for package: glibc- devel-2.12-1.80.el6_3.7.x86_64
--> Processing Dependency: glibc = 2.12-1.80.el6_3.7 for package: glibc-devel-2. 12-1.80.el6_3.7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6_ 3.7.x86_64
---> Package libgcc.x86_64 0:4.4.6-4.el6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.12-1.7.el6 for package: glibc-common-2.12-1 .7.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.80.el6_3.7 set to be updated
---> Package glibc-headers.x86_64 0:2.12-1.80.el6_3.7 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2. 12-1.80.el6_3.7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.80.e l6_3.7.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 set to be updated
---> Package ppl.x86_64 0:0.10.2-11.el6 set to be updated
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.80.el6_3.7 set to be updated
---> Package kernel-headers.x86_64 0:2.6.32-279.22.1.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gcc x86_64 4.4.6-4.el6 base 10 M
make x86_64 1:3.81-20.el6 base 389 k
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k
cpp x86_64 4.4.6-4.el6 base 3.7 M
glibc-devel x86_64 2.12-1.80.el6_3.7 updates 971 k
glibc-headers x86_64 2.12-1.80.el6_3.7 updates 601 k
kernel-headers x86_64 2.6.32-279.22.1.el6 updates 1.9 M
mpfr x86_64 2.4.1-6.el6 base 157 k
ppl x86_64 0.10.2-11.el6 base 1.3 M
Updating for dependencies:
glibc x86_64 2.12-1.80.el6_3.7 updates 3.8 M
glibc-common x86_64 2.12-1.80.el6_3.7 updates 14 M
libgcc x86_64 4.4.6-4.el6 base 100 k

Transaction Summary
================================================================================
Install 9 Package(s)
Upgrade 3 Package(s)

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Download delta size: 1.1 M
glibc-2.12-1.7.el6_2.12-1.80.el6_3.7.x86_64.drpm | 1.1 MB 00:02
Finishing rebuild of rpms, from deltarpms
<delta rebuild> | 3.8 MB 00:04
Error rebuilding rpm from glibc-2.12-1.7.el6_2.12-1.80.el6_3.7.x86_64.drpm! Will download full package.
Package(s) data still to download: 33 M
(1/12): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
(2/12): cpp-4.4.6-4.el6.x86_64.rpm | 3.7 MB 00:07
(3/12): gcc-4.4.6-4.el6.x86_64.rpm | 10 MB 00:18
(4/12): glibc-2.12-1.80.el6_3.7.x86_64.rpm | 3.8 MB 00:09
(5/12): glibc-common-2.12-1.80.el6_3.7.x86_64.rpm | 14 MB 00:29
(6/12): glibc-devel-2.12-1.80.el6_3.7.x86_64.rpm | 971 kB 00:01
(7/12): glibc-headers-2.12-1.80.el6_3.7.x86_64.rpm | 601 kB 00:00
(8/12): kernel-headers-2.6.32-279.22.1.el6.x86_64.rpm | 1.9 MB 00:03
(9/12): libgcc-4.4.6-4.el6.x86_64.rpm | 100 kB 00:00
(10/12): make-3.81-20.el6.x86_64.rpm | 389 kB 00:11
(11/12): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00
(12/12): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:02
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 444 kB/s | 37 MB 01:25
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc-4.4.6-4.el6.x86_64 1/15
Updating : glibc-common-2.12-1.80.el6_3.7.x86_64 2/15
Updating : glibc-2.12-1.80.el6_3.7.x86_64 3/15
Installing : mpfr-2.4.1-6.el6.x86_64 4/15
Installing : cpp-4.4.6-4.el6.x86_64 5/15
Installing : ppl-0.10.2-11.el6.x86_64 6/15
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 7/15
Installing : kernel-headers-2.6.32-279.22.1.el6.x86_64 8/15
Installing : 1:make-3.81-20.el6.x86_64 9/15
Installing : glibc-headers-2.12-1.80.el6_3.7.x86_64 10/15
Installing : glibc-devel-2.12-1.80.el6_3.7.x86_64 11/15
Installing : gcc-4.4.6-4.el6.x86_64 12/15
Cleanup : glibc-2.12-1.7.el6.x86_64 13/15
Cleanup : glibc-common-2.12-1.7.el6.x86_64 14/15
Cleanup : libgcc-4.4.4-13.el6.x86_64 15/15

Installed:
gcc.x86_64 0:4.4.6-4.el6 make.x86_64 1:3.81-20.el6

Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.6-4.el6 glibc-devel.x86_64 0:2.12-1.80.el6_3.7 glibc-headers.x86_64 0:2.12-1.80.el6_3.7
kernel-headers.x86_64 0:2.6.32-279.22.1.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6

Dependency Updated:
glibc.x86_64 0:2.12-1.80.el6_3.7 glibc-common.x86_64 0:2.12-1.80.el6_3.7 libgcc.x86_64 0:4.4.6-4.el6

Complete!
[root@cxemax ~]#
.
блин всё сделал, но выбивает ошибку помогите пожалуйсто php -m | grep imagick
PHP: syntax error, unexpected '"' in /etc/php.d/apc.ini on line 1
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
.
вот чё нету
php -m
PHP: syntax error, unexpected '"' in /etc/php.d/apc.ini on line 1
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
.
yum install gcc make
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* epel: mirror.yandex.ru
* extras: mirror.yandex.ru
* rpmforge: mirror.awanti.com
* updates: mirror.yandex.ru
Setting up Install Process
Package gcc-4.4.6-4.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Nothing to do
.
yum install php-devel
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* epel: mirror.yandex.ru
* extras: mirror.yandex.ru
* rpmforge: mirror.awanti.com
* updates: mirror.yandex.ru
Setting up Install Process
Package php-devel-5.3.3-14.el6_3.x86_64 already installed and latest version
Nothing to do
.
yum install ImageMagick
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* epel: mirror.yandex.ru
* extras: mirror.yandex.ru
* rpmforge: mirror.awanti.com
* updates: mirror.yandex.ru
Setting up Install Process
Package ImageMagick-6.5.4.7-6.el6_2.x86_64 already installed and latest version
Nothing to do
.
yum install ImageMagick-devel
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* epel: mirror.yandex.ru
* extras: mirror.yandex.ru
* rpmforge: mirror.awanti.com
* updates: mirror.yandex.ru
Setting up Install Process
Package ImageMagick-devel-6.5.4.7-6.el6_2.x86_64 already installed and latest version
Nothing to do
Всего: 40