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.
[SOLVED] Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?
Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?
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?
Why do you think you need 9.x?
Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?
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?
But shouldn't installation of X11 work anyway? Even if I weren't using Ghostscript. Does the X11 library normally have Intrinsic.h?
Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?
[code]
yum provides \*/Intrinsic.h
[/code]
yum provides \*/Intrinsic.h
[/code]
Re: Installing the X11 library for Ghostscript. Installation incomplete or wrong paths?
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
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
- 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
Thank you for reporting back.
On your behalf and for posterity, this thread is now marked [SOLVED].
On your behalf and for posterity, this thread is now marked [SOLVED].