Error compilation loolwsd

I can compile loolwsd with 2 options but doesn’t work

./configure --enable-silent-rules --with-lokit-path=…/core/include --with-lo-path=/etc/officeonline --enable-debug

… checking dependency style of g++… gcc3 checking for gcc… (cached) gcc checking whether we are using the GNU C compiler… (cached) yes checking whether gcc accepts -g… (cached) yes checking for gcc option to accept ISO C89… (cached) none needed checking whether gcc understands -c and -o together… (cached) yes checking for setcap… /sbin/setcap checking whether to run tests against a LibreOffice… configure: error: LibreOffice install looks dodgy, missing /var/www/officeonline/program/versionrc

./configure --enable-silent-rules --with-lokit-path=…/core/include --enable-debug

… checking for gcc option to accept ISO C89… (cached) none needed checking whether gcc understands -c and -o together… (cached) yes checking for setcap… /sbin/setcap checking whether to run tests against a LibreOffice… no checking for library containing dlopen… -ldl checking for library containing png_create_write_struct… -lpng checking for library containing cap_get_proc… -lcap ./configure: line 16234: syntax error near unexpected token CPPUNIT,’ ./configure: line 16234:PKG_CHECK_MODULES(CPPUNIT, cppunit)’

Have you a idea ? Thanks

Looks like the cppunit development package is not installed.

HI the cppunit pakage is installed

un cppunit (aucune description n’est disponible)
ii libcppunit-1.13-0:amd64 1.13.2-2 amd64 Unit Testing Library for C++
ii libcppunit-dev 1.13.2-2 amd64 Unit Testing Library for C++
un libcppunit-doc (aucune description n’est disponible)
ii libcppunit-subunit-dev 0.0.18-4 amd64 SubunitTestProgressListener for CPPUnit - Development headers
ii libcppunit-subunit0:amd64 0.0.18-4 amd64 SubunitTestProgressListener for CPPUnit - C++ shared library

apt-get install cppunit
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Package cppunit is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libcppunit-doc libcppunit-dev

E: Package ‘cppunit’ has no installation candidate

Did anyone figure this out?
I am struggeling to configure loolwsd with the error code:

$ ./configure --enable-silent-rules --with-lokit-path=…/…/core/include --with-lo-path=…/…/core/instdir --enable-debug
checking for library containing png_create_write_struct… -lpng
checking for library containing cap_get_proc… -lcap
./configure: line 16341: syntax error near unexpected token CPPUNIT,' ./configure: line 16341: PKG_CHECK_MODULES(CPPUNIT, cppunit)’

I have libcppunit and libcppunit-dev installed:

$dpkg -l | grep cppunit
ii libcppunit-1.13-0:amd64 1.13.2-2 amd64 Unit Testing Library for C++
ii libcppunit-dev 1.13.2-2 amd64 Unit Testing Library for C++

any help??

The solution was to apt-get install pkg-config