====== 手っ取り早く Amazon Alexa にする (結論: RasPi Zero ではビルド出来ない...) ====== ※追記: Linux Swap を適切に設定すると、ビルドを完走できる可能性がありますが試してません😅💦\\ [[https://developer.amazon.com/ja-JP/docs/alexa/avs-device-sdk/raspberry-pi.html|Set Up the AVS Device SDK on Raspberry Pi | AVS Device SDK]] を参考にして作業を行う。\\ [[https://developer.amazon.com/ja/|Amazon開発者ポータル]] に登録してログインする。\\ [[https://developer.amazon.com/ja-JP/alexa|Alexa]] をクリック。\\ {{hardware:google_voice_kit_v2_alexa_001.png?600|Google Voice Kit V2 Alexa 001}}\\ [[https://developer.amazon.com/ja-JP/alexa/alexa-voice-service|Alexa Voice Service (AVS)]] をクリック。\\ {{hardware:google_voice_kit_v2_alexa_002.png?600|Google Voice Kit V2 Alexa 002}}\\ [[https://developer.amazon.com/alexa/console/avs/welcome|AVS コンソール]] を開く。\\ {{hardware:google_voice_kit_v2_alexa_003.png?600|Google Voice Kit V2 Alexa 003}}\\ [[https://developer.amazon.com/alexa/console/avs/products|製品]] をクリックして AVS 製品を追加する。\\ {{hardware:google_voice_kit_v2_alexa_004.png?600|Google Voice Kit V2 Alexa 004}}\\ [[https://developer.amazon.com/alexa/console/avs/products/new|新しい商品を追加]] をクリックする。\\ {{hardware:google_voice_kit_v2_alexa_005.png?600|Google Voice Kit V2 Alexa 005}}\\ 以下の内容のような感じで登録を行う。\\ ^製品名 * |VoiceKitAlexa | ^製品ID * |VoiceKitAlexa | ^製品タイプ * |◎ Alexa内蔵の端末 | ^コンパニオンアプリ使用 * |いいえ | ^商品カテゴリー * |ワイヤレススピーカー | ^製品概要 * |Voice Kit V2.0 Raspberry Pi Zero WH で Alexa!。 | ^エンドユーザーとのやり取り * |[v]ハンズフリー | ^商品として配信 * |いいえ | ^Alexa for Business のために使用 * |いいえ | ^Alexaモバイルアクセサリープロトコルのために使用 * |いいえ | ^子供向け * |いいえ | {{hardware:google_voice_kit_v2_alexa_006.png?600|Google Voice Kit V2 Alexa 006}}\\ LWA セキュリティプロファイルを**[プロフィールを新規作成する]**を押して以下の内容を入力する。\\ ^セキュリティプロファイル名 * |VoiceKitAlexa | ^セキュリティプロファイル記述 * |VoiceKitAlexa | 入力が完了したら**[次へ]**を押すと**セキュリティプロファイル ID**、**クライアント ID**、**クライアントのシークレット**が発行される。(これらはいつでも確認することができる)\\ {{hardware:google_voice_kit_v2_alexa_007.png?600|Google Voice Kit V2 Alexa 007}}\\ [v]私はAmazonデベロッパーサービス同意規約に同意します。これには、Alexa音声サービスプログラムの利用条件が含まれます。 \\ チェックをオンにして**[完了する]**を押す。\\ {{hardware:google_voice_kit_v2_alexa_008.png?600|Google Voice Kit V2 Alexa 008}}\\ [[https://github.com/alexa/|Alexa · GitHub]] の [[https://github.com/alexa/avs-device-sdk|avs-device-sdk]] をインストールするために必要な依存関係をインストールする。\\ |git |インストール済み | |gcc |インストール済み | |cmake |インストールする! | |build-essential |インストール済み | |libsqlite3-dev |インストールする! | |libcurl4-openssl-dev |インストールする! | |libfaad-dev |インストールする! | |libssl-dev |インストール済み | |libsoup2.4-dev |インストールする! | |libgcrypt20-dev |インストールする! | |libgstreamer-plugins-bad1.0-dev |インストールする! | |gstreamer1.0-plugins-good |インストール済み | |libasound2-dev |インストール済み | |doxygen |インストールする! | $ sudo apt-get install cmake libsqlite3-dev libcurl4-openssl-dev libfaad-dev libsoup2.4-dev libgcrypt20-dev libgstreamer-plugins-bad1.0-dev doxygen Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cmake-data curl gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-soup-2.4 icu-devtools libclang1-3.9 libcurl3 libglib2.0-dev libgpg-error-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libicu57 libjsoncpp1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsqlite3-0 libxml2 libxml2-dev Suggested packages: codeblocks eclipse ninja-build doxygen-latex doxygen-doc doxygen-gui graphviz libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libssl1.0-dev | libssl-dev libgcrypt20-doc libglib2.0-doc gstreamer1.0-doc icu-doc libsoup2.4-doc sqlite3-doc The following NEW packages will be installed: cmake cmake-data doxygen gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-soup-2.4 icu-devtools libclang1-3.9 libcurl4-openssl-dev libfaad-dev libgcrypt20-dev libglib2.0-dev libgpg-error-dev libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libjsoncpp1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsoup2.4-dev libsqlite3-dev libxml2-dev The following packages will be upgraded: curl libcurl3 libicu57 libsqlite3-0 libxml2 5 upgraded, 26 newly installed, 0 to remove and 159 not upgraded. Need to get 51.4 MB of archives. After this operation, 160 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf cmake-data all 3.7.2-1 [1,216 kB] Err:2 http://mirrordirector.raspbian.org/raspbian stretch/main armhf curl armhf 7.52.1-5+deb9u4 404 Not Found [IP: 93.93.128.193 80] Err:3 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libcurl3 armhf 7.52.1-5+deb9u4 404 Not Found [IP: 93.93.128.193 80] Get:4 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libjsoncpp1 armhf 1.7.4-3 [66.2 kB] Get:5 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf cmake armhf 3.7.2-1 [2,402 kB] Err:7 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u1 404 Not Found [IP: 93.93.128.193 80] Err:8 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libicu57 armhf 57.1-6+deb9u1 404 Not Found [IP: 93.93.128.193 80] Get:6 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libpcrecpp0v5 armhf 2:8.39-3 [149 kB] Err:13 http://mirrordirector.raspbian.org/raspbian stretch/main armhf gir1.2-gst-plugins-base-1.0 armhf 1.10.4-1 404 Not Found [IP: 93.93.128.193 80] Get:9 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libxml2 armhf 2.9.4+dfsg1-2.2+deb9u2 [806 kB] Err:14 http://mirrordirector.raspbian.org/raspbian stretch/main armhf gir1.2-soup-2.4 armhf 2.56.0-2+deb9u1 404 Not Found [IP: 93.93.128.193 80] Err:15 http://mirrordirector.raspbian.org/raspbian stretch/main armhf icu-devtools armhf 57.1-6+deb9u1 404 Not Found [IP: 93.93.128.193 80] Get:10 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libclang1-3.9 armhf 1:3.9.1-9+rpi1 [4,768 kB] Err:16 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libcurl4-openssl-dev armhf 7.52.1-5+deb9u4 404 Not Found [IP: 93.93.128.193 80] Err:17 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libfaad-dev armhf 2.8.0~cvs20161113-1 404 Not Found [IP: 93.93.128.193 80] Err:19 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgcrypt20-dev armhf 1.7.6-2+deb9u2 404 Not Found [IP: 93.93.128.193 80] Get:11 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf doxygen armhf 1.8.13-4 [3,341 kB] Err:23 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libglib2.0-dev armhf 2.50.3-2 404 Not Found [IP: 93.93.128.193 80] Err:25 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libicu-dev armhf 57.1-6+deb9u1 404 Not Found [IP: 93.93.128.193 80] Get:12 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf gir1.2-gstreamer-1.0 armhf 1.10.4-1 [1,055 kB] Err:27 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgstreamer-plugins-base1.0-dev armhf 1.10.4-1 404 Not Found [IP: 93.93.128.193 80] Err:28 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libsoup2.4-dev armhf 2.56.0-2+deb9u1 404 Not Found [IP: 93.93.128.193 80] Get:18 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgpg-error-dev armhf 1.26-2 [78.7 kB] Get:20 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libpcre16-3 armhf 2:8.39-3 [235 kB] Err:29 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libsqlite3-dev armhf 3.16.2-5+deb9u1 404 Not Found [IP: 93.93.128.193 80] Get:21 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libpcre32-3 armhf 2:8.39-3 [227 kB] Get:22 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libpcre3-dev armhf 2:8.39-3 [565 kB] Get:24 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgstreamer1.0-dev armhf 1.10.4-1 [1,369 kB] Get:26 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libxml2-dev armhf 2.9.4+dfsg1-2.2+deb9u2 [668 kB] Get:30 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf gir1.2-gst-plugins-bad-1.0 armhf 1.10.4-1 [1,512 kB] Get:31 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgstreamer-plugins-bad1.0-dev armhf 1.10.4-1 [1,621 kB] Fetched 20.1 MB in 25s (790 kB/s) E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/curl_7.52.1-5+deb9u4_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/libcurl3_7.52.1-5+deb9u4_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/s/sqlite3/libsqlite3-0_3.16.2-5+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/icu/libicu57_57.1-6+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gst-plugins-base1.0/gir1.2-gst-plugins-base-1.0_1.10.4-1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsoup2.4/gir1.2-soup-2.4_2.56.0-2+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/icu/icu-devtools_57.1-6+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/libcurl4-openssl-dev_7.52.1-5+deb9u4_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/f/faad2/libfaad-dev_2.8.0~cvs20161113-1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libg/libgcrypt20/libgcrypt20-dev_1.7.6-2+deb9u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/glib2.0/libglib2.0-dev_2.50.3-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/icu/libicu-dev_57.1-6+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/gst-plugins-base1.0/libgstreamer-plugins-base1.0-dev_1.10.4-1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsoup2.4/libsoup2.4-dev_2.56.0-2+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/s/sqlite3/libsqlite3-dev_3.16.2-5+deb9u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? を実行する。**404 Not Found**?\\ **apt-get** は **update** で APT ライブラリを最新版へ更新してから **install** を行う。\\ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB] Ign:3 https://dl.google.com/aiyprojects/deb stable InRelease Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [192 kB] Get:5 https://dl.google.com/aiyprojects/deb stable Release [934 B] Get:6 https://dl.google.com/aiyprojects/deb stable Release.gpg [819 B] Get:7 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB] Get:8 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [1 1.7 MB] Ign:6 https://dl.google.com/aiyprojects/deb stable Release.gpg Get:9 https://dl.google.com/aiyprojects/deb stable/main armhf Packages [2,840 B] 74% [8 Packages 8,110 kB/11.7 MB 70%] 701 kB/s76% [8 Packages 8,511 kB/11.7 MB 73%] 701 kB/sGet:10 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages [56.9 kB] Get:11 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [98.9 kB] Fetched 12.1 MB in 38s (314 kB/s) Reading package lists... Done W: GPG error: https://dl.google.com/aiyprojects/deb stable Release: The following signatures were invalid: EXPKEYSIG 6494C6D6997C215E Google Inc. (Linux Packages Signing Authority) W: The repository 'https://dl.google.com/aiyprojects/deb stable Release' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. $ sudo apt-get install cmake libsqlite3-dev libcurl4-openssl-dev libfaad-dev libsoup2.4-dev libgcrypt20-dev libgstreamer-plugins-bad1.0-dev doxygen Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cmake-data curl gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-soup-2.4 icu-devtools libclang1-3.9 libcurl3 libfaad2 libgcrypt20 libglib2.0-0 libglib2.0-bin libglib2.0-dev libgpg-error-dev libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libicu57 libjsoncpp1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsoup2.4-1 libsqlite3-0 libxml2 libxml2-dev Suggested packages: codeblocks eclipse ninja-build doxygen-latex doxygen-doc doxygen-gui graphviz libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libssl1.0-dev | libssl-dev rng-tools libgcrypt20-doc libglib2.0-doc libvisual-0.4-plugins gstreamer1.0-doc icu-doc libsoup2.4-doc sqlite3-doc The following NEW packages will be installed: cmake cmake-data doxygen gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-soup-2.4 icu-devtools libclang1-3.9 libcurl4-openssl-dev libfaad-dev libgcrypt20-dev libglib2.0-dev libgpg-error-dev libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libjsoncpp1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libsoup2.4-dev libsqlite3-dev libxml2-dev The following packages will be upgraded: curl libcurl3 libfaad2 libgcrypt20 libglib2.0-0 libglib2.0-bin libgstreamer-plugins-base1.0-0 libicu57 libsoup2.4-1 libsqlite3-0 libxml2 11 upgraded, 26 newly installed, 0 to remove and 421 not upgraded. Need to get 37.9 MB/58.0 MB of archives. After this operation, 160 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf curl armhf 7.52.1-5+deb9u11 [220 kB] Get:2 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libcurl3 armhf 7.52.1-5+deb9u11 [262 kB] Get:3 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgcrypt20 armhf 1.7.6-2+deb9u3 [462 kB] Get:4 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u2 [494 kB] Get:5 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libicu57 armhf 57.1-6+deb9u4 [7,427 kB] Get:6 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libglib2.0-bin armhf 2.50.3-2+deb9u2 [1,609 kB] Get:7 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libglib2.0-0 armhf 2.50.3-2+deb9u2 [2,528 kB] Get:8 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgstreamer-plugins-base1.0-0 armhf 1.10.4-1+deb9u1 [1,572 kB] Get:9 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf gir1.2-gst-plugins-base-1.0 armhf 1.10.4-1+deb9u1 [1,020 kB] Get:10 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libsoup2.4-1 armhf 2.56.0-2+deb9u2 [248 kB] Get:11 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf gir1.2-soup-2.4 armhf 2.56.0-2+deb9u2 [36.6 kB] Get:12 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf icu-devtools armhf 57.1-6+deb9u4 [157 kB] Get:13 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libcurl4-openssl-dev armhf 7.52.1-5+deb9u11 [327 kB] Get:14 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libfaad2 armhf 2.8.0~cvs20161113-1+deb9u2 [152 kB] Get:15 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libfaad-dev armhf 2.8.0~cvs20161113-1+deb9u2 [167 kB] Get:16 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgcrypt20-dev armhf 1.7.6-2+deb9u3 [516 kB] Get:17 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libglib2.0-dev armhf 2.50.3-2+deb9u2 [2,775 kB] Get:18 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libicu-dev armhf 57.1-6+deb9u4 [15.8 MB] Get:19 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libgstreamer-plugins-base1.0-dev armhf 1.10.4-1+deb9u1 [1,198 kB] Get:20 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libsoup2.4-dev armhf 2.56.0-2+deb9u2 [340 kB] Get:21 http://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian stretch/main armhf libsqlite3-dev armhf 3.16.2-5+deb9u2 [615 kB] Fetched 37.9 MB in 20s (1,850 kB/s) Reading changelogs... Done Extracting templates from packages: 100% Selecting previously unselected package cmake-data. (Reading database ... 131511 files and directories currently installed.) Preparing to unpack .../0-cmake-data_3.7.2-1_all.deb ... Unpacking cmake-data (3.7.2-1) ... Preparing to unpack .../1-curl_7.52.1-5+deb9u11_armhf.deb ... Unpacking curl (7.52.1-5+deb9u11) over (7.52.1-5) ... Preparing to unpack .../2-libcurl3_7.52.1-5+deb9u11_armhf.deb ... Unpacking libcurl3:armhf (7.52.1-5+deb9u11) over (7.52.1-5) ... Selecting previously unselected package libjsoncpp1:armhf. Preparing to unpack .../3-libjsoncpp1_1.7.4-3_armhf.deb ... Unpacking libjsoncpp1:armhf (1.7.4-3) ... Selecting previously unselected package cmake. Preparing to unpack .../4-cmake_3.7.2-1_armhf.deb ... Unpacking cmake (3.7.2-1) ... Selecting previously unselected package libpcrecpp0v5:armhf. Preparing to unpack .../5-libpcrecpp0v5_2%3a8.39-3_armhf.deb ... Unpacking libpcrecpp0v5:armhf (2:8.39-3) ... Preparing to unpack .../6-libgcrypt20_1.7.6-2+deb9u3_armhf.deb ... Unpacking libgcrypt20:armhf (1.7.6-2+deb9u3) over (1.7.6-2+deb9u2) ... Setting up libgcrypt20:armhf (1.7.6-2+deb9u3) ... (Reading database ... 133712 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.16.2-5+deb9u2_armhf.deb ... Unpacking libsqlite3-0:armhf (3.16.2-5+deb9u2) over (3.16.2-5) ... Setting up libsqlite3-0:armhf (3.16.2-5+deb9u2) ... (Reading database ... 133712 files and directories currently installed.) Preparing to unpack .../00-libicu57_57.1-6+deb9u4_armhf.deb ... Unpacking libicu57:armhf (57.1-6+deb9u4) over (57.1-6) ... Preparing to unpack .../01-libxml2_2.9.4+dfsg1-2.2+deb9u2_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-2.2+deb9u2) over (2.9.4+dfsg1-2.2+deb9u1) ... Selecting previously unselected package libclang1-3.9:armhf. Preparing to unpack .../02-libclang1-3.9_1%3a3.9.1-9+rpi1_armhf.deb ... Unpacking libclang1-3.9:armhf (1:3.9.1-9+rpi1) ... Selecting previously unselected package doxygen. Preparing to unpack .../03-doxygen_1.8.13-4_armhf.deb ... Unpacking doxygen (1.8.13-4) ... Selecting previously unselected package gir1.2-gstreamer-1.0. Preparing to unpack .../04-gir1.2-gstreamer-1.0_1.10.4-1_armhf.deb ... Unpacking gir1.2-gstreamer-1.0 (1.10.4-1) ... Preparing to unpack .../05-libglib2.0-bin_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-bin (2.50.3-2+deb9u2) over (2.50.3-2) ... Preparing to unpack .../06-libglib2.0-0_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.50.3-2+deb9u2) over (2.50.3-2) ... Preparing to unpack .../07-libgstreamer-plugins-base1.0-0_1.10.4-1+deb9u1_armhf.deb ... Unpacking libgstreamer-plugins-base1.0-0:armhf (1.10.4-1+deb9u1) over (1.10.4-1) ... Selecting previously unselected package gir1.2-gst-plugins-base-1.0. Preparing to unpack .../08-gir1.2-gst-plugins-base-1.0_1.10.4-1+deb9u1_armhf.deb ... Unpacking gir1.2-gst-plugins-base-1.0 (1.10.4-1+deb9u1) ... Preparing to unpack .../09-libsoup2.4-1_2.56.0-2+deb9u2_armhf.deb ... Unpacking libsoup2.4-1:armhf (2.56.0-2+deb9u2) over (2.56.0-2+deb9u1) ... Selecting previously unselected package gir1.2-soup-2.4:armhf. Preparing to unpack .../10-gir1.2-soup-2.4_2.56.0-2+deb9u2_armhf.deb ... Unpacking gir1.2-soup-2.4:armhf (2.56.0-2+deb9u2) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../11-icu-devtools_57.1-6+deb9u4_armhf.deb ... Unpacking icu-devtools (57.1-6+deb9u4) ... Selecting previously unselected package libcurl4-openssl-dev:armhf. Preparing to unpack .../12-libcurl4-openssl-dev_7.52.1-5+deb9u11_armhf.deb ... Unpacking libcurl4-openssl-dev:armhf (7.52.1-5+deb9u11) ... Preparing to unpack .../13-libfaad2_2.8.0~cvs20161113-1+deb9u2_armhf.deb ... Unpacking libfaad2:armhf (2.8.0~cvs20161113-1+deb9u2) over (2.8.0~cvs20161113-1) ... Selecting previously unselected package libfaad-dev:armhf. Preparing to unpack .../14-libfaad-dev_2.8.0~cvs20161113-1+deb9u2_armhf.deb ... Unpacking libfaad-dev:armhf (2.8.0~cvs20161113-1+deb9u2) ... Selecting previously unselected package libgpg-error-dev. Preparing to unpack .../15-libgpg-error-dev_1.26-2_armhf.deb ... Unpacking libgpg-error-dev (1.26-2) ... Selecting previously unselected package libgcrypt20-dev. Preparing to unpack .../16-libgcrypt20-dev_1.7.6-2+deb9u3_armhf.deb ... Unpacking libgcrypt20-dev (1.7.6-2+deb9u3) ... Selecting previously unselected package libpcre16-3:armhf. Preparing to unpack .../17-libpcre16-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre16-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre32-3:armhf. Preparing to unpack .../18-libpcre32-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre32-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre3-dev:armhf. Preparing to unpack .../19-libpcre3-dev_2%3a8.39-3_armhf.deb ... Unpacking libpcre3-dev:armhf (2:8.39-3) ... Selecting previously unselected package libglib2.0-dev. Preparing to unpack .../20-libglib2.0-dev_2.50.3-2+deb9u2_armhf.deb ... Unpacking libglib2.0-dev (2.50.3-2+deb9u2) ... Selecting previously unselected package libgstreamer1.0-dev. Preparing to unpack .../21-libgstreamer1.0-dev_1.10.4-1_armhf.deb ... Adding 'diversion of /usr/bin/dh_gstscancodecs to /usr/bin/dh_gstscancodecs-gst0.10 by libgstreamer1.0-dev' Adding 'diversion of /usr/share/man/man1/dh_gstscancodecs.1.gz to /usr/share/man/man1/dh_gstscancodecs.1.gz-gst0.10 by libgstreamer1.0-dev' Unpacking libgstreamer1.0-dev (1.10.4-1) ... Selecting previously unselected package libicu-dev. Preparing to unpack .../22-libicu-dev_57.1-6+deb9u4_armhf.deb ... Unpacking libicu-dev (57.1-6+deb9u4) ... Selecting previously unselected package libxml2-dev:armhf. Preparing to unpack .../23-libxml2-dev_2.9.4+dfsg1-2.2+deb9u2_armhf.deb ... Unpacking libxml2-dev:armhf (2.9.4+dfsg1-2.2+deb9u2) ... Selecting previously unselected package libgstreamer-plugins-base1.0-dev. Preparing to unpack .../24-libgstreamer-plugins-base1.0-dev_1.10.4-1+deb9u1_armhf.deb ... Unpacking libgstreamer-plugins-base1.0-dev (1.10.4-1+deb9u1) ... Selecting previously unselected package libsoup2.4-dev:armhf. Preparing to unpack .../25-libsoup2.4-dev_2.56.0-2+deb9u2_armhf.deb ... Unpacking libsoup2.4-dev:armhf (2.56.0-2+deb9u2) ... Selecting previously unselected package libsqlite3-dev:armhf. Preparing to unpack .../26-libsqlite3-dev_3.16.2-5+deb9u2_armhf.deb ... Unpacking libsqlite3-dev:armhf (3.16.2-5+deb9u2) ... Selecting previously unselected package gir1.2-gst-plugins-bad-1.0. Preparing to unpack .../27-gir1.2-gst-plugins-bad-1.0_1.10.4-1_armhf.deb ... Unpacking gir1.2-gst-plugins-bad-1.0 (1.10.4-1) ... Selecting previously unselected package libgstreamer-plugins-bad1.0-dev. Preparing to unpack .../28-libgstreamer-plugins-bad1.0-dev_1.10.4-1_armhf.deb ... Unpacking libgstreamer-plugins-bad1.0-dev (1.10.4-1) ... Setting up libsqlite3-dev:armhf (3.16.2-5+deb9u2) ... Setting up libcurl3:armhf (7.52.1-5+deb9u11) ... Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ... Setting up libglib2.0-0:armhf (2.50.3-2+deb9u2) ... Setting up libgpg-error-dev (1.26-2) ... Setting up libfaad2:armhf (2.8.0~cvs20161113-1+deb9u2) ... Setting up cmake-data (3.7.2-1) ... Setting up libicu57:armhf (57.1-6+deb9u4) ... Setting up libxml2:armhf (2.9.4+dfsg1-2.2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... Setting up libgcrypt20-dev (1.7.6-2+deb9u3) ... Setting up libclang1-3.9:armhf (1:3.9.1-9+rpi1) ... Setting up libfaad-dev:armhf (2.8.0~cvs20161113-1+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libpcrecpp0v5:armhf (2:8.39-3) ... Setting up libpcre32-3:armhf (2:8.39-3) ... Setting up icu-devtools (57.1-6+deb9u4) ... Setting up libpcre16-3:armhf (2:8.39-3) ... Setting up libglib2.0-bin (2.50.3-2+deb9u2) ... Setting up gir1.2-gstreamer-1.0 (1.10.4-1) ... Setting up libcurl4-openssl-dev:armhf (7.52.1-5+deb9u11) ... Setting up libjsoncpp1:armhf (1.7.4-3) ... Setting up libgstreamer-plugins-base1.0-0:armhf (1.10.4-1+deb9u1) ... Setting up libpcre3-dev:armhf (2:8.39-3) ... Setting up curl (7.52.1-5+deb9u11) ... Setting up libsoup2.4-1:armhf (2.56.0-2+deb9u2) ... Setting up doxygen (1.8.13-4) ... Setting up gir1.2-gst-plugins-base-1.0 (1.10.4-1+deb9u1) ... Setting up libicu-dev (57.1-6+deb9u4) ... Setting up libglib2.0-dev (2.50.3-2+deb9u2) ... Setting up gir1.2-soup-2.4:armhf (2.56.0-2+deb9u2) ... Setting up libxml2-dev:armhf (2.9.4+dfsg1-2.2+deb9u2) ... Setting up gir1.2-gst-plugins-bad-1.0 (1.10.4-1) ... Setting up cmake (3.7.2-1) ... Setting up libgstreamer1.0-dev (1.10.4-1) ... Setting up libsoup2.4-dev:armhf (2.56.0-2+deb9u2) ... Setting up libgstreamer-plugins-base1.0-dev (1.10.4-1+deb9u1) ... Setting up libgstreamer-plugins-bad1.0-dev (1.10.4-1) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... ==== Alexa さんをビルド ==== $ curl -O http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz $ tar zxf pa_stable_v190600_20161030.tgz $ cd portaudio $ ./configure --without-jack $ make $ git clone --single-branch git://github.com/alexa/avs-device-sdk.git $ git clone git://github.com/Sensory/alexa-rpi.git $ cd ~/alexa-rpi/bin/ $ ./license.sh $ mkdir ~/avs-sdk-build && cd ~/avs-sdk-build $ cmake ~/avs-device-sdk \ -DSENSORY_KEY_WORD_DETECTOR=ON \ -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=~/alexa-rpi/lib/libsnsr.a \ -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=~/alexa-rpi/include \ -DGSTREAMER_MEDIA_PLAYER=ON \ -DPORTAUDIO=ON \ -DPORTAUDIO_LIB_PATH=~/portaudio/lib/.libs/libportaudio.a \ -DPORTAUDIO_INCLUDE_DIR=~/portaudio/include $ make SampleApp 3~4回トライしましたが cmake のビルドがあと 97% のところで、何回頑張っても応答不能になりました😅💦💦💦\\ Alexa さんさようなら... お元気で...😉\\