Echolink na Raspberry PI 3 -- jak zainstalować oprogramowanie ???
Witam
Mam trochę wolnego czasu więc draże temat .

wykonałem polecenie: sudo adduser svxlink

pi@raspberrypi:~ $ sudo adduser svxlink
Adding user `svxlink' ...
Adding new group `svxlink' (1001) ...
Adding new user `svxlink' (1001) with group `svxlink' ...
Creating home directory `/home/svxlink' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for svxlink
Enter the new value, or press ENTER for the default
Full Name []: LA4BSA
Room Number []: 12345
Work Phone []: 67890
Home Phone []: 123456789
Other []: ABCDE
Is the information correct? [Y/n] Y
pi@raspberrypi:~ $


Wprowadź nowe hasło UNIX:
Powtórz nowe hasło UNIX:
passwd: hasło zaktualizowane pomyślnie
Zmiana informacji o użytkowniku dla svxlink
Wprowadź nową wartość lub naciśnij klawisz ENTER, aby ustawić wartość domyślną
Pełna nazwa []:
Numer pokoju []:
Telefon służbowy []:
Telefon domowy []:
Inne []:
Czy informacje są poprawne? [T / n] t




38c.

do sprawdzenia
---------------------

sudo make install


pi@raspberrypi:~/svxlink-17.12.2/src/build $ sudo make install
[ 9%] Built target asynccore
[ 10%] Built target asynccpp
[ 25%] Built target asyncaudio
[ 25%] Built target AsyncTcpServer_demo
[ 26%] Built target AsyncMsg_demo
[ 27%] Built target AsyncUdpSocket_demo
[ 29%] Built target AsyncPtyStreamBuf_demo
[ 29%] Built target AsyncFramedTcpServer_demo
[ 30%] Built target AsyncConfig_demo
[ 31%] Built target AsyncTimer_demo
[ 32%] Built target AsyncAudioIO_demo
[ 33%] Built target AsyncCppApplication_demo
[ 34%] Built target AsyncTcpClient_demo
[ 36%] Built target AsyncFdWatch_demo
[ 36%] Built target AsyncAtTimer_demo
[ 36%] Built target AsyncDnsLookup_demo
[ 37%] Built target AsyncExec_demo
[ 38%] Built target AsyncFramedTcpClient_demo
[ 39%] Built target AsyncSerial_demo
[ 40%] Built target svxmisc
[ 44%] Built target echolib
[ 45%] Built target EchoLinkDispatcher_demo
[ 45%] Built target EchoLinkDirectory_demo
[ 46%] Built target EchoLinkQso_demo
[ 47%] Built target echolib_test
[ 50%] Built target locationinfo
[ 70%] Built target trx
[ 72%] Built target DtmfDecoderTest
[ 79%] Built target svxlink
[ 80%] Built target ModuleHelp
[ 81%] Built target ModuleParrot
[ 82%] Built target ModuleEchoLink
[ 84%] Built target ModuleTcl
[ 87%] Built target ModuleDtmfRepeater
[ 89%] Built target ModuleMetarInfo
[ 93%] Built target ModuleFrn
[ 96%] Built target remotetrx
[ 97%] Built target svxreflector
[ 98%] Built target siglevdetcal
[100%] Built target devcal
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libasynccore.so.1.5.0
-- Installing: /usr/local/lib/libasynccore.so.1.5
-- Installing: /usr/local/lib/libasynccore.so
-- Installing: /usr/local/include/svxlink/AsyncApplication.h
-- Installing: /usr/local/include/svxlink/AsyncFdWatch.h
-- Installing: /usr/local/include/svxlink/AsyncTimer.h
-- Installing: /usr/local/include/svxlink/AsyncIpAddress.h
-- Installing: /usr/local/include/svxlink/AsyncTcpClient.h
-- Installing: /usr/local/include/svxlink/AsyncDnsLookup.h
-- Installing: /usr/local/include/svxlink/AsyncUdpSocket.h
-- Installing: /usr/local/include/svxlink/AsyncTcpServer.h
-- Installing: /usr/local/include/svxlink/AsyncTcpConnection.h
-- Installing: /usr/local/include/svxlink/AsyncConfig.h
-- Installing: /usr/local/include/svxlink/AsyncSerial.h
-- Installing: /usr/local/include/svxlink/AsyncFileReader.h
-- Installing: /usr/local/include/svxlink/AsyncAtTimer.h
-- Installing: /usr/local/include/svxlink/AsyncExec.h
-- Installing: /usr/local/include/svxlink/AsyncPty.h
-- Installing: /usr/local/include/svxlink/AsyncPtyStreamBuf.h
-- Installing: /usr/local/include/svxlink/AsyncMsg.h
-- Installing: /usr/local/include/svxlink/AsyncFramedTcpConnection.h
-- Installing: /usr/local/include/svxlink/AsyncTcpClientBase.h
-- Installing: /usr/local/include/svxlink/AsyncTcpServerBase.h
-- Installing: /usr/local/lib/libasynccpp.so.1.5.0
-- Installing: /usr/local/lib/libasynccpp.so.1.5
-- Installing: /usr/local/lib/libasynccpp.so
-- Set runtime path of "/usr/local/lib/libasynccpp.so.1.5.0" to ""
-- Installing: /usr/local/include/svxlink/AsyncCppApplication.h
-- Installing: /usr/local/lib/libasyncaudio.so.1.5.0
-- Installing: /usr/local/lib/libasyncaudio.so.1.5
-- Installing: /usr/local/lib/libasyncaudio.so
-- Set runtime path of "/usr/local/lib/libasyncaudio.so.1.5.0" to ""
-- Installing: /usr/local/include/svxlink/AsyncAudioSource.h
-- Installing: /usr/local/include/svxlink/AsyncAudioSink.h
-- Installing: /usr/local/include/svxlink/AsyncAudioProcessor.h
-- Installing: /usr/local/include/svxlink/AsyncAudioClipper.h
-- Installing: /usr/local/include/svxlink/AsyncAudioCompressor.h
-- Installing: /usr/local/include/svxlink/AsyncAudioFilter.h
-- Installing: /usr/local/include/svxlink/AsyncSigCAudioSink.h
-- Installing: /usr/local/include/svxlink/AsyncSigCAudioSource.h
-- Installing: /usr/local/include/svxlink/AsyncAudioIO.h
-- Installing: /usr/local/include/svxlink/AsyncAudioSplitter.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDelayLine.h
-- Installing: /usr/local/include/svxlink/AsyncAudioValve.h
-- Installing: /usr/local/include/svxlink/AsyncAudioAmp.h
-- Installing: /usr/local/include/svxlink/AsyncAudioSelector.h
-- Installing: /usr/local/include/svxlink/AsyncAudioPassthrough.h
-- Installing: /usr/local/include/svxlink/AsyncAudioMixer.h
-- Installing: /usr/local/include/svxlink/AsyncAudioFifo.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDebugger.h
-- Installing: /usr/local/include/svxlink/AsyncAudioPacer.h
-- Installing: /usr/local/include/svxlink/AsyncAudioReader.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDecimator.h
-- Installing: /usr/local/include/svxlink/AsyncAudioInterpolator.h
-- Installing: /usr/local/include/svxlink/AsyncAudioStreamStateDetector.h
-- Installing: /usr/local/include/svxlink/AsyncAudioEncoder.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDecoder.h
-- Installing: /usr/local/include/svxlink/AsyncAudioRecorder.h
-- Installing: /usr/local/include/svxlink/AsyncAudioJitterFifo.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDeviceFactory.h
-- Installing: /usr/local/include/svxlink/AsyncAudioDevice.h
-- Installing: /usr/local/include/svxlink/AsyncAudioNoiseAdder.h
-- Installing: /usr/local/include/svxlink/AsyncAudioGenerator.h
-- Installing: /usr/local/lib/libsvxmisc.a
-- Installing: /usr/local/include/svxlink/common.h
-- Installing: /usr/local/include/svxlink/CppStdCompat.h
-- Installing: /usr/local/lib/libecholib.so.1.3.3
-- Installing: /usr/local/lib/libecholib.so.1.3
-- Installing: /usr/local/lib/libecholib.so
-- Set runtime path of "/usr/local/lib/libecholib.so.1.3.3" to ""
-- Installing: /usr/local/include/svxlink/EchoLinkDirectory.h
-- Installing: /usr/local/include/svxlink/EchoLinkDispatcher.h
-- Installing: /usr/local/include/svxlink/EchoLinkQso.h
-- Installing: /usr/local/include/svxlink/EchoLinkStationData.h
-- Installing: /usr/local/include/svxlink/EchoLinkProxy.h
-- Installing: /usr/local/bin/svxlink
-- Set runtime path of "/usr/local/bin/svxlink" to ""
-- Installing: /usr/local/var/spool/svxlink/qso_recorder
-- Setting owner of /usr/local/var/spool/svxlink/qso_recorder to svxlink:daemon...
/bin/chown: invalid user: ‘svxlink:daemon’
CMake Error at svxlink/svxlink/cmake_install.cmake:90 (MESSAGE):
Error while changing owner of file
/usr/local/var/spool/svxlink/qso_recorder
Call Stack (most recent call first):
svxlink/cmake_install.cmake:38 (include)
cmake_install.cmake:41 (include)
Makefile:72: recipe for target 'install' failed
make: *** [install] Error 1
pi@raspberrypi:~/svxlink-17.12.2/src/build $


coś poszło nie tak .


natrafiłem w internecie na inne polecenie :

Dodajemy do systemu uzytkownika 'svxlink'

sudo useradd -c "Echolink user" -G dialout,audio -d /home/svxlink -m -s /sbin/nologin svxlink


które jest lepsze czy właściwe ???


pozostały mi tylko do wykonania jeszcze :



29. Pobieramy kodek OPUS i instalujemy:

cd
mkdir src
cd src
wget https://archive.mozilla.org/pub/opus/opus-1.3-beta.tar.gz
tar zxvf opus-1.3-beta.tar.gz
cd opus-1.3-beta
./configure --prefix=/usr
sudo make
sudo make install
ldconfig




cd
cd src
git clone https://github.com/sm0svx/svxlink.git
cd svxlink/src
sudo mkdir build
cd build
cmake -DUSE_QT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var -DCMAKE_BUILD_TYPE=Release ..
sudo make
sudo make install
sudo ldconfig
cd /home/pi/src
sudo cp /home/pi/src/svxlink/distributions/debina/etc/init.d/svxlink /etc/init.d/
sudo chmod 0755 /etc/init.d/svxlink
sudo update-rc.d svxlink defaults


Pobieramy pliki dŸ,wiê,kowe do svxlink w wersji jê,zykowej angielskiej:
====================================================================


cd /usr/share/svxlink/sounds
sudo wget https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/14.08/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
sudo tar jvxf svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
sudo mv en_US-heather-16k/ en_US
sudo rm svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
cd /usr/share
sudo chown -R svxlink.svxlink svxlink

ale to chyba nie wszystko !!!





  PRZEJDŹ NA FORUM