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

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

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

Post by 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]yum groupinstall X11[/code]

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

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

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

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

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
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by 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?

Post by 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
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2012/10/01 10:38:52

[code]
yum provides \*/Intrinsic.h
[/code]

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

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

Post by asaaki » 2012/10/01 11:21:19

Thank you!
I ran the command and got:

[code]libXt-devel-1.0.7-1.el6.x86_64 : X.Org X11 libXt development package[/code]

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]libXt-devel[/code]

worked.

Thank you so much! :-D :-D

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

[SOLVED] Installing the X11 library for Ghostscript. Install

Post by AlanBartlett » 2012/10/01 21:09:58

Thank you for reporting back.

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

Post Reply