No suitable wxwidgets library found

Message boards : BOINC client : No suitable wxwidgets library found
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100484 - Posted: 26 Aug 2020, 19:46:41 UTC
Last modified: 26 Aug 2020, 19:55:25 UTC

I should probably know the answer to this from last time I rolled my own but having passed the openssl hurdle I get the this during ./config.

 No suitable wxwidgets library found




Note, selecting 'python-wxgtk3.0-dev' for regex 'python-wxgtk3.0+-dev'
python-wxgtk3.0-dev is already the newest version (3.0.2.0+dfsg-8build1)


Is what I got when I tried to install it.

Edit: one of the following two packages worked.


sudo apt-get install wx2.8-headers libwxgtk2.8-0
ID: 100484 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 867
United States
Message 100485 - Posted: 26 Aug 2020, 20:30:54 UTC

On Debian you need the packages: libwxgtk3.0-dev, libwxgtk-webview3.0-dev

From the software prerequisites page.
https://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix
ID: 100485 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100487 - Posted: 27 Aug 2020, 5:11:01 UTC - in response to Message 100485.  
Last modified: 27 Aug 2020, 5:12:42 UTC

On Debian you need the packages: libwxgtk3.0-dev, libwxgtk-webview3.0-dev

From the software prerequisites page.
https://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix


Progressed beyond that and now falling over fairly quickly at the make stage.

browser.cpp:45:10: fatal error: sqlite3.h: No such file or directory
ID: 100487 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100495 - Posted: 27 Aug 2020, 10:57:20 UTC

Getting further now following

sudo apt-get install libsqlite3-dev


/usr/bin/ld: boincmgr-NoticeListCtrl.o: in function `wxString::ImplStr(char const*, wxMBConv const&)':
/usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewNameStr'
/usr/bin/ld: /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewBackendDefault'
/usr/bin/ld: /usr/include/wx-3.0/wx/string.h:477: undefined reference to `wxWebViewDefaultURLStr'
/usr/bin/ld: boincmgr-NoticeListCtrl.o: in function `CNoticeListCtrl::Create(wxWindow*)':
/home/dave/Downloads/boinc-master/clientgui/NoticeListCtrl.cpp:90: undefined reference to `wxWebView::New(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, wxString const&, long, wxString const&)'
/usr/bin/ld: boincmgr-NoticeListCtrl.o: in function `wxEventTableEntry::wxEventTableEntry(int const&, int, int, wxEventFunctor*, wxObject*)':
/usr/include/wx-3.0/wx/event.h:3201: undefined reference to `wxEVT_WEBVIEW_NAVIGATING'
/usr/bin/ld: /usr/include/wx-3.0/wx/event.h:3201: undefined reference to `wxEVT_WEBVIEW_ERROR'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:752: boincmgr] Error 1


Getting the above on both master and release versions now and not spotting what I need to search for to find the answer.
ID: 100495 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100613 - Posted: 5 Sep 2020, 16:49:13 UTC - in response to Message 100495.  
Last modified: 5 Sep 2020, 17:29:19 UTC

So getting a bit more information having tried

./configure --disable-server --disable-manager


If I do that make completes successfully, narrowing down the problem to the manager.

Now installing wx3.0 to see if that helps.
ID: 100613 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100623 - Posted: 6 Sep 2020, 9:30:39 UTC - in response to Message 100613.  

If I do that make completes successfully, narrowing down the problem to the manager.

Now installing wx3.0 to see if that helps.


Make still falling over when I don't exclude the manager. I see from some posts on similar error messages that some packages have been renamed in 20.04 and while those I have found so far are installed, I wonder if one of the renamed packages is still missing?
ID: 100623 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100624 - Posted: 7 Sep 2020, 10:41:00 UTC

On the point of giving up! - Well at least till Ubuntu 20.10 comes out and then I will try a clean install and start again from scratch. (Which is what I did with 20.04 but nothing I have tried seems to get make to complete except --disable-manager at the ./configure stage.
ID: 100624 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100625 - Posted: 7 Sep 2020, 14:52:48 UTC

Found this while searching but don't know enough to know how relevant it is?

The core problem is that as of Ubuntu 20.04, the linker has been modified so that if artifact (library or binary) A calls function B in library b, then A must add the -lb, even if it adds a -lc, where c depends on a. In this case, prted is making hwloc calls, but depending on libopen-pal.so to pull in the hwloc dependency.
ID: 100625 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 100626 - Posted: 7 Sep 2020, 15:13:32 UTC

ID: 100626 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100627 - Posted: 7 Sep 2020, 15:35:26 UTC - in response to Message 100626.  
Last modified: 7 Sep 2020, 15:47:04 UTC

Someone just posted Issue #4010 Boinc client code fails to compile on Ubuntu 20.04, was that you?


Not me. Having looked, doesn't seem to be the same errors I am getting on running "make." Is there a way of telling which of us is getting further along the path before things fall over?

Edit: Have just commented on issue #4010
ID: 100627 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 867
United States
Message 100631 - Posted: 8 Sep 2020, 0:34:33 UTC

May I ask the question about why you need to build BOINC from source? There is the 7.16.6 Linux x64 version available on the BOINC download page. Is that not sufficient?
https://boinc.berkeley.edu/download_all.php
Or possibly use the Lunatics Linux installer for BOINC.
http://www.arkayn.us/lunatics/BOINC.7z
ID: 100631 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100633 - Posted: 8 Sep 2020, 7:00:00 UTC - in response to Message 100631.  

May I ask the question about why you need to build BOINC from source?


Because I don't like they way the offering from Ubuntu, despite having the option to enable the manager exit dialogue ticked just closes the manager window without letting me choose whether or not to stop the client.

I know it might seem like a bit of sledgehammer to crack a nut scenario but hopefully I will also learn a bit more about my system while doing so.
ID: 100633 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 867
United States
Message 100653 - Posted: 8 Sep 2020, 19:46:07 UTC - in response to Message 100633.  

May I ask the question about why you need to build BOINC from source?


Because I don't like they way the offering from Ubuntu, despite having the option to enable the manager exit dialogue ticked just closes the manager window without letting me choose whether or not to stop the client.

I know it might seem like a bit of sledgehammer to crack a nut scenario but hopefully I will also learn a bit more about my system while doing so.

The client and Manager in the Lunatics installer still has that feature. I can quit the Manager from the File menu and get the Options dialog whether I want to close the client and stop all tasks or just quit the Manager and leave the client running tasks. And the selection about remembering your choice or not is still there.
ID: 100653 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100661 - Posted: 9 Sep 2020, 8:06:26 UTC

I have now succeeded following the advice from the thread on git-hub Jord linked to.
 $ sudo apt install libwxgtk-webview3.0-gtk3-dev freeglut3-dev libxss-dev

enabled make to complete. I had temporary problems with not being able to connect manager and client but managed to sort these reasonably quickly.
ID: 100661 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2533
United Kingdom
Message 100664 - Posted: 9 Sep 2020, 11:18:15 UTC

It does leave me with the question as to why does this not get picked up at the config stage? To my way of thinking, that stage should throw up anything not installed that I need even if it doesn't always help with tracking down which package contains it?
ID: 100664 · Report as offensive

Message boards : BOINC client : No suitable wxwidgets library found

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.