Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Erro de dependências #34

Open
willyamcts opened this issue Aug 31, 2019 · 0 comments
Open

Erro de dependências #34

willyamcts opened this issue Aug 31, 2019 · 0 comments

Comments

@willyamcts
Copy link

Olá, estou com dificuldade para fazer a instalação do Core. Segue o retorno completo durante a instalação:

user@deb9-x64-gnome:~/VSS-Core$ sudo ./configure.sh 
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease     
Ign:2 http://ftp.br.debian.org/debian stretch InRelease                        
Hit:3 http://ftp.br.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.br.debian.org/debian stretch Release
Reading package lists... Done                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: ansible==2.7.8.0 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible==2.7.8.0)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from ansible==2.7.8.0)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.5/dist-packages (from ansible==2.7.8.0)
Requirement already satisfied: PyYAML in /usr/local/lib/python3.5/dist-packages (from ansible==2.7.8.0)
Requirement already satisfied: paramiko in /usr/local/lib/python3.5/dist-packages (from ansible==2.7.8.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from jinja2->ansible==2.7.8.0)
Requirement already satisfied: bcrypt>=3.1.3 in /usr/local/lib/python3.5/dist-packages (from paramiko->ansible==2.7.8.0)
Requirement already satisfied: pynacl>=1.0.1 in /usr/local/lib/python3.5/dist-packages (from paramiko->ansible==2.7.8.0)
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.5/dist-packages (from bcrypt>=3.1.3->paramiko->ansible==2.7.8.0)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from bcrypt>=3.1.3->paramiko->ansible==2.7.8.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.5/dist-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko->ansible==2.7.8.0)
ERROR! Unexpected Exception, this is probably a bug: (cryptography 1.7.1 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=2.5'), {'paramiko'})
the full traceback was:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 655, in _build_master
	ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 963, in require
	needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
	raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 1.7.1 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=2.5'), {'paramiko'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 97, in <module>
	mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
  File "/usr/local/lib/python3.5/dist-packages/ansible/cli/__init__.py", line 38, in <module>
	from ansible.inventory.manager import InventoryManager
  File "/usr/local/lib/python3.5/dist-packages/ansible/inventory/manager.py", line 36, in <module>
	from ansible.plugins.loader import inventory_loader
  File "/usr/local/lib/python3.5/dist-packages/ansible/plugins/loader.py", line 22, in <module>
	from ansible.parsing.utils.yaml import from_yaml
  File "/usr/local/lib/python3.5/dist-packages/ansible/parsing/utils/yaml.py", line 17, in <module>
	from ansible.parsing.yaml.loader import AnsibleLoader
  File "/usr/local/lib/python3.5/dist-packages/ansible/parsing/yaml/loader.py", line 30, in <module>
	from ansible.parsing.yaml.constructor import AnsibleConstructor
  File "/usr/local/lib/python3.5/dist-packages/ansible/parsing/yaml/constructor.py", line 29, in <module>
	from ansible.parsing.vault import VaultLib
  File "/usr/local/lib/python3.5/dist-packages/ansible/parsing/vault/__init__.py", line 42, in <module>
	from cryptography.hazmat.backends import default_backend
  File "/usr/lib/python3/dist-packages/cryptography/hazmat/backends/__init__.py", line 7, in <module>
	import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
	@_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
	f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
	working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 657, in _build_master
	return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements
	dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
	raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 1.7.1 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=2.5'), {'paramiko'})
./configure.sh: line 6: protoc: command not found
./configure.sh: line 7: protoc: command not found
./configure.sh: line 8: protoc: command not found
./configure.sh: line 9: protoc: command not found
mv: cannot stat 'protos/*.pb.cc': No such file or directory
mv: cannot stat 'protos/*.pb.h': No such file or directory
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
**-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")** 
CMake Error at /usr/share/cmake-3.7/Modules/FindBoost.cmake:1831 (message):
  Unable to find the requested Boost libraries.

  **Boost version: 1.62.0**

  Boost include path: /usr/include

  Could not find the following Boost libraries:

		  boost_program_options

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:14 (FIND_PACKAGE)


-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find Protobuf (missing:  Protobuf_INCLUDE_DIR) 
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.7/Modules/FindProtobuf.cmake:393 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:16 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/user/VSS-Core/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/VSS-Core/build/CMakeFiles/CMakeError.log".
make: *** No rule to make target 'install'.  Stop.

O pacote pkg-config e libboost1.62-dev tive que instalar manualmente. Se puderem ajudar, fico agradecido.

Estou usando Debian 9 (Stretch)

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

1 participant