Page 1 of 1

upgrading to 6.2.9 : freetype2 requirement?

Posted: 2006-09-04T12:12:10-07:00
by dognose
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?

Posted: 2006-09-04T12:22:21-07:00
by magick
Build from source and the configure program will adapt to your environment. Build from the source RPM or grab and unpack and build as follows:
  • ./configure
    make
    make install

Posted: 2006-09-04T12:43:29-07:00
by dognose
Like I said, I am trying to build the rpm from source for deployment on my systems.

Posted: 2006-09-04T12:52:12-07:00
by magick
Right, since your source RPM build failed, try directly from the .tar.gz file as we suggested. When we build from the source RPM we do not have any problems.

Posted: 2006-09-05T12:58:16-07:00
by dognose
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

Posted: 2006-09-05T13:18:42-07:00
by magick
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.

Posted: 2006-09-05T13:45:56-07:00
by dognose
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?

Posted: 2006-09-05T18:36:55-07:00
by magick
We live on the bleeding edge. The libpng dependancy comes from Fedora Core 6 Development, libpng-1.2.10-6.

Posted: 2006-09-06T09:49:23-07:00
by dognose
well, I guess this is where I get off the IM upgrade cycle.

There are just too many dependancies with other libs.

I can't upgrade to that libpng and freetype2

I wish you guys were a little more backwards compatible with us folks on stable systems.

Posted: 2006-09-06T09:56:39-07:00
by magick
We don't have access to a stable x86_64 machine but we do for i386. If an i386 stable build is sufficient, let us know and we will build one.