Dear all,
first I want to say thank you for providing such great tool for all of us, I luv it.
I've been struggling with it for a couple of days now, I read this forum and searched google and I'm stuck completly.
So I need you help guys.
1 question:
Is there a tool GUI for imagemagick where I can resize and do other stuff and see the exact cmd executed? would be handy when doing compose -geometry (2 images) for example find the x y.
2 question and the most important.
I'm new with Imagemagick and with linux but I managed to install and play with imagemagick, old version that I installed by my Plesk. Now the issue is that I need to use the new feature, I need the latest imagemagick on my VPS.
I tried http://www.imagemagick.org/Usage/api/#building
I get fine till (red line)
rpmdir=/tmp/imagemagick-rpmbuild
rm -rf $rpmdir; mkdir $rpmdir
mkdir $rpmdir/{BUILD,RPMS{,/i386},SOURCES,SPECS,SRPMS}
nice rpmbuild --define="_topdir $rpmdir" --nodeps --rebuild ImageMagick-6.4.9-8.src.rpm
I got this error:
Installing ImageMagick-6.4.9-8.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
error: unpacking of archive failed on file /tmp/imagemagick-rpmbuild/SOURCES/ImageMagick-6.4.9-8.tar.bz2;49b0f6e1: cpio: MD5 sum mismatch
error: ImageMagick-6.4.9-8.src.rpm cannot be installed
I also tried this one http://andrewduck.name/2009/01/imagemag ... -centos-5/
but I soon I run
configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
I got this error:
-bash: configure: command not found
- Now my Question is could anybody please help me?
- Does anyone have a rpm for CentOS 5 that I just can install ?
- Is there any other way I could install Imagemagick on my VPS ?
Thank you a million for you help and advice.
SOLVED! Need Help Installing ImageMagick-6.4.9.x on CentOS 5
SOLVED! Need Help Installing ImageMagick-6.4.9.x on CentOS 5
Last edited by rick0 on 2009-05-11T10:08:27-07:00, edited 1 time in total.
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
The first two warnings can be ignored, however if the md5 sum of the source package is incorrect there is something seriously wrong (assuming that the one building the SRPM haven't made a mistake)rick0 wrote: I got this error:
Installing ImageMagick-6.4.9-8.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
error: unpacking of archive failed on file /tmp/imagemagick-rpmbuild/SOURCES/ImageMagick-6.4.9-8.tar.bz2;49b0f6e1: cpio: MD5 sum mismatch
error: ImageMagick-6.4.9-8.src.rpm cannot be installed
Assuming you are in the ImageMagick-6.4.5-8 directory when running configure, you probably don't have '.' in you PATH, so the solution would be:rick0 wrote: I also tried this one http://andrewduck.name/2009/01/imagemag ... -centos-5/
but I soon I run
configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
I got this error:
-bash: configure: command not found
Code: Select all
./configure --prefix....
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
Thank you hson for your reply.
After your post I tried to redo point (1) wasnt sure that If did it right so I downloaded the latest Imagemagick from
ftp://ftp.imagemagick.org/pub/ImageMagi ... -9.src.rpm and tried to run
# nice rpmbuild --define="_topdir $rpmdir" --nodeps --rebuild ImageMagick-6.4.9-9.src.rpm
But still got this error:
Installing ImageMagick-6.4.9-9.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
error: unpacking of archive failed on file /tmp/imagemagick-rpmbuild/SOURCES/ImageMagick-6.4.9-9.tar.bz2;49b46ee7: cpio: MD5 sum mismatch
error: ImageMagick-6.4.9-9.src.rpm cannot be installed
About Methode (2) thanks for you comment because I helped me a little so this is what I did.
Downloaded the latest Imagemagick from
ftp://ftp.imagemagick.org/pub/ImageMagi ... 9-9.tar.gz
Then ran from the folder
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
and this is the result I got:
configuring ImageMagick 6.4.9-9
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... //bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/ImageMagick-6.4.9-9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I just ignored and went on with "make" and this is what I get:
ImageMagick-6.4.9-9]# make clean
make: *** No rule to make target `clean'. Stop.
ImageMagick-6.4.9-9]# make
make: *** No targets specified and no makefile found. Stop.
ImageMagick-6.4.9-9]# make install
make: *** No rule to make target `install'. Stop.
ImageMagick-6.4.9-9]# sudo make install
audit_log_user_command(): Connection refused
make: *** No rule to make target `install'. Stop.
Never though it was so difficult to update Imagemagick
But while looking in the imagemagick ftp I saw a fedore folder with an rpm, cuz CentOS and Fedora are from redhat right? so I tried to download the rpm and install using yum install ImageMagick-6.4.9-9.i586.rpm , everything went fine till I got this errors:
Marking ImageMagick-6.4.9-9.i586.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.i586 0:6.4.9-9 set to be updated
--> Processing Dependency: libHalf.so.6 for package: ImageMagick
--> Processing Dependency: libIex.so.6 for package: ImageMagick
--> Processing Dependency: libIlmImf.so.6 for package: ImageMagick
--> Processing Dependency: libIlmThread.so.6 for package: ImageMagick
--> Processing Dependency: libImath.so.6 for package: ImageMagick
--> Processing Dependency: libdjvulibre.so.21 for package: ImageMagick
--> Processing Dependency: liblqr-1.so.0 for package: ImageMagick
--> Processing Dependency: libltdl.so.7 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: liblqr-1.so.0 is needed by package ImageMagick
Error: Missing Dependency: libdjvulibre.so.21 is needed by package ImageMagick
Error: Missing Dependency: libHalf.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIlmImf.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIlmThread.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIex.so.6 is needed by package ImageMagick
Error: Missing Dependency: libltdl.so.7 is needed by package ImageMagick
Error: Missing Dependency: libImath.so.6 is needed by package ImageMagick
Any advice hson ? cuz everything I try doesnt work. maybe linux doesnt like me. lol
Thank you very much
After your post I tried to redo point (1) wasnt sure that If did it right so I downloaded the latest Imagemagick from
ftp://ftp.imagemagick.org/pub/ImageMagi ... -9.src.rpm and tried to run
# nice rpmbuild --define="_topdir $rpmdir" --nodeps --rebuild ImageMagick-6.4.9-9.src.rpm
But still got this error:
Installing ImageMagick-6.4.9-9.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
error: unpacking of archive failed on file /tmp/imagemagick-rpmbuild/SOURCES/ImageMagick-6.4.9-9.tar.bz2;49b46ee7: cpio: MD5 sum mismatch
error: ImageMagick-6.4.9-9.src.rpm cannot be installed
About Methode (2) thanks for you comment because I helped me a little so this is what I did.
Downloaded the latest Imagemagick from
ftp://ftp.imagemagick.org/pub/ImageMagi ... 9-9.tar.gz
Then ran from the folder
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
and this is the result I got:
configuring ImageMagick 6.4.9-9
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... //bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/ImageMagick-6.4.9-9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I just ignored and went on with "make" and this is what I get:
ImageMagick-6.4.9-9]# make clean
make: *** No rule to make target `clean'. Stop.
ImageMagick-6.4.9-9]# make
make: *** No targets specified and no makefile found. Stop.
ImageMagick-6.4.9-9]# make install
make: *** No rule to make target `install'. Stop.
ImageMagick-6.4.9-9]# sudo make install
audit_log_user_command(): Connection refused
make: *** No rule to make target `install'. Stop.
Never though it was so difficult to update Imagemagick
But while looking in the imagemagick ftp I saw a fedore folder with an rpm, cuz CentOS and Fedora are from redhat right? so I tried to download the rpm and install using yum install ImageMagick-6.4.9-9.i586.rpm , everything went fine till I got this errors:
Marking ImageMagick-6.4.9-9.i586.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.i586 0:6.4.9-9 set to be updated
--> Processing Dependency: libHalf.so.6 for package: ImageMagick
--> Processing Dependency: libIex.so.6 for package: ImageMagick
--> Processing Dependency: libIlmImf.so.6 for package: ImageMagick
--> Processing Dependency: libIlmThread.so.6 for package: ImageMagick
--> Processing Dependency: libImath.so.6 for package: ImageMagick
--> Processing Dependency: libdjvulibre.so.21 for package: ImageMagick
--> Processing Dependency: liblqr-1.so.0 for package: ImageMagick
--> Processing Dependency: libltdl.so.7 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: liblqr-1.so.0 is needed by package ImageMagick
Error: Missing Dependency: libdjvulibre.so.21 is needed by package ImageMagick
Error: Missing Dependency: libHalf.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIlmImf.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIlmThread.so.6 is needed by package ImageMagick
Error: Missing Dependency: libIex.so.6 is needed by package ImageMagick
Error: Missing Dependency: libltdl.so.7 is needed by package ImageMagick
Error: Missing Dependency: libImath.so.6 is needed by package ImageMagick
Any advice hson ? cuz everything I try doesnt work. maybe linux doesnt like me. lol
Thank you very much
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
For library dependencies, what I recommend is that you first install the repository version of ImageMagick. That will also install the dependencies it has. After that you can update that package with the latest version of IM.
HOWEVER, CentOS has a very very OLD version of IM, and this may produce problems as many things has changed. You may like to try the new CentOS extras repository attached to the fedora 3rd party repo, RPMfusion No guarantees, I haven't looked myself, just know it is present.
The better idea is to attempt to install as many of the library dependencies as you can first, then build a IM specifically for your system. IM will build with very few dependencies when done this way by just not including parts that depend on the missing library. For example if the liblqr library is not present you will not have the -lqr (liquid resize) option available.
My notes on building a RPM specific for a system is in
http://www.imagemagick.org/Usage/api/#building
and it has been reported as working for CentOS but without any details of how it was done.
Whatever happens please keep us informed as to what does work, so I can add it to the above page.
HOWEVER, CentOS has a very very OLD version of IM, and this may produce problems as many things has changed. You may like to try the new CentOS extras repository attached to the fedora 3rd party repo, RPMfusion No guarantees, I haven't looked myself, just know it is present.
The better idea is to attempt to install as many of the library dependencies as you can first, then build a IM specifically for your system. IM will build with very few dependencies when done this way by just not including parts that depend on the missing library. For example if the liblqr library is not present you will not have the -lqr (liquid resize) option available.
My notes on building a RPM specific for a system is in
http://www.imagemagick.org/Usage/api/#building
and it has been reported as working for CentOS but without any details of how it was done.
Whatever happens please keep us informed as to what does work, so I can add it to the above page.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
Anthony a miracle happend
I got it, I think !! when doing identify -version
Version: ImageMagick 6.4.9-10 2009-03-10 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
I'm so happy!! but i've got no idea how i did it :s lol
I've been messing around with the repository in CentOS 5 for a couple of hours now.
I added a couple of them to my CentOS , info at : http://wiki.centos.org/AdditionalResources/Repositories
Then I Installed OpenEXR, gcc, and tried to install other lib like you said ,but half of them didn't download or got error , cuz im a totaal Linux Noob and then I said to myself lets try to install it again using the step by step from
http://www.imagemagick.org/script/insta ... e.php#unix
and then I saw things progressing and with none or very few erros, and now I got it finally installed!
Yaaaaay
Thank you
As soon I get some $ I will donate to ImageMagick
Ok now its time to play.
Have a great day all.
Cheers
I got it, I think !! when doing identify -version
Version: ImageMagick 6.4.9-10 2009-03-10 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
I'm so happy!! but i've got no idea how i did it :s lol
I've been messing around with the repository in CentOS 5 for a couple of hours now.
I added a couple of them to my CentOS , info at : http://wiki.centos.org/AdditionalResources/Repositories
Then I Installed OpenEXR, gcc, and tried to install other lib like you said ,but half of them didn't download or got error , cuz im a totaal Linux Noob and then I said to myself lets try to install it again using the step by step from
http://www.imagemagick.org/script/insta ... e.php#unix
and then I saw things progressing and with none or very few erros, and now I got it finally installed!
Yaaaaay
Thank you
As soon I get some $ I will donate to ImageMagick
Ok now its time to play.
Have a great day all.
Cheers
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
hey rick0
could you remember which ones you installed? cause i have the same problem may be even worse I don't have ImagicMagick on the VPS. When trying to install it i got:
i want to install a legacy version 6.1.0.
could you remember which ones you installed? cause i have the same problem may be even worse I don't have ImagicMagick on the VPS. When trying to install it i got:
Code: Select all
configuring ImageMagick 6.1.0
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
Looks like you are missing the development packages. That is a C compiler!
I don't know if this works for CentOS but under fedora (very simular) I can install the comilars using...
sudo yum groupinstall "Development Tools"
sudo yum install rpmdevtool
UPDATE: YES that does work under CentOS, I'll add it to my build notes (see URL above)
For building IM I also installl the packages....
freetype-devel ghostscript-devel libwmf-devel
jasper-devel lcms-devel bzip2-devel
librsvg2 librsvg2-devel liblpr-1 liblqr-1-devel
The last two is for "liquid resize" whcih is automatically enabled if the librarys are present when you build IM.
I also build and install by own version of autotrace packages so as to remove its dependency on an OLD ImageMagick library. A dependency that is just not needed. However when building IM I need a configure option --with-autotrace to use it (for demonstarting it in IM Examples).
I don't know if this works for CentOS but under fedora (very simular) I can install the comilars using...
sudo yum groupinstall "Development Tools"
sudo yum install rpmdevtool
UPDATE: YES that does work under CentOS, I'll add it to my build notes (see URL above)
For building IM I also installl the packages....
freetype-devel ghostscript-devel libwmf-devel
jasper-devel lcms-devel bzip2-devel
librsvg2 librsvg2-devel liblpr-1 liblqr-1-devel
The last two is for "liquid resize" whcih is automatically enabled if the librarys are present when you build IM.
I also build and install by own version of autotrace packages so as to remove its dependency on an OLD ImageMagick library. A dependency that is just not needed. However when building IM I need a configure option --with-autotrace to use it (for demonstarting it in IM Examples).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Need Help Installing ImageMagick-6.4.9.x on CentOS 5
Thanks so much anthony
I had a few problems with the package gcc, i had to remove a reinstall it but after long hour i finally was able to get work and now its compiling.. but seems like a long process!
I had a few problems with the package gcc, i had to remove a reinstall it but after long hour i finally was able to get work and now its compiling.. but seems like a long process!