I've been trying to compile LoS from regular source on Linux Slackware 14.1 (64-bit with 32-bit compatibility libs) but OIS is not detected properly by waf:
- {l Code}: {l Select All Code}
- Checking for package OGRE : pkg-config OGRE
 Checking for OGRE plugindir : pkg-config /usr//usr/lib64/OGRE
 Checking for package OGRE-Terrain : pkg-config OGRE-Terrain
 Checking for package OIS : not found
 Could not find OIS
 (complete log in /home/lunac/tmp/new-games/lipsofsuna-0.8.0/.build/config.log)
OIS is installed in these locations:
- {l Code}: {l Select All Code}
- /usr/include/OIS
 /usr/include/OIS/OIS.h
 /usr/include/OIS/OISConfig.h
 /usr/include/OIS/OISEffect.h
 /usr/include/OIS/OISEvents.h
 /usr/include/OIS/OISException.h
 /usr/include/OIS/OISFactoryCreator.h
 /usr/include/OIS/OISForceFeedback.h
 /usr/include/OIS/OISInputManager.h
 /usr/include/OIS/OISInterface.h
 /usr/include/OIS/OISJoyStick.h
 /usr/include/OIS/OISKeyboard.h
 /usr/include/OIS/OISMouse.h
 /usr/include/OIS/OISObject.h
 /usr/include/OIS/OISPrereqs.h
 /usr/lib64/libOIS-1.1.0.so
 /usr/lib64/libOIS.a
 /usr/lib64/libOIS.la
 /usr/lib64/libOIS.so
 /usr/lib64/pkgconfig/OIS.pc
Hmmm.... Well, isn't OIS a required dependency by OGRE? Meaning OGRE detected it properly, but through waf it wasn't detected? The only thing is, it's OIS from CVS because it's what they recommended themselves ("Note: The download seems to be rather old, it's probably a good idea to grab it directly from cvs"). Could it be the version is not being detected properly?
Here's what /usr/lib64/pkgconfig/OIS.pc says:
- {l Code}: {l Select All Code}
- prefix=/usr
 exec_prefix=${prefix}
 libdir=/usr/lib64
 includedir=${prefix}/include
 Name: OIS
 Description: Crossplatform C++ Input Framework
 Version: 1.1.0
 Libs: -L${libdir} -lOIS
 Cflags: -I${includedir}/OIS -I${includedir}
But there's a problem here. LoS requires OIS >=1.7 , but does such a version really exist? Again, the version I have is from CVS.
P.S. There's an odd option mismatch while configuring:
- {l Code}: {l Select All Code}
- bash-4.2$ ./waf configure --prefix=/usr --libdir=/usr/lib64 --enable-optimization
 Setting top to : /home/user1/tmp/new-games/lipsofsuna-0.8.0
 Setting out to : /home/user1/tmp/new-games/lipsofsuna-0.8.0/.build
 The directory overrides are not used by a relative path build.
 To enable a traditional build, configure with --relpath=false
 (complete log in /home/user1/tmp/new-games/lipsofsuna-0.8.0/.build/config.log)
 bash-4.2$ ./waf configure --prefix=/usr --libdir=/usr/lib64 --relpath=false --enable-optimization
 waf [commands] [options]
 Main commands (example: ./waf build -j4)
 build : executes the build
 clean : cleans the project
 configure: configures the project
 dist : creates an archive containing the project source code
 distcheck: checks if the project compiles (tarball from 'dist')
 distclean: removes the build directory
 install : installs the targets on the system
 list : lists the targets to execute
 step : executes tasks in a step-by-step fashion, for debugging
 uninstall: removes the targets installed
 update : updates the plugins from the *waflib/extras* directory
 waf: error: no such option: --relpath
 bash-4.2$
Only --disable-relpath exists, so it shouldn't be recommending --relpath.
Edit: P.P.S. Links and versions are odd for OIS.
LoS Wiki (http://lipsofsuna.org/wiki/development- ... -and-tools) lists OIS >=1.7 at (http://wgois.sourceforge.net/), neither of which really exists.
wscript is looking for atleast_version='1.3.0' .
OIS on SourceForge (http://sourceforge.net/projects/wgois/?source=navbar) has a version 1.3 that was last updated December 19, 2010.
OIS SVN on SourceForge (http://sourceforge.net/p/wgois/code/4/tree/ois/trunk/) has a version 1.4 or revision 4 (I think) that was last updated April 1, 2010.
OIS CVS (http://sourceforge.net/p/wgois/cvs/ or the one I used http://www.ogre3d.org/tikiwiki/tiki-index.php?page=OIS) has a version 1.4 or revision 4 (I think) that was last updated May 5, 2010.
So the two questions that remain are: Why do I have (supposed) version 1.1.0 when I checked out from one of the CVS? And which place has the right version?


