Forum How do I...?

Installation issues

Aninemity
Hi I'm having installation issues with Prince 9 on RedHat. I was told I'm on 6.3, 64 bit, but when I run
cat /etc/redhat-release
, it shows CentOS release 5.10 (Final).

So, I've tried the versions for 6.0 (64 & 32 bit), 5.5 (64 bit), 5.3 (32bit).

I've run this with
rpm -i --test prince-9.0-5.centos52.i386.rpm
and with every version i'm getting dependency issues. I'm not sure what i'm doing wrong. below is the full log if it helps. Thanks in advance!

xxx@domain.com# tar xzf prince-9.0-5.centos60.x86_64.rpm

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
xxx@domain.com# rpm -i --test prince-9.0-5.centos60.x86_64.rpm
error: Failed dependencies:
	libc.so.6(GLIBC_2.7)(64bit) is needed by prince-9.0-5.x86_64
	libcrypto.so.10()(64bit) is needed by prince-9.0-5.x86_64
	libcurl.so.4()(64bit) is needed by prince-9.0-5.x86_64
	libgif.so.4()(64bit) is needed by prince-9.0-5.x86_64
	libssl.so.10()(64bit) is needed by prince-9.0-5.x86_64
	libungif.so.4()(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.5.0)(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.5.2)(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.5.7)(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by prince-9.0-5.x86_64
	libxml2.so.2(LIBXML2_2.6.27)(64bit) is needed by prince-9.0-5.x86_64
	rpmlib(FileDigests) <= 4.6.0-1 is needed by prince-9.0-5.x86_64
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by prince-9.0-5.x86_64

xxx@domain.com# cat /etc/redhat-release
CentOS release 5.10 (Final)

xxx@domain.com# rpm -i --test prince-9.0-5.centos60.i686.rpm
error: Failed dependencies:
	libc.so.6(GLIBC_2.7) is needed by prince-9.0-5.i686
	libcrypto.so.10 is needed by prince-9.0-5.i686
	libcurl.so.4 is needed by prince-9.0-5.i686
	libgif.so.4 is needed by prince-9.0-5.i686
	libssl.so.10 is needed by prince-9.0-5.i686
	libungif.so.4 is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.4.30) is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.5.0) is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.5.2) is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.5.7) is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.6.0) is needed by prince-9.0-5.i686
	libxml2.so.2(LIBXML2_2.6.27) is needed by prince-9.0-5.i686
	rpmlib(FileDigests) <= 4.6.0-1 is needed by prince-9.0-5.i686
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by prince-9.0-5.i686

xxx@domain.com# rpm -i --test prince-9.0-5.centos55.x86_64.rpm

error: Failed dependencies:
	libgif.so.4()(64bit) is needed by prince-9.0-5.x86_64
	libungif.so.4()(64bit) is needed by prince-9.0-5.x86_64


xxx@domain.com# rpm -i --test prince-9.0-5.centos52.i386.rpm

error: Failed dependencies:
	libgif.so.4 is needed by prince-9.0-5.i386
	libungif.so.4 is needed by prince-9.0-5.i386
mikeday
Okay, the CentOS 5 package is definitely the one you want. Running "uname -m" should tell you if you want 32-bit or 64-bit. You can install libgif by running "yum install libgif". Good luck! :)
Aninemity
Thanks so much Mike!!

just fyi for anyone else who sees this, "yum install libgif" didn't work. Instead, "yum install giflib" installs both libgif and libungif.

That's worked now and I've got it up and running :)

By the way, as someone who isn't as familiar with terminal, it would have been useful to have the CentOS installation instructions in the same way you have the osX and Linux commands - just to make it that much easier.

Thanks again, I'm really impressed with PrinceXML :)
mikeday
Great, glad to hear it's working now. :)

The next step is usually to get some fonts installed on the server.
Aninemity
hmmm... yes. that might be important.

Would that be why I'm getting a 0 byte file when I try to run it now?

Will work on the fonts next :)
mikeday
An easy way to install the Microsoft Core Fonts is described here:
yum install curl cabextract xorg-x11-font-utils fontconfig
rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm