Cppunit has been installed, but cannot find


[wmeng@SvomSN scidb-]$ cmake .
– CMAKE_INSTALL_PREFIX not Initialized to default keeping: /opt/scidb/11.06
– Reading revision from file: 2877
– Build type (use -DCMAKE_BUILD_TYPE=[RelWithDebInfo]/Debug/Release/Profile/CC):
– GPB - /usr/lib64/libprotobuf.so
– LOG4CXX - /usr/lib64/liblog4cxx.so
– LIBPQXX is found. LIBPQXX_INCLUDE_DIRS=/usr/local/include, LIBPQXX_LIBRARY_DIRS=/usr/local/lib
– Found LibPQ: /usr/bin/pg_config
– Found LibPQ: /usr/lib64
– checking for module ‘cppunit’
package ‘cppunit’ not found
– Configuring /home/wmeng/scidb- as /home/wmeng/scidb-
– SWIG and Python found. Python module will built
– Configuring /home/wmeng/scidb- as /home/wmeng/scidb-
Can not find cppunit library or headers. Unit tests will not build!
– Configuring /home/wmeng/scidb- as /home/wmeng/scidb-
– Documentation will not be generated automatically. Use -DSCIDB_DOC_TYPE={NONE,FULL,API} to set type of generated documentation. Use make doc to generate FULL documentation manually.
– Dependencies during package building will not be used because of file ‘/home/wmeng/scidb-’ don’t exists!
– Configuring done
– Generating done
– Build files have been written to: /home/wmeng/scidb-
[wmeng@SvomSN scidb-]$ sudo yum install cppunit
Loaded plugins: refresh-packagekit
Setting up Install Process
Package cppunit-1.12.1-2.fc11.x86_64 already installed and latest version
Nothing to do


Looks like a cmake / fedora difference. But you should disregard this unless you are planning to add and run unit tests. Do you need to run unit tests?


I was just installing scidb at first step: cmake.
so this can not be disregarded…


You should be able to run make and build everything except the unit tests.
Usually you don’t need to build or run unit tests, unless you are planning to change the code of existing components.
Does “make” not work?