Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Build error on Ubuntu 18.04 #202

Open
gongzelong0718 opened this issue Nov 18, 2018 · 3 comments
Open

Build error on Ubuntu 18.04 #202

gongzelong0718 opened this issue Nov 18, 2018 · 3 comments

Comments

@gongzelong0718
Copy link

zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:645 (message):
  None of the required 'botan-2>=2.3.0;botan-1.10' found
Call Stack (most recent call first):
  CMakeLists.txt:30 (pkg_search_module)


CMake Deprecation Warning at CMakeLists.txt:35 (message):
  Botan-1.10 is found and will be used in this build.  However, Botan-1.10 is
  deprecated and should not be used if possible


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BOTAN_LIBRARY_VAR
    linked by target "QtShadowsocks" in directory /media/zelongg/DATA/libQtShadowsocks/lib

-- Configuring incomplete, errors occurred!
See also "/media/zelongg/DATA/libQtShadowsocks/build/CMakeFiles/CMakeOutput.log".

@gongzelong0718
Copy link
Author

This morning, I re-run the command, it seems okay but I did not remember what I have done

zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
-- Botan-2 is found and will be used in this build
-- Configuring done
-- Generating done
-- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build

@XHao
Copy link

XHao commented Jan 6, 2019

This morning, I re-run the command, it seems okay but I did not remember what I have done

zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
-- Botan-2 is found and will be used in this build
-- Configuring done
-- Generating done
-- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build

this problem can be resolved after installing libzbar and libbotan

@Anveena
Copy link

Anveena commented Mar 26, 2019

This morning, I re-run the command, it seems okay but I did not remember what I have done

zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
-- Botan-2 is found and will be used in this build
-- Configuring done
-- Generating done
-- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build

this problem can be resolved after installing libzbar and libbotan

wow i installed libbotan but still get the error , when i installed libzbar ,all be fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants