what are "X Includes"?
I am trying to install an app from source, in the ./configure stage I get this error:
Code:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths! What do I need to do? (Yellow Dog Linux 5, Mac G4 400mhz ppc) |
X includes are the X11 header files, which contain prototypes of functions (amongst other things) used in programs that use the X11 library. You need to install the X development package for your distro. I think it's called libX11-devel for YDL (I had a look at their website and found a package with that name).
|
Quote:
Hmmm. yum says libx11-devel is already installed and current. |
could you then list a sample of what was installed and where?
|
Quote:
Quote:
|
You can usually pass an option to the configure that will tell it where to find X, use ./configure --help to find out what it is named it could be something like this if you were using Debian ./configure --with-x-include-dir=/usr/include/X11 hopefully it will find them once you put in your location.
|
Quote:
./configure --help gives this as an option: --with-extra-includes=DIR so I tried: ./configure --with-extra-includes=/usr/include/X11 ./configure --with-extra-includes=/usr/include ./configure --with-extra-includes=/usr ./configure --with-extra-include=/usr/include/X11 ./configure --with-x-includes=/usr/include/X11 ./configure --with-x-include-dir=/usr/include/X11 and many other variations, all resulting in the same (original) error. Any ideas? |
On Slack, the X includes are in /usr/X11/include, though obviously they might be in a different place on YDL.
|
what does "locate '/X11/X.h'" return?
|
Is this newbie question??
|
Quote:
It returns: /usr/include/X11/X.h |
Quote:
For SuSE, the package would be named xorg-x11-libX-devel. When I looked at the contents of that package, I noticed that there were fewer include files in the package than I had noticed earlier when I examined the directory on my system (Your mileage may very). So there may be a further dependency that you need. Could you tell us what application you are trying to install. If there is an rpm build of the same package, that would allow me to look at what my dependencies would be. Your's may be similar. It may be a problem with a missing header rather than a problem with an include path during the configure phase. Can you examine the configure.log file to see which file it was checking for? You may need to examine the configure script itself. |
Quote:
Code:
xaw3d-1.5E-263 |
I'm trying to install kstars. Yes, I am running kde on Yellow Dog Linux 5, and no it didnt get installed by default. I've tried to yum it, no luck, it seems ydl doesnt include it. I will do the above couple of suggestions and post back asap...
|
I searched for kstars on rpm.pbone.net to get an idea on the dependencies. These X11 related libraries are needed. The source rpm link timed out so I couldn't look up more information.
libXext libXmu libXt libXi libXrender libX11 libGL But I bet you need to install your versions of: xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libX11-devel |
All times are GMT -5. The time now is 04:38 PM. |