Author Topic: [invalid] r4238: error during the compilation  (Read 551 times)

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
[invalid] r4238: error during the compilation
« on: 30 April 2013, 03:01:12 »
Occurs during a "regular build" and during a "full rebuild".

Code: [Select]
We have detected the following system:
 [ SUSE LINUX ] [ 12.2 ] [ Mantis ] [ x86_64 ]

...

-- Will try to build MegaGlest unit tests
CMake Error at mk/cmake/Modules/FindCppUnit.cmake:90 (message):
  Could not find CppUnit
Call Stack (most recent call first):
  source/tests/CMakeLists.txt:12 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
ERROR: CMAKE failed.
« Last Edit: 1 May 2013, 10:25:23 by tomreyn »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r4238: error during the compilation
« Reply #1 on: 30 April 2013, 03:30:00 »
Did you run setupBuildDeps.sh? I recently added cppunit and unit tests/ These tests are turned on when using build-mg.sh by default.

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: r4238: error during the compilation
« Reply #2 on: 30 April 2013, 04:54:41 »
... and all clear  :)
Code: [Select]
The following NEW packages are going to be installed:
  libcppunit-1_12-0 libcppunit-devel

2 new packages to install.
Overall download size: 1.3 MiB. After the operation, additional 11.0 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package libcppunit-1_12-0-1.12.0-109.1.2.x86_64     (1/2),  88.9 KiB (286.7 KiB unpacked)
Retrieving: libcppunit-1_12-0-1.12.0-109.1.2.x86_64.rpm .........................[done (93.0 KiB/s)]
Retrieving package libcppunit-devel-1.12.0-109.1.2.x86_64      (2/2),   1.2 MiB ( 10.8 MiB unpacked)
Retrieving: libcppunit-devel-1.12.0-109.1.2.x86_64.rpm ..........................[done (92.8 KiB/s)]
Installing: libcppunit-1_12-0-1.12.0-109.1.2 .................................................[done]
Additional rpm output:
/sbin/ldconfig: /usr/lib64/liblua.so.5.2 is not a symbolic link
Installing: libcppunit-devel-1.12.0-109.1.2 ..................................................[done]
Installation of build dependencies complete.
Code: [Select]
...
[100%] Building CXX object source/glest_game/CMakeFiles/megaglest.dir/world/minimap.cpp.o           
Linking CXX executable ../../../mk/linux/megaglest
[100%] Built target megaglest
Scanning dependencies of target megaglest.6
[100%] Built target megaglest.6

BUILD COMPLETE.

 

anything