Build error with GCC4.8 on Fedora19

Omair Majid omajid at redhat.com
Wed Jul 24 19:54:09 UTC 2013


On 07/24/2013 03:44 PM, Helio Frota wrote:
> Hi,
> 
> Another problem:
> 
> configure: error: Could not find all X11 headers (shape.h Xrender.h
> XTest.h). You might be able to fix this by running 'sudo yum install
> libXtst-devel'.
> configure exiting with result code 1
> 
> I did this, but the error persists.
> 
> Going to investigate...
> 

The package manager suggestions are very unlikely to be exactly right
for all versions of all distributions. You can follow the error message
to get better results and install the files it is complaining about.

For example, using yum, you can ask to install the package that provides
this file (eg XTest.h) by name:

# yum install '*/XTest.h'

You should do the same for all other header file dependencies configure
complains about.

If you are on Fedora 19, you can also get all the dependencies faster by
getting all the dependencies that java-1.8.0-openjdk (that's what the
OpenJDK 8 package is called in Fedora) declares:

# yum-builddep java-1.8.0-openjdk

This may not be as up-to-date as what configure expects, though. It
should be faster.

Cheers,
Omair

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681



More information about the build-dev mailing list