Packaging therion 5.3 doe Debian/ubuntu
OK. I'm updating the Debian (anfd thus ubuntu) Therion package to the currently released 5.3. I've decided that including a copy of the wiki docs is probably unecessary from now on, but can put them back in if enough people find it useful (expedition caving with limited net access seems to be the main plausible reason). I'm getting a build problem in loch: c++ -o -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Wno-deprecated -fno-strict-aliasing -I/usr/include/freetype2 -I/usr/include/vtk-5.4 -O2 -o lxAboutDlg.o lxAboutDlg.cxx lxAboutDlg.cxx: In constructor ‘lxAboutDlg::lxAboutDlg(wxWindow*)’: lxAboutDlg.cxx:80: error: ‘LTHVERSION’ was not declared in this scope The code says: wxString lxVer; lxVer = _T("Version: "); lxVer += _T(THVERSION); So can someone explain where the 'LTHVERSION' being complained about comes from? The 'THVERSION' in the code _is_ declared. Is this something to do with the _T function/macro? Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/
Hi Wookey, do you have copy ofline copy of wiki? I need something similar to send it to friend living in Cuba because they have not full accccess to internet and they have only 300 kB limit per day(?). May you help him, please? Cheers Martin On 31.5.2010, at 0:37, Wookey wrote:
OK. I'm updating the Debian (anfd thus ubuntu) Therion package to the currently released 5.3.
I've decided that including a copy of the wiki docs is probably unecessary from now on, but can put them back in if enough people find it useful (expedition caving with limited net access seems to be the main plausible reason).
I'm getting a build problem in loch: c++ -o -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Wno-deprecated -fno-strict-aliasing -I/usr/include/freetype2 -I/usr/include/vtk-5.4 -O2 -o lxAboutDlg.o lxAboutDlg.cxx lxAboutDlg.cxx: In constructor ‘lxAboutDlg::lxAboutDlg(wxWindow*)’: lxAboutDlg.cxx:80: error: ‘LTHVERSION’ was not declared in this scope
The code says: wxString lxVer; lxVer = _T("Version: "); lxVer += _T(THVERSION);
So can someone explain where the 'LTHVERSION' being complained about comes from? The 'THVERSION' in the code _is_ declared. Is this something to do with the _T function/macro?
Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/ _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Sorry, private mail :) m. On 31.5.2010, at 9:46, Martin Sluka wrote:
Hi Wookey,
do you have copy ofline copy of wiki? I need something similar to send it to friend living in Cuba because they have not full accccess to internet and they have only 300 kB limit per day(?).
May you help him, please?
Cheers
Martin
On 31.5.2010, at 0:37, Wookey wrote:
OK. I'm updating the Debian (anfd thus ubuntu) Therion package to the currently released 5.3.
I've decided that including a copy of the wiki docs is probably unecessary from now on, but can put them back in if enough people find it useful (expedition caving with limited net access seems to be the main plausible reason).
I'm getting a build problem in loch: c++ -o -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 - D_LARGE_FILES -DNO_GCC_PRAGMA -Wno-deprecated -fno-strict-aliasing -I/usr/include/freetype2 -I/usr/include/vtk-5.4 -O2 -o lxAboutDlg.o lxAboutDlg.cxx lxAboutDlg.cxx: In constructor ‘lxAboutDlg::lxAboutDlg(wxWindow*)’: lxAboutDlg.cxx:80: error: ‘LTHVERSION’ was not declared in this scope
The code says: wxString lxVer; lxVer = _T("Version: "); lxVer += _T(THVERSION);
So can someone explain where the 'LTHVERSION' being complained about comes from? The 'THVERSION' in the code _is_ declared. Is this something to do with the _T function/macro?
Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/ _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Martin, as I promised to you I am working on it. Dokuwiki was upgraded last week and I am now testing Siteexport plugin. I already have something exported on my local machine. It is not ideal but I will send you mail with this export for testing. L. On Mon, 31 May 2010 09:48:42 +0200, Martin Sluka <martinsluka@mac.com> wrote:
Sorry, private mail :)
m.
On 31.5.2010, at 9:46, Martin Sluka wrote:
Hi Wookey,
do you have copy ofline copy of wiki? I need something similar to send it to friend living in Cuba because they have not full accccess to internet and they have only 300 kB limit per day(?).
May you help him, please?
Cheers
Martin
On 31.5.2010, at 0:37, Wookey wrote:
OK. I'm updating the Debian (anfd thus ubuntu) Therion package to the currently released 5.3.
I've decided that including a copy of the wiki docs is probably unecessary from now on, but can put them back in if enough people find it useful (expedition caving with limited net access seems to be the main plausible reason).
I'm getting a build problem in loch: c++ -o -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 - D_LARGE_FILES -DNO_GCC_PRAGMA -Wno-deprecated -fno-strict-aliasing -I/usr/include/freetype2 -I/usr/include/vtk-5.4 -O2 -o lxAboutDlg.o lxAboutDlg.cxx lxAboutDlg.cxx: In constructor ‘lxAboutDlg::lxAboutDlg(wxWindow*)’: lxAboutDlg.cxx:80: error: ‘LTHVERSION’ was not declared in this scope
The code says: wxString lxVer; lxVer = _T("Version: "); lxVer += _T(THVERSION);
So can someone explain where the 'LTHVERSION' being complained about comes from? The 'THVERSION' in the code _is_ declared. Is this something to do with the _T function/macro?
Wookey
+++ Wookey [2010-05-30 23:37 +0100]:
OK. I'm updating the Debian (anfd thus ubuntu) Therion package to the currently released 5.3.
I'm getting a build problem in loch: c++ -o -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Wno-deprecated -fno-strict-aliasing -I/usr/include/freetype2 -I/usr/include/vtk-5.4 -O2 -o lxAboutDlg.o lxAboutDlg.cxx lxAboutDlg.cxx: In constructor ‘lxAboutDlg::lxAboutDlg(wxWindow*)’: lxAboutDlg.cxx:80: error: ‘LTHVERSION’ was not declared in this scope
The code says: wxString lxVer; lxVer = _T("Version: "); lxVer += _T(THVERSION);
So can someone explain where the 'LTHVERSION' being complained about comes from? The 'THVERSION' in the code _is_ declared. Is this something to do with the _T function/macro?
OK. I can make it build by changing the code to:
lxVer += _T("5.3"); (i.e. substitute the variable myself)
If I just remove the _T: lxVer += THVERSION; I get lxAboutDlg.cxx:80: error: ambiguous overload for ‘operator+=’ in ‘lxVer += "5.3"’ /usr/include/wx-2.6/wx/string.h:902: note: candidates are: void wxString::operator+=(const wxWCharBuffer&) <near match> /usr/include/wx-2.6/wx/string.h:1284: note: wxString& wxString::operator+=(const wxString&) <near match> /usr/include/wx-2.6/wx/string.h:1290: note: wxString& wxString::operator+=(wxChar) <near match> changing it to: lxVer += (const wxWCharBuffer&) THVERSION; or lxVer += (const wxString&) THVERSION; compiles but segfaults if you try to open the about dialog. So it does seem that the original error is something to do with the _T() thing as removing it gets me differnt complaints. So, can anyone explain why THVERSION is happily in scope so long as the code is wrong, but as soon as we use the _T() fn/macro a complaint about a variable that doesn;t exist is produced? I think this is c++ magic, which I admit to not understanding so I need a bit of help. Gcc version is 4.4.4 For the time being I am just using "5.3" instead of the variable, but that's not a very satisfactory solution. I do now have some 5.3 packages but they need a bit of work to be uploadable. I'll put up links for people to try as soon as they look like they work OK. Wookey -- Principal hats: Emdebian, Wookware, Balloonboard http://wookware.org/
So, can anyone explain why THVERSION is happily in scope so long as the code is wrong, but as soon as we use the _T() fn/macro a complaint about a variable that doesn;t exist is produced?
L is inserted before the string probably because unicode string constant is used. But it is strange, on gcc 4.3 there is no such error. I have tried using _T("" THVERSION "") in the latest snapshot. It compiles on 4.3, does it on 4.4? Regards, S.
+++ Stacho Mudrak [2010-06-01 21:31 +0200]:
So, can anyone explain why THVERSION is happily in scope so long as the code is wrong, but as soon as we use the _T() fn/macro a complaint about a variable that doesn;t exist is produced?
L is inserted before the string probably because unicode string constant is used. But it is strange, on gcc 4.3 there is no such error. I have tried using _T("" THVERSION "") in the latest snapshot. It compiles on 4.3, does it on 4.4?
Yep. That compiles on 4.4 and it works in the about window. Well done that man! Does that explain what's going on? It does feel like this is working round some other issue rather than actually being 'correct'. I'll go with that patch for now. (I still need to test this with gcc v4.5 as well) Wookey -- Principal hats: Emdebian, Wookware, Balloonboard http://wookware.org/
participants (4)
-
Ladislav Blažek -
Martin Sluka -
Stacho Mudrak -
Wookey