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
fckwan

Send message
Joined: 22 Dec 19
Posts: 29
Canada
Message 113452 - Posted: 26 Jan 2024, 2:43:42 UTC

I am trying to compile the BOINC Client on a Ubuntu 23.10 and got an error message while I ran configure.

checking for wx-config... no
configure: error: No suitable wxWidgets library found.

$ sudo apt install libwxgtk-webview3.2-1
libwxgtk-webview3.2-1 is already the newest version (3.2.2+dfsg-4).

$ sudo apt install libwxgtk-webview3.0-gtk3-dev
E: Unable to locate package libwxgtk-webview3.0-gtk3-dev
E: Couldn't find any package by glob 'libwxgtk-webview3.0-gtk3-dev'

--------------------------------------------
If I run try to build on a Ubuntu 22.04 system

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.1.3... no (version 3.0.5 is not new enough)
configure: error: No suitable wxWidgets library found.

$ sudo apt install libwxgtk-webview3.0-gtk3-dev
libwxgtk-webview3.0-gtk3-dev is already the newest version (3.0.5.1+dfsg-4).

sudo apt install libwxgtk-webview3.2-1
E: Unable to locate package libwxgtk-webview3.2-1
E: Couldn't find any package by glob 'libwxgtk-webview3.2-1'

In both case I am not able to proceed.

I notice that there was a similar discussion before on a similar issue
https://boinc.berkeley.edu/dev/forum_thread.php?id=13933&postid=100664#100664
ID: 113452 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2539
United Kingdom
Message 113453 - Posted: 26 Jan 2024, 5:45:18 UTC - in response to Message 113452.  
Last modified: 26 Jan 2024, 6:05:04 UTC

here is where I have listed everything I needed to get everything to work.

sudo apt find
is what is used to find the packages containing what I needed.
ID: 113453 · Report as offensive
fckwan

Send message
Joined: 22 Dec 19
Posts: 29
Canada
Message 113464 - Posted: 27 Jan 2024, 14:26:57 UTC

I am able to build the client

~/boinc/boinc/client$ ls -alg boinc_client
-rwxrwxr-x 2 fckwan 3970264 Jan 26 19:14 boinc_client


But I got the following error message when I execute the client.

26-Jan-2024 19:47:15 [---] GUI RPC bind to port 31416 failed: 98
26-Jan-2024 19:47:16 gstate.init() failed
Error Code: -180


I found the following website.
https://boinc.mundayweb.com/wiki/index.php?title=Gstate.init()_failed,_error_code:_-180
ID: 113464 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2539
United Kingdom
Message 113465 - Posted: 27 Jan 2024, 14:53:51 UTC
Last modified: 27 Jan 2024, 15:30:56 UTC

But I got the following error message when I execute the client.
26-Jan-2024 19:47:15 [---] GUI RPC bind to port 31416 failed: 98
26-Jan-2024 19:47:16 gstate.init() failed
Error Code: -180

I have always been able to start from the boinc icon under the system menu. My understanding is that you have to start the client and the manager if you are using one from the same directory. Don't know if this link given in the link you give is any help if you are not using a gui on the machine in question.
ID: 113465 · Report as offensive
fckwan

Send message
Joined: 22 Dec 19
Posts: 29
Canada
Message 113466 - Posted: 27 Jan 2024, 15:15:25 UTC

I only build the boinc-client. May be I will need to build the boinc and start a the same time.
ID: 113466 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2539
United Kingdom
Message 113467 - Posted: 27 Jan 2024, 15:32:23 UTC - in response to Message 113466.  

If you don't want to use any GUI to check on this BOINC from a remote location, you can also start BOINC without any GUI RPC:
boinc --no_gui_rpc is the suggestion in the link I posted if you are not using a gui.
ID: 113467 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 869
United States
Message 113477 - Posted: 27 Jan 2024, 23:46:52 UTC - in response to Message 113466.  

I only build the boinc-client. May be I will need to build the boinc and start a the same time.

If you only build the client, you shoudn't be getting any warning for wx-widgets. The gtk and widgets libraries are only needed for the manager

./_autosetup
./configure --disable-server --disable -manager --enable-client
make
ID: 113477 · 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.