|
Questions and Answers :
Unix/Linux :
Building from source on 20.04
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 15 May 09 Posts: 4444 Credit: 17,929,339 RAC: 29,974 |
Has anyone managed this successfully? I have tried the BOINC forums with no luck so far. I can do it if I don't include the manager at the ./configure stage but as soon as I try to include it I get lots of undefined reference to `wxWebViewNameStr' and similar messages all to to with WebView undefined references at the make stage. Of course in an ideal world, if it was going to fall over at make, it would fall over at ./configure with a more helpful error message. I have built BOINC including manager a number of times on 19.10 and am assuming it is some change in the latest version of Ubuntu and WXwigits that is responsible but for the life of me I can not work out what it is. Edit: there has since been a post on git-hub from someone failing to get it to compile. |
Send message Joined: 11 Dec 19 Posts: 108 Credit: 3,012,142 RAC: 0 |
In Ubuntu 20.04 and beyond all packages are install from the Snap Store. This could be the root cause of your issue if something you have installed is packaged with the wrong version of the files you need to compile against. On the other hand, it's really simple to launch a LXD container running Ubuntu 18.04 so you could use the container as your build environment and see if resulting binary would run on 20.04. |
![]() Send message Joined: 15 May 09 Posts: 4444 Credit: 17,929,339 RAC: 29,974 |
sudo apt install libwxgtk-webview3.0-gtk3-dev freeglut3-dev libxss-dev Turned out to be what I needed. A few minor problems followed before manager would connect to the client. |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
Good one, Dave. |
![]() Send message Joined: 15 May 09 Posts: 4444 Credit: 17,929,339 RAC: 29,974 |
Most I suspect think I have used a sledgehammer to crack a nut. The nut in question being the loss of functionality in the latest packaged versions of BOINC which assume that the client will run as a service and the user doesn't need to have control to stop and start it when exiting the manager. It is the packagers that do this with the source code at git-hub still having full functionality. Edit: I assume that the problem not showing up at ./configure --disable-serverIs due to some sloppy programming somewhere in the source code. In the past, building from source config hasn't completed but has told me what I need. (Even if not how to find it!) |
![]() Send message Joined: 7 Aug 04 Posts: 2172 Credit: 64,684,962 RAC: 857 |
Or just do what I do and download the berkeley version at https://boinc.berkeley.edu/dl/boinc_ubuntu_7.16.6_x86_64-pc-linux-gnu.sh It says 7.16.6 on the download but in Help > About it says 7.17.0 It says development version but I've had no issues with it after using it for a few months. I got sick of the service install of boinc in the Ubuntu package manager as I like the ease of control when running the berkeley packaged version. |
Send message Joined: 11 Dec 19 Posts: 108 Credit: 3,012,142 RAC: 0 |
$ sudo systemctl disable boinc-client.service Synchronizing state of boinc-client.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable boinc-client Removed /etc/systemd/system/multi-user.target.wants/boinc-client.service. That should solve any problems you have with BOINC auto starting in Ubuntu. After that you can use start or stop instead of disable to control it manually. |
![]() Send message Joined: 15 May 09 Posts: 4444 Credit: 17,929,339 RAC: 29,974 |
The one I have built is 7.17.0 So far no problems with it. Unlike some of my previous builds, I have managed this one without adding any extra repositories so am hoping there are fewer opportunities for things to break next time I do a release upgrade. |
©2024 climateprediction.net