Hi,
I'm trying to upgrade to the last IM, and I aways seem to run into major requirements problems with each upgrade. I'm using RHEL x64, so I'm using or buidlings rpm's for installation. up2date doesnt' seem to be able to provide the necessary requirement.
For the latest update, when I try to build IM, I get this requirement:
rpmbuild -dd ImageMagick.spec
error: Failed build dependencies:
freetype2-devel is needed by ImageMagick-6.2.9-3.x86_64
freetype2-devel of course requires freetype2
and
rpmbuild -dd freetype2.spec
error: Failed build dependencies:
aaa_base is needed by freetype2-2.1.10-4.4.x86_64
db is needed by freetype2-2.1.10-4.4.x86_64
devs is needed by freetype2-2.1.10-4.4.x86_64
fillup is needed by freetype2-2.1.10-4.4.x86_64
gettext-devel is needed by freetype2-2.1.10-4.4.x86_64
glibc-locale is needed by freetype2-2.1.10-4.4.x86_64
insserv is needed by freetype2-2.1.10-4.4.x86_64
klogd is needed by freetype2-2.1.10-4.4.x86_64
libcom_err is needed by freetype2-2.1.10-4.4.x86_64
libnscd is needed by freetype2-2.1.10-4.4.x86_64
libxcrypt is needed by freetype2-2.1.10-4.4.x86_64
libzio is needed by freetype2-2.1.10-4.4.x86_64
netcfg is needed by freetype2-2.1.10-4.4.x86_64
openldap2-client is needed by freetype2-2.1.10-4.4.x86_64
pam-modules is needed by freetype2-2.1.10-4.4.x86_64
permissions is needed by freetype2-2.1.10-4.4.x86_64
procinfo is needed by freetype2-2.1.10-4.4.x86_64
pwdutils is needed by freetype2-2.1.10-4.4.x86_64
sysvinit is needed by freetype2-2.1.10-4.4.x86_64
tcpd is needed by freetype2-2.1.10-4.4.x86_64
timezone is needed by freetype2-2.1.10-4.4.x86_64
vim is needed by freetype2-2.1.10-4.4.x86_64
so, it seems I need to install VIM and a bunch of other crap to upgrade IM.
Am I doing something wrong, or are these things really required?
upgrading to 6.2.9 : freetype2 requirement?
Yes, well, the regular build option is not as easy for deployments and removal. (I have some trouble with the rpm solution, but a lot lot more trouble with the regular builds) I really have to use a RPM based solution.
Is there a way to disable the freetype2 support (without disabling freetype) in the build?
Or, is there anyway of adding suitable rpm's for delegates?
rpm -ivh ImageMagick-6.2.9-3.x86_64.rpm
error: Failed dependencies:
libgs.so.8()(64bit) is needed by ImageMagick-6.2.9-3.x86_64
liblcms.so.1()(64bit) is needed by ImageMagick-6.2.9-3.x86_64
libpng12.so.0(PNG12_0)(64bit) is needed by ImageMagick-6.2.9-3.x86_64
rtld(GNU_HASH) is needed by ImageMagick-6.2.9-3.x86_64
...
and, I'm really confused about libpng, which is installed:
[root@234 x86_64]# whereis libpng12.so.0
libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/libpng12.so.0
[root@234 x86_64]# rpm -q libpng
libpng-1.2.7-1.el4.2
Is there a way to disable the freetype2 support (without disabling freetype) in the build?
Or, is there anyway of adding suitable rpm's for delegates?
rpm -ivh ImageMagick-6.2.9-3.x86_64.rpm
error: Failed dependencies:
libgs.so.8()(64bit) is needed by ImageMagick-6.2.9-3.x86_64
liblcms.so.1()(64bit) is needed by ImageMagick-6.2.9-3.x86_64
libpng12.so.0(PNG12_0)(64bit) is needed by ImageMagick-6.2.9-3.x86_64
rtld(GNU_HASH) is needed by ImageMagick-6.2.9-3.x86_64
...
and, I'm really confused about libpng, which is installed:
[root@234 x86_64]# whereis libpng12.so.0
libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/libpng12.so.0
[root@234 x86_64]# rpm -q libpng
libpng-1.2.7-1.el4.2
We're not sure ImageMagick will build against pre Freetype2 but it might. You can edit ImageMagick.spec and remove the dependancy or use the appropriate option to ignore dependancies when building from the source RPM. Otherwise you will need to track down the requisite dependancy RPM's and install them or build from source like we suggested.
Well, I did install freetype2 from source, then just removed the dependancy on it in the spec file, and it seemed to build ok... but it won't work when I try to install it.
I still have that libpng problem :
#rpm -ivh ImageMagick-6.2.9-3.x86_64.rpm
error: Failed dependencies:
libpng12.so.0(PNG12_0)(64bit) is needed by ImageMagick-6.2.9-3.x86_64
[root@234 x86_64]# whereis libpng12.so.0
libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/libpng12.so.0
[root@234 x86_64]# rpm -q libpng
libpng-1.2.7-1.el4.2
What version is it looking for?
I still have that libpng problem :
#rpm -ivh ImageMagick-6.2.9-3.x86_64.rpm
error: Failed dependencies:
libpng12.so.0(PNG12_0)(64bit) is needed by ImageMagick-6.2.9-3.x86_64
[root@234 x86_64]# whereis libpng12.so.0
libpng12.so: /usr/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/libpng12.so.0
[root@234 x86_64]# rpm -q libpng
libpng-1.2.7-1.el4.2
What version is it looking for?