Posts by tehhustler

InfoMessage
1) Message boards : Questions and problems : Compiling for headless use?
Message 86978
Posted 10 Jul 2018 by tehhustler
That's really helpful, thank you. I'm on a Pi3
2) Message boards : Questions and problems : Compiling for headless use?
Message 86949
Posted 9 Jul 2018 by tehhustler
Raspbian Stretch Lite, seems to be stuck on 7.6.33
3) Message boards : Questions and problems : Compiling for headless use?
Message 86940
Posted 8 Jul 2018 by tehhustler
Ok, I think it’s actually working fine now.

I’m gojng to assume upgrading to bleeding-edge dev versions is frowned upon?
4) Message boards : Questions and problems : Compiling for headless use?
Message 86939
Posted 8 Jul 2018 by tehhustler
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...
5) Message boards : Questions and problems : Compiling for headless use?
Message 86938
Posted 8 Jul 2018 by tehhustler
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
6) Message boards : Questions and problems : Compiling for headless use?
Message 86937
Posted 8 Jul 2018 by tehhustler
Thanks, can’t believe I’ve missed that.
7) Message boards : Questions and problems : Compiling for headless use?
Message 86935
Posted 8 Jul 2018 by tehhustler
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.
8) Message boards : API : Announcing boinctui-extended
Message 86782
Posted 30 Jun 2018 by tehhustler
(If this is the wrong subforum for this could it be moved to a more appropriate one please?)

I’ve been playing around with boinctui lately because I really like it. It’s perfect for my needs. But I got annoyed that a few things weren’t how I wanted and that there were great PRs people had submitted that weren’t being looked at. I assume the author went AWOL at some point.

So I forked it, took the PRs myself and added some things of my own and the result is what I’m calling (slightly pompously...) boinctui-extended.

https://github.com/mpentler/boinctui-extended

I’ve made a start with translating the code comments into English, fixed some strings/typos, started work to get rid of some cppcheck warnings, added a previous server hot key option (a godsend when you have 10 hosts...) and took every PR and modification I could find on GitHub. I’ve also added a host counter and a host ID option so you can name your added servers - never lose track again!

Have a play with it if you want. If you’d like to help me fix some bugs then that would be good too. I know literally zero cpp bar copying from stackoverflow. There are a fair few segmentation faults that occur with Sergei’s original codebase and it’d be good to try and fix them.

I also need help with error handling - I added a check to make sure the realloc() calls weren’t NULL, but if they ARE I don’t know how to handle that properly. Some advice would be helpful.

Some documentation is included now as well to help you get started.


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.