3

error

-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
Git commit: v0.9.1-21-gcabdedb, Git version: 0.9.1
PolarSSL not found
Tomcrypt found
-- checking for module 'libnl-tiny'
--   package 'libnl-tiny' not found
-- checking for module 'libnl-genl-3.0'
--   package 'libnl-genl-3.0' 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)
  src-plugins/generic/nl80211_listener/CMakeLists.txt:7 (pkg_check_modules)

Ubuntu version 14.04.02, have updates on.

I can't seem to build it successfully, any help is appreciated.

  • If possible, replace the screenshot with the copy-pasted command line output. Only then the question can be found by other users with the same problem. – Falko Aug 10 '15 at 10:03
  • Which git repository? – A.B. Aug 10 '15 at 10:58
  • olsr.org/git/oonf.git @A.B. – Maxim Aug 10 '15 at 11:31
7

You need to install the development libraries:

  • To solve this: -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE), execute:

    sudo apt-get install doxygen
    
  • To solve this: PolarSSL not found, execute:

    sudo apt-get install libpolarssl-dev
    
  • To solve this: -- package 'libnl-tiny' not found and -- package 'libnl-genl-3.0' not found, execute:

    sudo apt-get install libnl-utils
    

After that, clean the source folder:

cd ~/oomf
make clean

And start cmake again:

cd build
cmake ..
| improve this answer | |
1

You seem to have a couple of missing dependencies (Doxygen, PolarSSL, libnl-tiny, libnl-genl-3.0).

Before running cmake you should install required dependencies and/or configure the build accordingly to the dependencies available on your system. E.g., it might be possible to build without Doxygen, but other packages might be required.

| improve this answer | |
  • I have installed the apt-get-install libpolarssl-dev package, have successfully installed all packages that you've said, can't seem to find the pollarssl and libnl tiny tho. – Maxim Aug 10 '15 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.