Bug #779 (Assigned)

Build system should look for OGRE_SAMPLES_INCLUDEPATH in /usr/include/OGRE (Fedora)

Added by Denisw 2011-09-16T03:01:45Z. Updated by Jacmoe 2012-04-29T19:09:42Z
Status: Assigned
Priority: Normal
Assigned to: Jacmoe
Category:
Milestone:
% Done:
0%


Description:

Due to Fedora’s package guidelines, the Fedora package for Ogre (and maybe also Ogre packages in other Linux distributions) store the include files for the Ogre sample framework in /usr/include/OGRE instead of /usr/share/OGRE/Samples/Common/Include. The build config files should respect that and consider /usr/include/OGRE for OGRE_SAMPLES_INCLUDEPATH if the other paths cannot be found. (Otherwise, Ogitor cannot be built with Fedora’s Ogre package.)


Watchers


Attachments

History

#5 .
Updated by Jacmoe 2012-04-29T19:09:42Z

Hold on.. I might heed the advice – should be a simple fix.


#4 .
Updated by Ismail_tarim 2012-04-29T18:10:13Z

@Jacob: I am going to close this issue if you dont have anything else to add to it.


#3 .
Updated by Jacmoe 2011-08-25T09:46:09Z

It really doesn’t.
The sample "framework" headers are indeed in /usr/include/OGRE, but they
are also installed into /usr/share/OGRE when the sample sources are
installed.
Because /usr/include/OGRE is added regardless, it doesn’t really matter
if /usr/share/OGRE/Samples isn’t present. And because it’s in the first,
the second isn’t needed at all.
So maybe it should be removed. To prevent any confusion.


#2 .
Updated by Denisw 2011-08-25T05:39:20Z

Actually, it isn’t. Many Linux distributions have strict guidelines which kind of files go where – in this case, all include files into /usr/include – and modify each software package to meet these guidelines where needed. For instance, in Debian’s (and, by extension, Ubuntu’s) "ogre-dev" package, Sample.h and friends are also located in /usr/include/ for the same reason.

So actually, the irregularity lies in Ogre’s original build system.


#1 .
Updated by Jacmoe 2011-08-24T22:49:10Z
  • Owner set to Jacmoe
  • Status changed from New to Assigned

I didn’t know that they packaged it that way – highly irregular.

I’ll take a look.