LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-13-2010, 01:30 AM   #1
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Rep: Reputation: 15
Some problem on installing pgplot on Linux (error on X11)


Hi everybody,

I am trying to install the pgplot libraries in my machine (Red hat),
the version of my Linux is:
***********************************************************************
Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005
***********************************************************************
but when executing make command I have the the problem related to X11
output as follow:
Code:
gcc -c -Wall -fPIC -DPG_PPU -O -I/usr/include/ -I/usr/include /usr/local/src/pgplot/drivers/xwdriv.c
/usr/local/src/pgplot/drivers/xwdriv.c:127:21: X11/Xos.h: No such file or directory
/usr/local/src/pgplot/drivers/xwdriv.c:128:22: X11/Xlib.h: No such file or directory
/usr/local/src/pgplot/drivers/xwdriv.c:129:23: X11/Xutil.h: No such file or directory
/usr/local/src/pgplot/drivers/xwdriv.c:130:24: X11/keysym.h: No such file or directory
/usr/local/src/pgplot/drivers/xwdriv.c:131:23: X11/Xatom.h: No such file or directory
make: *** [xwdriv.o] Error 1
Can you give some suggestions on that, thanks in advance.

Yueling
 
Old 12-13-2010, 08:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
X11/Xos.h, Xlib.h, Xutil.h, keysym.h, Xatom.h : No such file ........

All these files are provided by the package ' xorg-x11-devel '.

If you have yum : # yum install xorg-x11-devel

..
 
Old 12-13-2010, 11:40 AM   #3
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
X11/Xos.h, Xlib.h, Xutil.h, keysym.h, Xatom.h : No such file ........

All these files are provided by the package ' xorg-x11-devel '.

If you have yum : # yum install xorg-x11-devel

..
Thank you very much for your reply.
I don't why I can not use yum command in my linux.
details is:
[root@localhost jing]# yum install xorg-x11-devel
bash: yum: command not found
 
Old 12-13-2010, 11:49 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Default for RH EL 4 is : 'up2date'. (And I don't know, how to use that.)
'yum' is only present, if you install it.

Please ask Redhat. ( RH EL will have the full functionality only
when you have a Redhat account.)

..
 
Old 12-13-2010, 09:03 PM   #5
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Knudfl,thanks, I have solved this problem by install the xorg-x11-devel, it was completed by update my package of X window system in add or remove packages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some problem on installing on Linux (error on X11) lengyue Linux - Newbie 2 12-13-2010 11:47 AM
pgplot shared libraries error tbenavid Linux - Software 1 09-22-2010 11:32 PM
pgplot problem sarahf60 Linux - Newbie 17 08-15-2010 12:43 PM
X11 Includes Error While Installing KDE 3.5.6 on Kubuntu jcbparry Ubuntu 1 02-24-2007 06:20 PM
Xvnc error / X11 - installing Speedo fonts okan.yuksel Linux - General 0 03-23-2005 08:50 PM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration