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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-19-2004, 02:05 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2004
Posts: 14
Rep:
|
error while trying to install program: "X11/Xlib.h: No such file or directory"
When I type 'make all' I get this error message:
X11/Xlib.h: No such file or directory
along with a short list of parse errors, undeclared variables, and various warnings, all of which I assume are a result of this first error. The process aborts with:
make[1]: *** [set_focus.o] Error 1
make[1]: Leaving directory `/root/rw01/src/libs/minig'
make: *** [minig.a] Error 2
I'm pretty sure that I do have Xlib.h, although it is in a different path, I think. I tried to edit the Makefile to account for this, but I got the exact same series of error messages (except the path was different).
Any help or general direction would be much appreciated. Thanks
nate
|
|
|
|
05-20-2004, 04:37 AM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
There are a number of packages which contain a file named Xlib.h in different directories:
libxfree86-devel:/usr/X11R6/include/X11/Xlib.h
mozilla-devel:/usr/include/mozilla-1.6/widget/nsIDragSessionXlib.h
perl-Tk-devel:/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Tk/pTk/Xlib.h
xemacs-devel:/usr/lib/xemacs-21.4.14/i386-mandrake-linux/include/extw-Xlib.h
This list may not be conclusive, and since you haven't indicated which distro you are using, or the program you are trying to install, I don't know if anyone can provide much in the way of help without more information. The xlibfree86-devel package is probably the one you want installed. the perl-Tk-dev and xemacs-devel packages may be distro specific.
|
|
|
|
05-20-2004, 12:39 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2004
Posts: 14
Original Poster
Rep:
|
I'm running on Red Hat Linux 9. I hope that answers the 'distro' question. The program that I'm trying to install is called 'radware' but I don't think my error is the fault of the program since I've also experienced problems while trying to install other programs.
As far as there being a number of 'packages' which contain Xlib.h, are these completely different files,
ie: is it the case that my trying to edit the Makefile to read one of the paths that you indicated is a fundamentally flawed approach?
Does this look like a problem that is going to require me to install something else to get the desired program, or does it look more like something that can be easily fixed by editing the Makefile?
I realize that my ignorance of Linux matters probably grossly magnifies the difficulty for anybody who is trying to help. For this reason I am greatly appreciative of any advice.
nate
|
|
|
|
05-21-2004, 08:08 AM
|
#4
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You may get more information by reading the config.log, if the first step was to run ./configure.
Most likely the file it is looking for is /usr/X11R6/include/X11/Xlib.h
Type in the console, locate Xlib.h and see if it turns up. The ./configure script may expect the XF86 include files in /usr/X11 instead of /usr/X11R6. Often there is a link from /usr/X11 -> /usr/X11R6.
I typed in: rpm -q -f Xlib.h and it returned
only the libxfree86-devel package. Make sure this package is installed. If it is installed, then use: grep -n '/usr/X11' configure
and
grep -n '/usr/X11' Makefile
This should help you locate where the include path needs changing.
Good Luck!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|