Cppunit has been installed, but cannot find


#1

[wmeng@SvomSN scidb-11.06.0.2877]$ 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):
DISTRO_NAME_VER is Fedora-
– 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-11.06.0.2877/src/util/scidb-sample.conf.in as /home/wmeng/scidb-11.06.0.2877/bin/packaging_only/scidb-sample.conf
– SWIG and Python found. Python module will built
– Configuring /home/wmeng/scidb-11.06.0.2877/src/system/Constants.cpp.in as /home/wmeng/scidb-11.06.0.2877/src/system/Constants.cpp
Can not find cppunit library or headers. Unit tests will not build!
– Configuring /home/wmeng/scidb-11.06.0.2877/doc/Doxyfile.in as /home/wmeng/scidb-11.06.0.2877/doc/Doxyfile
– 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-11.06.0.2877/cpack-deps/Fedora-’ don’t exists!
– Configuring done
– Generating done
– Build files have been written to: /home/wmeng/scidb-11.06.0.2877
[wmeng@SvomSN scidb-11.06.0.2877]$ 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


#2

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?


#3

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


#4

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?