Установите Hyperion.ng - Raspberry Pi 4 (4 ГБ ОЗУ) на Buster (версия 2020-02-13) - PullRequest
0 голосов
/ 18 февраля 2020

Прежде всего, я ограничен в знании Linux.

Я пытался установить hyperion.ng сейчас на последней версии Raspian (Buster Rev. 2020-02-13) на RPi4 (4 ГБ ОЗУ). ) и все время оказывался в одном и том же сценарии.

Что я могу прочитать, это что-то не так с SSL & CMake.

Я выполнил команды:

  1. sudo apt-get update
  2. sudo apt-get install git cmake build-essentialqtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python3 -dev libxrender-dev libavahi-core-dev libavahi -compat-libdnssd-dev libjpeg-dev libqt5sql5-sqlite
  3. sudo apt-get установить libraspberrypi-dev
  4. wget -qO- https://raw.githubusercontent.com/hyperion-project/hyperion.ng/master/bin/compile.sh | sh

На 100% это выглядит следующим образом:

> [100%] Linking CXX executable ../../bin/hyperiond
> -- CMake Version: 3.13.4
> CMake Deprecation Warning at CMakeLists.txt:18 (CMAKE_POLICY):
>   The OLD behavior for policy CMP0026 will be removed from a future version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> 
> 
> -- PLATFORM is not defined, evaluated platform: rpi
> -- PLATFORM: rpi
> -- ENABLE_AMLOGIC = OFF
> -- ENABLE_DISPMANX = ON
> -- ENABLE_FB = ON
> -- ENABLE_OSX = OFF
> -- ENABLE_SPIDEV   = ON
> -- ENABLE_TINKERFORGE = ON
> -- ENABLE_V4L2 = ON
> -- ENABLE_WS281XPWM = ON
> -- ENABLE_USB_HID = ON
> -- ENABLE_X11 = OFF
> -- ENABLE_QT = ON
> -- ENABLE_TESTS = OFF
> -- ENABLE_PROFILER = OFF
> -- validate json files
>    checked files: 78 success: 78 errors: 0
> -- validate json effect files
>    checked effect files: 38 success: 38 errors: 0
> -- validate json file
> -- Current Version: 2.0.0-alpha.1
> --  - Build: master (GitHub-00502890/2e15ef7c-1581970640) Git Remote: https://github.com/hyperion-project/hyperion.ng.git
> -- Linker: GNU gold
> -- Found Qt Version: 5.11.3
> -- Found libusb-1.0:
> --  - Includes: /usr/include/libusb-1.0
> --  - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
> -- Using JPEG library: /usr/lib/arm-linux-gnueabihf/libjpeg.so
> -- Using flatbuffers compiler: /home/pi/hyperion/build/bin/flatc
> CMake Deprecation Warning at dependencies/external/protobuf/src/CMakeLists.txt:329 (cmake_policy):
>   The OLD behavior for policy CMP0026 will be removed from a future version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> 
> 
> -- Using protobuf compiler: /home/pi/hyperion/build/bin/protoc
> -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found suitable version "3.7.3", minimum required is "3.5")
> -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found suitable version "3.7.3", minimum required is "3.4")
> CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
>   Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
>   system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
>   OPENSSL_INCLUDE_DIR) (Required is at least version "1.0.0")
> Call Stack (most recent call first):
>   /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
>   /usr/share/cmake-3.13/Modules/FindOpenSSL.cmake:412 (find_package_handle_standard_args)
>   src/hyperiond/CMakeLists.txt:49 (find_package)
>   src/hyperiond/CMakeLists.txt:260 (InstallDependencies)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/pi/hyperion/build/CMakeFiles/CMakeOutput.log".
> See also "/home/pi/hyperion/build/CMakeFiles/CMakeError.log".
> make[2]: *** [src/hyperiond/CMakeFiles/hyperiond.dir/build.make:191: bin/hyperiond] Error 1
> make[2]: *** Deleting file 'bin/hyperiond'
> make[1]: *** [CMakeFiles/Makefile2:2991: src/hyperiond/CMakeFiles/hyperiond.dir/all] Error 2
> make: *** [Makefile:152: all] Error 2
> 

Любая помощь приветствуется.

1 Ответ

0 голосов
/ 20 марта 2020

Как написали squareskittles, libssl отсутствует.

...