Hello guys,
I've had great success installing ImageMagick from source in the past and lately I've been running into a dependency problem I can't seem to get around for the -devel only.
System: Centos 6.5
I have installed all the libs and delegates that are required.
I downloaded the src rpm:
ImageMagick-6.8.9-0.src.rpm
ran the rebuild:
rpmbuild --rebuild --nodeps ImageMagick-6.8.9-0.src.rpm
When completed successfully I got my new files:
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-devel-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-djvu-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-doc-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-perl-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-c++-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-c++-devel-6.8.9-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/ImageMagick-debuginfo-6.8.9-0.x86_64.rpm
I installed the new rpm and it installs fine (which I expected)
rpm -ivh /root/rpmbuild/RPMS/x86_64/ImageMagick-6.8.9-0.x86_64.rpm
Preparing... ########################################### [100%]
1:ImageMagick ########################################### [100%]
When I try the devel rpm I get the error:
rpm -ivh /root/rpmbuild/RPMS/x86_64/ImageMagick-devel-6.8.9-0.x86_64.rpm
error: Failed dependencies:
ImageMagick-libs = 6.8.9-0 is needed by ImageMagick-devel-6.8.9-0.x86_64
Any ideas? I never seen this before. I've been install ImageMagick for years this way and it worked every time for me. In the last couple of versions I've had this problem.
Thanks!
John
Problem with dependencies with version 6.8.9-0
-
- Posts: 11
- Joined: 2013-01-18T08:56:57-07:00
- Authentication code: 6789
-
- Posts: 1
- Joined: 2014-05-21T16:31:41-07:00
- Authentication code: 6789
Re: Problem with dependencies with version 6.8.9-0
hi
i have the same problem anyone know how to fix
pls explain steply
thanks
i have the same problem anyone know how to fix
pls explain steply
thanks
Re: Problem with dependencies with version 6.8.9-0
There is a problem in the spec file.
The definition for the -devel package in the spec file has the line:
but a -libs package never gets created because there are no files. It looks like the -libs package is being phased out, since, AFAICT, the libs are included in the main ImageMagick package. If you comment out this line from the spec file and rebuild, they'll install fine. I have not tested if the built packages work, but since this only removes a needless hardcoded dependency that doesn't exist, if should work if it would have worked otherwise.
This problem also exists with the built packages at http://www.imagemagick.org/download/linux/
The definition for the -devel package in the spec file has the line:
Code: Select all
Requires: %{name}-libs = %{version}-%{release}
This problem also exists with the built packages at http://www.imagemagick.org/download/linux/
Re: Problem with dependencies with version 6.8.9-0
Incidentally, there's another problem with the spec file. The ImageMagick patchlevel is being used for the RPM release value, which makes it difficult to bump the release number when the spec file is changed.