Page 1 of 1

Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-12T16:32:16-07:00
by raftcomm
Hi there,

Im turning to this forum as the web hosting company has basically left it to our own devices to get this working.

At present, im trying to install imagemagick via command line onto our Linux Server hosted on Godaddy.com.

Ive tried downloading the rpm files and tried to install it but run into quite a few failed pre-requisities.

1) Is there an easy way to download these required pre-requisities?

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpm -Uvh ImageMagick-6.5.1-2.i386.rpm
error: Failed dependencies:
        libICE.so.6 is needed by ImageMagick-6.5.1-1.i386
        libSM.so.6 is needed by ImageMagick-6.5.1-1.i386
        libXext.so.6 is needed by ImageMagick-6.5.1-1.i386
        libXt.so.6 is needed by ImageMagick-6.5.1-1.i386
        libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
2) When using the standard install command (yum install packagename) provided by the web hosting company, i constantly end up with this error message:

Package ImageMagick-6.5.1-2.i386.rpm is not signed

One of my photo gallery heavily depends on ImageMagick so would appreciate any help you can provide.

Cheers,
Jeremy

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-12T16:42:08-07:00
by magick
Try building from the source RPM:
  • rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
You can install any dependencies like this:
  • yum install ghostscript-devel djvulibre-devel libwmf-devel jasper-devel
for example.

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-12T17:01:10-07:00
by fmw42
Godaddy already has a terribly old version of IM installed. But they are not very cooperative about helping with it. But I wish they had a more current version available for general use.

This is what I get from calling these files from my web site at Godaddy

<?php
system("/usr/local/bin/convert -version");
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


<?php
$IM_version=shell_exec("/usr/local/bin/convert -version");
echo $IM_version
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


<?php
exec("/usr/local/bin/convert -version",$out,$returnval);
print_r($out[0]);
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-12T21:49:42-07:00
by raftcomm
magick wrote:Try building from the source RPM:
  • rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
You can install any dependencies like this:
  • yum install ghostscript-devel djvulibre-devel libwmf-devel jasper-devel
for example.
Thanks for that. I tried the rpmbuild command but its saying that the command does not exist.

Ive also tried installing the dependencies as you had mentioned. All went well except for the following ones:

Code: Select all

libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
Any clues how i can get these?

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T02:59:09-07:00
by raftcomm
Managed to install the rpmbuild command onto the box but still cant seem to rebuild it. Am getting the following error:

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpmbuild --rebuild ImageMagick-6.5.1-2.i386.rpm
Installing ImageMagick-6.5.1-2.i386.rpm
error: source package expected, binary found
error: ImageMagick-6.5.1-2.i386.rpm cannot be installed
[root@ip-97-74-116-98 modelarmour]#
Am i doing it against the right rpm file?

If not, can you advise which is the correct one from here?
ftp://ftp.imagemagick.org/pub/ImageMagi ... dora/i386/

Code: Select all

File:ImageMagick-6.5.1-2.i386.rpm  	2025 KB  	11/04/2009  	12:52:00 a.m.
File:ImageMagick-c++-6.5.1-2.i386.rpm 	169 KB 	11/04/2009 	12:52:00 a.m.
File:ImageMagick-c++-devel-6.5.1-2.i386.rpm 	84 KB 	11/04/2009 	12:52:00 a.m.
File:ImageMagick-debuginfo-6.5.1-2.i386.rpm 	5076 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-devel-6.5.1-2.i386.rpm 	74 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-doc-6.5.1-2.i386.rpm 	37 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-perl-6.5.1-2.i386.rpm 	148 KB 	11/04/2009 	12:53:00 a.m.
ImageMagick.rpm 		12/04/2009 	4:57:00 p.m.
File:digest.rdf 	4 KB 	12/04/2009 	6:34:00 p.m.

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T05:21:47-07:00
by magick
The source RPM is in the SRPMs folder of ftp://ftp.imagemagick.org/pub/ImageMagick/linux/.

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T14:43:22-07:00
by raftcomm
Thanks for point me in the right direction.

I still feel like im missing something as im retrying the rpmbuild command but am getting the following errors now.

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
Installing ImageMagick-6.5.1-2.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 /usr/src/redhat/SOURCES/ImageMagick-6.5.1-2.tar.bz2;49e3b280: cpio: MD5 sum mismatch
error: ImageMagick-6.5.1-2.src.rpm cannot be installed
[root@ip-97-74-116-98 modelarmour]#
I noted that on the pages on the binary files, there is a message digest that needed to be verified. How can this be done if not manually?

Would appreciate further assistance and thanks for the patience so far.

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T16:25:21-07:00
by magick
We cannot reproduce the problem you reported. Your rpmbuild command works for us without complaint. You have yet another option. Grab the ImageMagick source from ftp://ftp.imagemagick.org/pub/ImageMagick and type:
  • tar xvfz ImageMagick-6.5.1-2.tar.gz
    cd ImageMagick-6.5.1-2
    ./configure
    make
    make install

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T16:47:23-07:00
by raftcomm
I will definitely try it with the source files as you have suggested however would this resolve the dependency issues which i mentioned in my previous post?

Just to recap, these were the dependencies i was getting despite trying your earlier suggestion to install all dependencies using the yum install *-devel command.

Code: Select all

error: Failed dependencies:
        libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
When i tried the command, for example for one of these files, i got this error:

Code: Select all

[root@ip-97-74-116-98 modelarmour]# yum install libgs-devel
Repository base is listed more than once in the configuration
turbopanel-base           100% |=========================|  951 B    00:00
turbopanel-fc7            100% |=========================|  951 B    00:00
base                      100% |=========================| 2.1 kB    00:00
updates-released          100% |=========================| 2.3 kB    00:00
Setting up Install Process
Parsing package install arguments
No package libgs-devel available.
Nothing to do
[root@ip-97-74-116-98 modelarmour]#
This occured for all the files mentioned.

Even if the installation works and completes with errors, i had tested out the application that utilises ImageMagick and it failed as it couldnt resize images into thumbnails. Im guessing this is related to these dependencies not being resolved?

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-13T20:55:39-07:00
by raftcomm
magick wrote:We cannot reproduce the problem you reported. Your rpmbuild command works for us without complaint. You have yet another option. Grab the ImageMagick source from ftp://ftp.imagemagick.org/pub/ImageMagick and type:
  • tar xvfz ImageMagick-6.5.1-2.tar.gz
    cd ImageMagick-6.5.1-2
    ./configure
    make
    make install
Incidentally, i tried as you had suggested but as expected, the installation completed but when applications started using it, it couldnt perform functions like re-sizing images into thumbnails. When trying it out, i get the following error:

Code: Select all

Error creating thumbnail! Error code: 127

Command:

"/usr/local/bin/mogrify" -strip -resize "200x" -resize "x125<" -gravity center -crop 200x125+0+0 -quality 80 -unsharp 10 '/home/modelarmor/public_html/gallery/data/500/thumbs/IMG_4982.JPG'
Any tips on how i can resolve those dependencies?

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Posted: 2009-04-14T06:11:14-07:00
by magick
If the problem is with your application we can't help you. If its ImageMagick, we can. Let's see if ImageMagick work properly. Try your command with a test image:
  • convert logo: logo.jpg
    /usr/local/bin/mogrify -strip -resize 200x -resize x125< -gravity center -crop 200x125+0+0 -quality 80 -unsharp 10 logo.jpg
Now inspect logo.jpg. Did the mogrify command work properly? If so, ImageMagick is installed and working as expected.