[SOLVED] Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Issues related to applications and software problems
asaaki
Posts: 3
Joined: 2012/10/01 09:47:54

[SOLVED] Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Postby asaaki » 2012/10/01 09:56:06

My site is hosted on CentOS 6.3 (final), and I need to use the latest version of Ghostscript (version 9.06), which apparently needs to use the X11 library.

I ran the following command to get X11 on my machine:

Code: Select all

yum groupinstall X11


But I don't think it's installed properly... because when I try to install Ghostscript, I get the following error:

Code: Select all

../gs/base/x_.h:135:29: error: X11/Intrinsic.h: No such file or directory


I run ls on /etc/X11 and get the following:

Code: Select all

./  ../  applnk/  fontpath.d/  prefdm*  X11@  xinit/  Xmodmap  xorg.conf.d/  Xresources


So Intrinsic.h really isn't in this folder. Apparently I have X11 libraries in /usr/include and /usr/lib64/ too... but they don't have Intrinsic.h either.

What on earth is going on? I'm still kind of new to Linux and completely new to X11 and Ghostscript. I've been searching around but haven't found solutions.

User avatar
TrevorH
Forum Moderator
Posts: 20950
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Postby TrevorH » 2012/10/01 10:07:15

CentOS doesn't do "latest", it does stable. There's a version of ghostscript 8.70 in the updates repo that will have all the latest security updates applied to it.

Why do you think you need 9.x?

asaaki
Posts: 3
Joined: 2012/10/01 09:47:54

Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Postby asaaki » 2012/10/01 10:19:51

I need Ghostscript 9.05+ because it has a specific new feature not available in previous versions.

But shouldn't installation of X11 work anyway? Even if I weren't using Ghostscript. Does the X11 library normally have Intrinsic.h?

User avatar
TrevorH
Forum Moderator
Posts: 20950
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Postby TrevorH » 2012/10/01 10:38:52

Code: Select all

yum provides \*/Intrinsic.h

asaaki
Posts: 3
Joined: 2012/10/01 09:47:54

Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?

Postby asaaki » 2012/10/01 11:21:19

Thank you!
I ran the command and got:

Code: Select all

libXt-devel-1.0.7-1.el6.x86_64 : X.Org X11 libXt development package


I had X11 libraries (libX11-1.3-2.el6.x86_64) but I hadn't installed the libXt-devel.

So installing ghostscript after running

Code: Select all

libXt-devel


worked.

Thank you so much! :-D :-D

User avatar
AlanBartlett
Forum Moderator
Posts: 9311
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

[SOLVED] Installing the X11 library for Ghostscript. Install

Postby AlanBartlett » 2012/10/01 21:09:58

Thank you for reporting back.

On your behalf and for posterity, this thread is now marked [SOLVED].