How to install to and use Ogre from /usr/local?


11-05-2009 04:38:01

Under Linux, when running, how do I tell the thing to use an Ogre that is installed in a certain place, e.g. /usr/local or /opt/foo? Or in other words, how do I prevent it from picking up Ogre from /usr first?

What I need is the Python equivalent to CCFLAGS/LDFLAGS when using ./configure with C programs.

Also, how do I specify an install target other that using the same dir that the Python I'm using is installed in? Again I don't want to hit /usr, I want to tell it to go to /usr/local, or /opt/foo or whatever.