AGL Framework Binder

 This project provides



git clone https://gerrit.automotivelinux.org/gerrit/src/app-framework-binder


최신 소스 : 40fa7ea26a59f10d8036d89399f42a4e9d26a58a

 2018-10-04 06:44:46


라이센스 정보 : Apache-2.0

의존성  

 * libmagic ("libmagic-dev" under Ubuntu, "file-devel" under Fedora);

 * libmicrohttpd >= 0.9.55  (fetch and build from "http://ftp.gnu.org/gnu/libmicrohttpd");

 * json-c ("libjson-c-dev/devel");

 * uuid ("uuid-dev/libuuid-devel");

 * openssl ("libssl-dev/openssl-devel");

 * systemd >= 222 ("libsystemd-dev/systemd-devel");




* cynara (https://github.com/Samsung/cynara) 먼저 설치


  • Ubuntu 설치
$ sudo apt-get install libmagic-dev libjson-c-dev uuid-dev libsystemd-dev libssl-dev gcc make pkg-config cmake
$ sudo apt-get install libmicrohttpd-dev



  • app-framework-binder 설치
        $ git clone https://git.automotivelinux.org/src/app-framework-binder
        $ cd app-framework-binder
        $ mkdir build
        $ cd build
        $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/local ..
        $ make install

mkdir build
cmake -DCMAKE_INSTALL_PREFIX=/home/linux/AGL/afm -DAGL_DEVEL=true -DINCLUDE_MONITORING=true ../

-- Checking for module 'cynara-client'

--   No package 'cynara-client' found

CMake Warning at CMakeLists.txt:117 (MESSAGE):

  Dependency to 'libmicrohttpd' is missing


-- The C compiler identification is GNU 5.4.0

-- The CXX compiler identification is GNU 5.4.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.1") 

-- 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  

-- Checking for module 'json-c'

--   Found json-c, version 0.11.99

-- Looking for include file magic.h

-- Looking for include file magic.h - found

-- Looking for magic_load in magic

-- Looking for magic_load in magic - found

-- Checking for module 'libsystemd>=222'

--   Found libsystemd, version 229

-- Checking for module 'libmicrohttpd>=0.9.55'

--   

-- Checking for module 'openssl'

--   Found openssl, version 1.0.2g

-- Checking for module 'uuid'

--   Found uuid, version 2.27.0

-- Checking for module 'cynara-client'

--   Found cynara-client, version 0.14.10

CMake Warning at CMakeLists.txt:117 (MESSAGE):

  Dependency to 'libmicrohttpd' is missing



CMake Error at CMakeLists.txt:126 (MESSAGE):

  Can't compile the binder, either define ONLY_DEVTOOLS or install

  dependencies

 


libmicrohttpd : http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.59.tar.gz

http://ftp.gnu.org/gnu/libmicrohttpd/


./configure --prefix ~/AGL/Install/

make -j8

make install

 



cmake -DCMAKE_INSTALL_PREFIX=/home/linux/AGL/Install -DAGL_DEVEL=true -DINCLUDE_MONITORING=true ../

-- Checking for module 'libmicrohttpd>=0.9.55'

--   Found libmicrohttpd, version 0.9.59

-- Checking for module 'check'

--   No package 'check' found

CMake Warning at src/tests/CMakeLists.txt:29 (MESSAGE):

  check not found! no test!



-- Configuring done

-- Generating done

-- Build files have been written to: /home/linux/AGL/app/framework/app-framework-binder/build


sudo apt-get install check





app-framework-main 설치


sudo apt-get install libxmlsec1-dev


-- Checking for module 'security-manager'

--   No package 'security-manager' found

설치 필요


cmake -DCMAKE_INSTALL_PREFIX=/ .

make

sudo make install



-- Up-to-date: /opt/libraryAGL/lib/pkgconfig/afm-main.pc

-- Up-to-date: /opt/libraryAGL/bin/wgtpkg-sign

-- Up-to-date: /opt/libraryAGL/bin/wgtpkg-pack

-- Up-to-date: /opt/libraryAGL/bin/wgtpkg-info

-- Up-to-date: /opt/libraryAGL/bin/wgtpkg-installer

-- Up-to-date: /opt/libraryAGL/bin/afm-user-daemon

-- Up-to-date: /opt/libraryAGL/libexec/afm/afm-binding.so

-- Up-to-date: /opt/libraryAGL/bin/afm-user-session

-- Installing: /etc/opt/libraryAGL/afm/unit.env.d

-- Installing: /etc/opt/libraryAGL/afm/afm-unit.conf

-- Installing: /opt/libraryAGL/etc/dbus-1/system.d/afm-system-daemon.conf

-- Installing: /opt/libraryAGL/etc/pam.d/afm-user-session

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-api-afm-main@.service

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-system-daemon.service

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-system-daemon.socket

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-system-setup.service

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-user-session@.service

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-user-session@.target

-- Installing: /opt/libraryAGL/lib/systemd/system/afm-user-setup@.service

-- Installing: /opt/libraryAGL/etc/dbus-1/session.d/afm-user-daemon.conf

-- Installing: /opt/libraryAGL/lib/systemd/user/afm-user-daemon.service

-- Installing: /opt/libraryAGL/bin/afm-util

-- Installing: /opt/libraryAGL/bin/afm-install

-- Installing: /etc/opt/libraryAGL/afm/certs/developer.cert.pem

-- Installing: /etc/opt/libraryAGL/afm/certs/partner.cert.pem

-- Installing: /etc/opt/libraryAGL/afm/certs/platform.cert.pem

-- Installing: /etc/opt/libraryAGL/afm/certs/public.cert.pem

-- Installing: /etc/opt/libraryAGL/afm/certs/root.cert.pem

 




'Yocto > AGL' 카테고리의 다른 글

[AGL] Application FrameWork  (0) 2018.10.10
[AGL] 링크 통합  (0) 2018.10.10
[AGL] security-manager  (0) 2018.10.10
[rpi] AGL Build  (0) 2018.10.08
[AGL] cynara  (0) 2018.08.14

+ Recent posts