Before running
make you did a configuration (
./configure), right? It should have produced an error if something was missing, and if it did, you shouldn't have gone any further before you fixed it. Anyway..
Firstly, running
./configure (or preferably reading the appropriate
INSTALL and/or
README-files) should tell you which version (at minimum) of xorg's devel package you need for this.
Code:
Looking at stuff online, I determine that I don't have the xorg-x11-devel package.
Yes, but the thing is, with which (exact) command did you try installing it through yum? The name could very well be something different (like "xorg-devel"). If you can get X from Yum, I guess it's pretty sensible that you can get the devel package too - if you installed your X from an install cd and haven't updated it since, the devel package is on the cd too. The reason why the downloaded rpm conflicts is that the
devel package must be of the same version as the installed one if you wish to use it. You probably figured this out anyway. This is why it's preferable to use package managers instead of just blindly downloading the rpms from the net, and possibly spend some time figuring out where/how to get it using your package manager - that way you won't run into dependency problems (since any package in the reposities should have all it's dependencies there too..it doesn't make sense if this is not the case).
From this point on you have basically two options:
1) search, crawl and find the rest of the missing dependencies - and their dependencies (and so on...), then install them, re-try compiling the code and possibly find more missing packets (I suggest reading all the relevant docs from the install directory/website of the developer and running the configure script first to determine what's missing, if something is) or
2) spend some more time with your package manager and the relevant documentation to find out what the devel package of Xorg is called. I'm pretty confident it is there, you just didn't find it (yet) - yum is quite nice, but if you make a mistake in the packet name it will fail (it won't correct your mistakes, if you happen to do any)
It's the same thing if you're trying to compile something that requires kernel source code to be present (like video card drivers) - the kernel source code must match the running kernel (you can have several, but at least the version that your running kernel is). Package managers were developed to ease the pain called "dependency hell" (which is somewhat old term), so if you'd like to do this, stick with them - or prepare to
first search and download every package you need and
only then install them.