I'm trying to install ImageMagick PHP on a Plesk server (RedHat) and I get this error.
Please provide the prefix of Imagemagick installation [autodetect] : building in /var/tmp/pear-build-root/imagick-3.0.1 running: /tmp/tmpE0CvXB/imagick-3.0.1/configure --with-imagick checking for egrep... grep -E checking for a sed that does not truncate output... //bin/sed checking whether to enable the imagick extension... yes, shared [...] Package Wand was not found in the pkg-config search path. Perhaps you should add the directory containing `Wand.pc' to the PKG_CONFIG_PATH environment variable No package 'Wand' found [...] : Function eregi() is deprecated in PEAR/Registry.php on line 735 : Function eregi() is deprecated in PEAR/Registry.php on line 735 ERROR: `/tmp/tmpE0CvXB/imagick-3.0.1/configure --with-imagick' failed
So I tried to remount
tmp but got this error:
[root@me /]# mount -o remount,rw /tmp mount: can't find /tmp in /etc/fstab or /etc/mtab
When I run the
mount command I get the contents of
/dev/mapper/SysVolGroup-LogVolRoot on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext2 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) tmpfs on /usr/local/psa/handlers/before-local type tmpfs (rw) tmpfs on /usr/local/psa/handlers/before-queue type tmpfs (rw) tmpfs on /usr/local/psa/handlers/before-remote type tmpfs (rw) tmpfs on /usr/local/psa/handlers/info type tmpfs (rw) tmpfs on /usr/local/psa/handlers/spool type tmpfs (rw,mode=0770,gid=31)
Does anyone know how to troubleshoot this?