********************************************************************** DstaRepeator/ircDDBgatewayインストール作業メモ ------------------------------------------------------- RaspberryPi3(OS:Stretch)にて動作確認済です。 あくまでも作業メモです。 環境により操作が変わる場合があります。 記憶違いによる記述ミスも在るかも。 このメモによる作業で損害等発生しても責任は負えません。 あくまでも自己責任です。    2018/09/22 01版           2022/04/28 02版(bullseye追記:動作未確認)  JG3EBB     ********************************************************************** 作業はpiユーザで実施(/home/pi上) ---------------DstaRepeator/ircDDBgateway コンパイル環境の準備(busterの場合)------------------------------------------------------- sudo apt-get update sudo apt-get install wx3.0-headers wx-common libwxgtk3.0-0v5 libwxgtk3.0-dev libwxbase3.0-0v5 libwxbase3.0-dev portaudio19-dev libportaudio2 build-essential sudo apt-get install libusb-dev sudo apt-get install libusb-1.0-0 sudo apt-get install libusb-1.0-0-dev --------------DstaRepeator/ircDDBgateway コンパイル環境の準備(bullseyeの場合)-------------------------------------------------------- sudo apt-get update sudo apt -y install wx3.0-headers wx-common libwxgtk3.0-gtk3-0v5 libwxgtk3.0-gtk3-dev libwxbase3.0-0v5 libwxbase3.0-dev portaudio19-dev libportaudio2 build-essential sudo apt-get install libusb-dev sudo apt-get install libusb-1.0-0 sudo apt-get install libusb-1.0-0-dev ----------------------------------------------------------------------- DstaRepeator/ircDDBgatewayのダウンロード ----------------------------------------------------------------------- git clone https://github.com/g4klx/DStarRepeater git clone https://github.com/g4klx/ircDDBGateway DStarRepeaterのコンパイル/インストール ----------------------------------------------------------------------- cd DStarRepeater mv Makefile Makefile.org cp MakefileGUIPi Makefile nano Makefile -----Makefile 10行目付近LDFLAGSの項目の記述追記------- export LDFLAGS := -lasound -lusb-1.0 $(shell wx-config --libs adv,core) ------------------------------------------------------ sudo make sudo make install cd ircDDBGatewayのコンパイル/インストール ------------------------------------------------------------------------ cd ircDDBGateway mv Makefile Makefile.org cp MakefileGUI Makefile sudo make sudo make install cd ================================================================================================= Desktopアイコン作成(以下必要に応じて適時作成) ------------------------------------------------------------------------- cd Desktop nano DstarRepeater ------------DstarRepeater------------------- [Desktop Entry] GenericName=DstarRepeater Name=Dstar Repeater Comment=DstarRepeater #Exec=sudo /usr/local/bin/dstarrepeater -gui Exec=sudo /usr/bin/dstarrepeater -gui Terminal=false Type=Application Categories=Network;WebBrowser; Icon=/usr/share/icons/Adwaita/32x32/apps/utilities-system-monitor.png ------------------------------------------ nano RepeaterConfig --------RepeaterConfig-------------------- [Desktop Entry] GenericName=DstarRepeater Coonfig Name=Repearer Config Comment=DstarRepeater Configuration #Exec=sudo /usr/local/bin/dstarrepeaterconfig Exec=sudo /usr/bin/dstarrepeaterconfig Terminal=false Type=Application Categories=Network;WebBrowser; Icon=/usr/share/icons/Adwaita/32x32/apps/accessories-text-editor.png ------------------------------------------- nano IrcddbGateway ----------IrcddbGateway------------------- [Desktop Entry] GenericName=ircddbgataway Name=ircddb gateway Comment=ircddbgateway #Exec=sudo /usr/local/bin/ircddbgateway -gui Exec=sudo /usr/bin/ircddbgateway -gui Terminal=false Type=Application Categories=Network;WebBrowser; Icon=/usr/share/icons/Adwaita/32x32/apps/preferences-desktop-screensaver.png ------------------------------------------- nano IrcddbGatewayConfig ---------IrcddbGatewayConfig-------------- [Desktop Entry] GenericName=ircddbgataway Coonfig Name=ircddbgateway config Comment=ircddbgateway Configuration #Exec=sudo /usr/local/bin/ircddbgatewayconfig Exec=sudo /usr/bin/ircddbgatewayconfig Terminal=false Type=Application Categories=Network;WebBrowser; Icon=/usr/share/icons/Adwaita/32x32/apps/accessories-text-editor.png ------------------------------------------ nano nano remote_Ircddb ------------remote_Ircddb---------------- [Desktop Entry] GenericName=remote_ircddbgataway Name=remote ircddbgataway Comment=remotecontrol ircddbgateway #Exec=sudo /usr/local/bin/remotecontrol Exec=sudo /usr/bin/remotecontrol Terminal=false Type=Application Categories=Network;WebBrowser; Icon=/usr/share/icons/Adwaita/32x32/actions/address-book-new.png ---------------------------------------------- cd DstarRepeater 自動起動の例 ------------------------------------------------------------------------ cd cd .config/autostart sudo nano repeater_start.desktop -------repeater_start.desktop----------- [Desktop Entry] Type=Application #Exec=sudo /usr/local/bin/dstarrepeater Exec=sudo /usr/bin/dstarrepeater ------------------------------------------------------------------------ #Exec=sudo /usr/bin/dstarrepeaterでコメント化すれば自動起動しない 「参考」 dstarrepeater/ircddbgatawayの実行ファイルは /usr/bin/ 配下 hostsファイルは /usr/share/ircddbgateway/ 配下 設定ファイルは旧バージョンと同様 /etc/ 配下のircddbgateway dstarrepeater です。   以上