Problema com o cmake e o pacote libccext2

0
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/etherlab ../pdserv-1.1.0
-- Mercurial was not found.
-- checking for module 'libccext2'
--   package 'libccext2' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
  CMakeLists.txt:116 (PKG_CHECK_MODULES)


-- Configuring incomplete, errors occurred!
See also "/usr/local/etherlab/src/pdserv-1.1.0-build/CMakeFiles/CMakeOutput.log".

Eu já tentei

sudo apt-get install libccext2

mas não funciona. Eu recebo

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libccext2

Como posso resolver este problema? Obrigado.

    
por JaneA 14.07.2016 / 16:34

1 resposta

1

A biblioteca está disponível para todas as versões do Ubuntu link

sudo apt install libcommoncpp2-dev

Fornece

/usr/lib/x86_64-linux-gnu/libccext2.a
/usr/lib/x86_64-linux-gnu/libccext2.la
/usr/lib/x86_64-linux-gnu/libccext2.so
/usr/lib/x86_64-linux-gnu/libccgnu2.a
/usr/lib/x86_64-linux-gnu/libccgnu2.la
/usr/lib/x86_64-linux-gnu/libccgnu2.so
/usr/lib/x86_64-linux-gnu/pkgconfig/libccext2.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libccgnu2.pc

link

    
por Knud Larsen 14.07.2016 / 21:35