[realXtend] Attempted Debian Wheezy compile (fail)

2012-02-04 Thread glenalec
I am trying to compile under Debian/Testing and am hitting a snag. Not
being a C++ programmer, I am rather floundering here :-(

Using build-ubuntu-deps.bash as a reference, I successfully got all
the required packages installed and a good chunk of the compile went
through. The error occurred at this point:


+ SKYX_SOURCE_DIR=/opt/naali-deps/build/realxtend-tundra-deps/skyx
+ cmake -DCMAKE_INSTALL_PREFIX=/opt/naali-deps/install .
-- Configuring SKYX 0.2.1
-- Search path:
CMake Warning at CMake/SkyXDependencies.cmake:59 (find_package):
  Could not find module FindOGRE.cmake or a configuration file for
package
  OGRE.

  Adjust CMAKE_MODULE_PATH to find FindOGRE.cmake or set OGRE_DIR to
the
  directory containing a CMake configuration file for OGRE.  The file
will
  have one of the following names:

OGREConfig.cmake
ogre-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:107 (include)


-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
CMake Warning at CMake/SkyXDependencies.cmake:75 (find_package):
  Could not find module FindOIS.cmake or a configuration file for
package
  OIS.

  Adjust CMAKE_MODULE_PATH to find FindOIS.cmake or set OIS_DIR to the
  directory containing a CMake configuration file for OIS.  The file
will
  have one of the following names:

OISConfig.cmake
ois-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:107 (include)


CMake Error at CMake/Utils/SkyXMacroLogFeature.cmake:95 (MESSAGE):



 
-


  -- The following REQUIRED packages could NOT be located on your
system.

  -- Please install them before continuing this software installation.

  -- If you are in Windows, try passing -DSKYX_DEPENDENCIES_DIR=path
to
  dependencies


 
-


  + OGRE: 3D library needed for the OgreGraphics plugin http://

  + OIS: Input library needed for the OISInput plugin
  http://sourceforge.net/projects/wgois


 
-
Call Stack (most recent call first):
  CMake/SkyXDependencies.cmake:83 (MACRO_DISPLAY_FEATURE_LOG)
  CMakeLists.txt:107 (include)


-- Configuring incomplete, errors occurred!


Any pointers on where to look or what to do here?

I have also installed libois-dev in addition to the listed
requirements, but no difference.
(This is prety much the same result as I am seeing on the Ubuntu build
system at work too :-( )

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


Re: [realXtend] Attempted Debian Wheezy compile (fail)

2012-02-04 Thread Toni Alatalo
On Sat, 2012-02-04 at 21:47 -0800, glenalec wrote:
 I am trying to compile under Debian/Testing and am hitting a snag. Not
(...)
 Using build-ubuntu-deps.bash as a reference, I successfully got all
 the required packages installed and a good chunk of the compile went
 through. The error occurred at this point:

That happens on ubuntu too with system Ogre - debian/ubuntu Ogres are
not found by the cmake stuff in SkyX, i don't know why really. Is in
tracker: SkyX does not build on stock Ubuntu 11.10
https://github.com/realXtend/naali/issues/320

We talked that can fix that in our copy of SkyX in the Tundra deps repo,
just need to make it find Ogre like Tundra itself does or somehow.
For graphical linux use i've been using a ppa for other reasons (to get
cg support) -- with that ogredev thing SkyX works, builds out of the
box. I think also for the Chiru folks which have recently switched to
using source builds Ogre, or?

SkyX is of course totally optional, the quick fix is to disable it. On
server especially as there it is not used, is just a sky rendering
plugin. This is how that is done (copy-pasted from the issue comments):

As a workaround, can comment out all SkyX -related items in
build-ubuntu-deps.bash, and set ENABLE_SKYX to 0 in
CMakeBuildConfig.txt

That CMakeBuildConfig.txt file is made by the build system, by copying
CMakeBuildConfigTemplate.txt to that name.

~Toni

 
 + SKYX_SOURCE_DIR=/opt/naali-deps/build/realxtend-tundra-deps/skyx
 + cmake -DCMAKE_INSTALL_PREFIX=/opt/naali-deps/install .
 -- Configuring SKYX 0.2.1
 -- Search path:
 CMake Warning at CMake/SkyXDependencies.cmake:59 (find_package):
   Could not find module FindOGRE.cmake or a configuration file for
 package
   OGRE.
 
   Adjust CMAKE_MODULE_PATH to find FindOGRE.cmake or set OGRE_DIR to
 the
   directory containing a CMake configuration file for OGRE.  The file
 will
   have one of the following names:
 
 OGREConfig.cmake
 ogre-config.cmake
 
 Call Stack (most recent call first):
   CMakeLists.txt:107 (include)
 
 
 -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
 CMake Warning at CMake/SkyXDependencies.cmake:75 (find_package):
   Could not find module FindOIS.cmake or a configuration file for
 package
   OIS.
 
   Adjust CMAKE_MODULE_PATH to find FindOIS.cmake or set OIS_DIR to the
   directory containing a CMake configuration file for OIS.  The file
 will
   have one of the following names:
 
 OISConfig.cmake
 ois-config.cmake
 
 Call Stack (most recent call first):
   CMakeLists.txt:107 (include)
 
 
 CMake Error at CMake/Utils/SkyXMacroLogFeature.cmake:95 (MESSAGE):
 
 
 
  
 -
 
 
   -- The following REQUIRED packages could NOT be located on your
 system.
 
   -- Please install them before continuing this software installation.
 
   -- If you are in Windows, try passing -DSKYX_DEPENDENCIES_DIR=path
 to
   dependencies
 
 
  
 -
 
 
   + OGRE: 3D library needed for the OgreGraphics plugin http://
 
   + OIS: Input library needed for the OISInput plugin
   http://sourceforge.net/projects/wgois
 
 
  
 -
 Call Stack (most recent call first):
   CMake/SkyXDependencies.cmake:83 (MACRO_DISPLAY_FEATURE_LOG)
   CMakeLists.txt:107 (include)
 
 
 -- Configuring incomplete, errors occurred!
 
 
 Any pointers on where to look or what to do here?
 
 I have also installed libois-dev in addition to the listed
 requirements, but no difference.
 (This is prety much the same result as I am seeing on the Ubuntu build
 system at work too :-( )
 


-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org