Message boards : Questions and problems : Compiling for headless use?
Message board moderation
Author | Message |
---|---|
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
A few of my hosts have old versions of BOINC in their repositories. So I’d like to compile from source. Unfortunately it tries to compile the gui client too (I assume that’s why it’s asking for WxWidgets) - is there a way I can compile the cmd line client only with the make process? Literally all of my 12 hosts are headless. |
![]() Send message Joined: 29 Aug 05 Posts: 15532 ![]() |
./configure --disable-server --disable-manager See https://boinc.berkeley.edu/trac/wiki/CompileClient and https://boinc.berkeley.edu/trac/wiki/BuildSystem for documentation |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
Thanks, can’t believe I’ve missed that. |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
So close. It’s choking on install: chmod +x boinc-client chmod: cannot access 'boinc-client': No such file or directory Makefile:556: recipe for target 'install-exec-hook' failed make[6]: *** [install-exec-hook] Error 1 make[6]: Leaving directory '/home/pi/coding/boinc/client/scripts' Makefile:498: recipe for target 'install-exec-am' failed make[5]: *** [install-exec-am] Error 2 make[5]: Leaving directory '/home/pi/coding/boinc/client/scripts' Makefile:449: recipe for target 'install-am' failed make[4]: *** [install-am] Error 2 make[4]: Leaving directory '/home/pi/coding/boinc/client/scripts' Makefile:646: recipe for target 'install-recursive' failed make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory '/home/pi/coding/boinc' Makefile:945: recipe for target 'install' failed make[2]: *** [install] Error 2 make[2]: Leaving directory '/home/pi/coding/boinc' Makefile:1089: recipe for target 'stage' failed make[1]: *** [stage] Error 2 make[1]: Leaving directory '/home/pi/coding/boinc' Makefile:564: recipe for target '../../../stage' failed make: *** [../../../stage] Error 2 |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
Well I can manually copy the binary and it seems to work. Don’t think my projects are happy... Should have read up on this first instead of just diving in. Now I can’t fix the package to the original version. Guess I’ll come back to this another time. 11 hosts is fine... |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
Ok, I think it’s actually working fine now. I’m gojng to assume upgrading to bleeding-edge dev versions is frowned upon? |
Send message Joined: 5 Oct 06 Posts: 5112 ![]() |
It's encouraged, but we do ask you to participate in bug-hunting and catching problems. The bleeding edge is where the mistakes are made and (hopefully) caught. |
Send message Joined: 5 Mar 08 Posts: 272 ![]() |
What distro are you running? Don't they have boinc-client in their repo or did you want to compile your own? MarkJ |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
Raspbian Stretch Lite, seems to be stuck on 7.6.33 |
Send message Joined: 5 Mar 08 Posts: 272 ![]() |
Raspbian Stretch Lite, seems to be stuck on 7.6.33 You can use the standard Debian repo assuming its a Pi2 or Pi3. The minimum Debian support is an ARMv7 processor which is why you need a Pi2 or better. See here for how to do it. You can then use the boinc-client from stretch-backports, which as I type this is 7.10.2. The 7.12 will probably hit stretch-backports in a week or two. MarkJ |
Send message Joined: 30 Jun 18 Posts: 8 ![]() |
That's really helpful, thank you. I'm on a Pi3 |
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.