dl5di/OpenDV

Compiling under debian Jessie not working

hoeste opened this issue · 30 comments

I have tried to compile ircddbgateway under a brand new install of debian Jessie. I get the following error message.

g++ -I../Common -g -O2 -m32 -Wall -Wno-non-virtual-dtor -Wno-strict-aliasing -DLOG_DIR='"/var/log/opendv"' -DCONF_DIR='"/home/opendv/ircddbgateway"' -DDATA_DIR='"/home/opendv/data"' -DBIN_DIR='"/usr/bin"' -DDCS_LINK -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -c RepeaterDataSet.cpp
RepeaterDataSet.cpp: In member function ‘virtual wxString CRepeaterDataSet::getReflector() const’:
RepeaterDataSet.cpp:484:31: error: call of overloaded ‘Append(int)’ is ambiguous
reflector.Append(wxT('A') + c);
^
RepeaterDataSet.cpp:484:31: note: candidates are:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from AddressTextCtrl.h:22,
from RepeaterDataSet.h:22,
from RepeaterDataSet.cpp:19:
/usr/include/wx-3.0/wx/string.h:2008:13: note: wxString& wxString::Append(const wxString&)
wxString& Append(const wxString& s)
^
/usr/include/wx-3.0/wx/string.h:2017:13: note: wxString& wxString::Append(const char_)
wxString& Append(const char_ psz)
^
/usr/include/wx-3.0/wx/string.h:2017:13: note: no known conversion for argument 1 from ‘int’ to ‘const char_’
/usr/include/wx-3.0/wx/string.h:2019:13: note: wxString& wxString::Append(const wchar_t_)
wxString& Append(const wchar_t* pwz)
^
/usr/include/wx-3.0/wx/string.h:2019:13: note: no known conversion for argument 1 from ‘int’ to ‘const wchar_t_’
/usr/include/wx-3.0/wx/string.h:2021:13: note: wxString& wxString::Append(const wxCStrData&)
wxString& Append(const wxCStrData& psz)
^
/usr/include/wx-3.0/wx/string.h:2021:13: note: no known conversion for argument 1 from ‘int’ to ‘const wxCStrData&’
/usr/include/wx-3.0/wx/string.h:2038:13: note: wxString& wxString::Append(wxUniChar, size_t)
wxString& Append(wxUniChar ch, size_t count = 1u)
^
/usr/include/wx-3.0/wx/string.h:2042:13: note: wxString& wxString::Append(char, size_t)
wxString& Append(char ch, size_t count = 1u)
^
/usr/include/wx-3.0/wx/string.h:2044:13: note: wxString& wxString::Append(unsigned char, size_t)
wxString& Append(unsigned char ch, size_t count = 1u)
^
/usr/include/wx-3.0/wx/string.h:2046:13: note: wxString& wxString::Append(wchar_t, size_t)
wxString& Append(wchar_t ch, size_t count = 1u)
^
Makefile:38: recipe for target 'RepeaterDataSet.o' failed
make[1]: *_* [RepeaterDataSet.o] Error 1
make[1]: Leaving directory '/home/ve7oes/src/ircDDBGateway-2015-08/GUICommon'
Makefile:39: recipe for target 'GUICommon/GUICommon.a' failed
make: *** [GUICommon/GUICommon.a] Error 2

Is it possible to fix this error?
Thanks
Hans Oeste
VE7OES

might try it again with the following packages works for me anyway..

sudo apt-get install build-essential libwxgtk2.8-dev portaudio19-dev python-serial wiringPi libusb-1.0-0-dev chkconfig

Libwxgtk2.8 is deprecated on Jesse. You may need to try 3.0.
On Dec 26, 2015 9:30 PM, "SpudGunMan" notifications@github.com wrote:

might try it again with the following packages works for me anyway..

sudo apt-get install build-essential libwxgtk2.8-dev portaudio19-dev
python-serial wiringPi libusb-1.0-0-dev chkconfig


Reply to this email directly or view it on GitHub
#16 (comment).

n8ohu commented

I'm not sure how compatible with 3.0 it is, due to the massive revisions made during in the 2.9 development cycle. It would have been nice if there was some effort made to develop a compatibility library set to handle the changes, but as far as I know, the WxWidgets team didn't do that.

ph0dv commented

Same issue here. with 3.0 you get the same error:
Makefile:38: recipe for target 'RepeaterDataSet.o' failed
make[1]: *** [RepeaterDataSet.o] Error 1

F4FXL commented

Hi All,

Under Sid I compiled wx2.8 from source package ... Works fine ....

Additionally wiki shows steps to compile

https://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway

F4FXL commented

Yes, it does but Jonathan said he has plans to move to wxWidgets3.0 .... Here a pull request to make the code compile with wx3.0 (not mine) #30

yes I saw that

ph0dv commented

There is a depency: libwxbase2.8-0_2.8.12 needs libtiff4

the code base is moved to wx3.0 now, so please update code and move to wx3.0 for all testing with the github code main branch

ph0dv commented

Hello,

sudo apt-get upgrade
apt-get upgrade
apt-get install git build-essential libwxgtk3.0-dev portaudio19-dev libusb-1.0-0-dev chkconfig
cd //tmp
wget http://repo1.ham-digital.net/debian/dl5di.pk
apt-key add dl5di.pk
cd ~
git clone https://github.com/dl5di/OpenDV.git
cd OpenDV/
git pull
cd ircDDBGateway
make
make install
ircddbgateway

I get the message:
Gtk-Message: Failed to load module "canberra-gtk-module"

The program is starting!!

Kind regards,

PH0DV
Dick

ph0dv commented

apt-get install libcanberra-gtk-module:i386

did do the job

ph0dv commented

I found a little bug:

In ircddbgatewayconfig on tab Repeater 1 i save Reflector XRF088 C - Startup Yes.

When i startup ircddbgateway then it connect on XRF088 A. I tried multiple reflectors.

73's
PH0DV

this isnt a support thread.. it should be closed please post support in the yahoo group.

ph0dv commented

Ok, thanks for the work.... compiling works fine now.

73's
PH0DV

K2IE commented

No issue with wx libs on Debian 8.5 (Jessie). Issue should be closed.

Most complaints are from people trying install pre-compiled packages that
use WX-2.8 on Jessie. The distributed binaries need to be updated.

On Mon, Aug 15, 2016 at 11:17 AM, K2DLS notifications@github.com wrote:

No issue with wx libs on Debian 8.5 (Jessie). Issue should be closed.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGP0etpempkZB_cmOPIaB0ksUHtSuYQwks5qgK0fgaJpZM4Gaq1j
.


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
http://k7ve.org/blog http://twitter.com/#!/john_hays

I would like to compile ircddbgateway on Debian 8 which is without GUI, for this reason, I use switch in configure --without-gui but configure still request

wxWidgets must be installed on your system

F4FXL commented

Ok I am asking about this because if I try to install libwxgtk3.0 on Debian 8.10

sudo apt-get install libwxgtk3.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libwxgtk3.0-dev : Depends: libgl1-mesa-dev but it is not going to be installed or
libgl-dev
Depends: xlibmesa-glu-dev or
libglu-dev
E: Unable to correct problems, you have held broken packages.

and I can not find why is problem with install libwxgtk3.0

F4FXL commented

Yes, I have done following instruction. I have use Debian on small SB computer (it is not RPI)

I have solve problem use

sudo aptitude install libwxgtk3.0-dev

instead apt-get

aptitude help me solve dependence

F4FXL commented

oh ok, I mainly use apt and no more apt-get ...

If you are looking to wiki:

https://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway-Installation

where are examples which suggest use 'apt-get' instead 'apt'

F4FXL commented
F4FXL commented

Hi Adrian,

This only takes APRS frames on the APRSIS network and sends them on your DStar repeater.
My primary reason to write this was to send wx data on our repeater as the ID5100 and ID51 plus support them. This works the opposite way than reporting.
To add support for the thd74 one has to modify the code of ircddbgateway as ircddbgateway does the job of reporting.
I am familiar with the APRS part of the code I am missing a thd74 to do it. I might be able to get my hands one one during next Fall/Winter.

73
Geoffrey F4FXL / KC3FRA