-
Notifications
You must be signed in to change notification settings - Fork 63
ircDDB Gateway Installation
This documents the install of the ircDDBGateway application, this page is a work in progress please provide feedback or issues to the yahoo group.
There are binary files for windows available from the 'files' section of the ircDDB Yahoo! group
https://groups.yahoo.com/neo/groups/ircDDBGateway/files/Release/ https://groups.yahoo.com/neo/groups/ircDDBGateway/files/Beta/
###debian/ubuntu apt
cd /tmp
wget http://repo1.ham-digital.net/debian/dl5di.pk
sudo apt-key add dl5di.pk
cd ~
sudo curl http://repo1.ham-digital.net/debian/opendv.list -o /etc/apt/sources.list.d/opendv.list
##alternative if it should not work:
#sudo curl http://download.prgm.org/dl5di-soft/opendv/repositories/debian/opendv.list - o/etc/apt/sources.list.d/opendv.list
sudo apt-get update
sudo apt-get install ircddbgateway
you may be required to install dependency's such as wx2.8 if so
apt-get install libwxbase2.8-0
Later updates will be installed as usual by the following or apt-get system updates
sudo apt-get update
sudo apt-get upgrade ircddbgateway
In case of an issue you may easily step back to the version which was installed before:
sudo apt-get downgrade ircddbgateway
###fedora dnf work in progress KRK
sudo dnf install ircddbgateway
###centos yum
curl http://repo1.ham-digital.net/centos5/opendv.repo -o /etc/yum.repos.d/opendv.repo
yum clean expire-cache
yum install rpmforge-release
yum clean expire-cache
yum install ircddbgateway
Later updates will be installed as usual by
yum update ircddbgateway
In case of an issue you may easily step back to the version installed before:
yum downgrade ircddbgateway
If you are upgrading an IcomG2 gateway with the ircDDB-add-on installed from a yum package, you need to enter the following command in addition:
sed -i "s/enabled=1/enabled=0/g" /etc/yum.repos.d/ircddb.repo
cd /tmp
wget http://repo1.ham-digital.net/debian/dl5di.pk
sudo apt-key add dl5di.pk
cd ~
sudo curl http://repo1.ham-digital.net/raspbian/opendv.list -o /etc/apt/sources.list.d/opendv.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ircddbgateway
The instructions assume a fresh install and has packages for source code building the dev packages. Building from source will get the latest version but also assumes you know what your up to. This is two sections getting the required build elements and then getting the source and compiling it.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git build-essential libwxgtk3.0-dev portaudio19-dev libusb-1.0-0-dev chkconfig
legacy documentation wx2.8 dev - dont use this typically no longer supported.
cd /tmp
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/libwxgtk2.8-dev_2.8.12.1%2bdfsg2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/wx2.8-headers_2.8.12.1%2bdfsg2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/libwxgtk2.8-0_2.8.12.1%2bdfsg2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/libwxbase2.8-dev_2.8.12.1%2bdfsg2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/libwxbase2.8-0_2.8.12.1%2bdfsg2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/w/wxwidgets2.8/wx-common_2.8.12.1-12_amd64.deb
wget http://ftp.debian.org/debian/pool/main/libj/libjpeg8/libjpeg8_8d1-2_amd64.deb
sudo dpkg -i libjpeg8_8d1-2_amd64.deb
sudo dpkg -i wx2.8-headers_2.8.12.1+dfsg2-2_amd64.deb
sudo dpkg -i libwxbase2.8-0_2.8.12.1+dfsg2-2_amd64.deb
sudo dpkg -i libwxbase2.8-dev_2.8.12.1+dfsg2-2_amd64.deb
sudo dpkg -i wx-common_2.8.12.1-12_amd64.deb
sudo dpkg -i libwxgtk2.8-0_2.8.12.1+dfsg2-2_amd64.deb
sudo dpkg -i libwxgtk2.8-dev_2.8.12.1+dfsg2-2_amd64.deb
sudo apt-get -f install
Install developer tools
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
rpm -ivh epel-release-7-9.noarch.rpm
sudo yum install git gcc-c++ libusb-devel.x86_64
Build and install a stable release of wxWidgets v3.0.x.
See instructions: https://wiki.wxwidgets.org/Compiling_and_getting_started
Download from here: http://www.wxwidgets.org/downloads/
Extract to: ~/src
cd ~/src/wxWidgets-3.0.2
mkdir gtk-build
cd gtk-build
../configure
make
sudo make install
sudo ldconfig -v /usr/local/lib
sudo dnf install gcc-c++ portaudio-devel.x86_64 libusb-devel.x86_64 wxGTK3-devel.x86_64
build fails because of a call to /usr/lib/rpm/redhat/ - needs investigation provided a silly workaround for now
mkdir /usr/lib/rpm/redhat/ && touch /usr/lib/rpm/redhat/redhat-hardened-ld
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libwxgtk3.0-dev portaudio19-dev libusb-1.0-0-dev chkconfig python-serial wiringPi
To pull for the first time
cd ~
git clone https://github.com/dl5di/OpenDV.git
To update to latest code
cd ~/OpenDV
git pull
Compile
cd ~/OpenDV/ircDDBGateway
./configure
make
sudo make install
## you may need a 'make clean' if upgrading to latest code from a previous compile