経緯
- AWS Ubuntu Server 20.04 に turnserver-4.5.2.tar.gz をインストール
- 記事の内容がほとんどなく、参考サイトのコピー&劣化で、投稿するのは大変恐縮ですが、軽くはまったのでメモ
環境
- AWS
- Ubuntu Server 20.04 LTS
- turnserver-4.5.2.tar.gz
はまった点(読み飛ばし可能)
- 参考サイト1 を参考に
./configure
すると以下のエラーに遭遇 -
ginstall: not found
が先に目が入ってしまい、このメッセージで検索したのがはまった原因-
ginstall
は、なくてもよいと後ほど気づく
-
-
ERROR: cannot use compiler unknown properly
が見なければいけないエラーメッセージ
ginstall: not found
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: unknown
ERROR: cannot use compiler unknown properly
手順
- 参考文献1に
gcc
とpkg-config
を追加
sudo apt update -y
sudo apt install -y libssl-dev libevent-dev sqlite3 make gcc pkg-config
wget http://turnserver.open-sys.org/downloads/v4.5.2/turnserver-4.5.2.tar.gz
tar xvfz turnserver-4.5.2.tar.gz
cd turnserver-4.5.2/
./configure
make && sudo make install
- 実行ファイルの格納場所
which turnserver
/usr/local/bin/turnserver
apt でインストール
-
apt
でもインストールできる - Coturn-4.5.1.1 がインストールされた
- 最新を使いたい場合は、ソースからインストールした方がよさそう
sudo apt install coturn
- 実行ファイルの格納場所
/usr/bin/turnserver
参考サイト
参考サイト1
参考サイト2