WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I want to install Boinc.  (Read 5723 times)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: I want to install Boinc.
« Reply #60 on: August 04, 2024, 12:27:11 PM »
Hi Juanito
I found one maybe for you. It's from 2017:
https://gitlab.kitware.com/cmake/cmake/-/issues/17580#note_356805

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #61 on: August 04, 2024, 04:33:27 PM »
I tried one more time.

Please use the apps gui to update webkitgtk4, reboot and test boincmgr.



I did all that and still got the same errors.  So I tried something as a little experiment, I pulled out this older (gaming) machine that a friend gave me around ten years ago. And booted TC on that ,installed everything same as the Old laptop (the one that is being used for this thread) and tried to launch boinc.....   NOTHING... it doesn't launch on that (gaming) machine either ...  I'm including screenshots from that machine , hopefully this will tell you something...

If I may ask,  What system specs are your machine??  32 bit?? you said that you had boinc running on your end , i find it strange that I can't...

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #62 on: August 04, 2024, 04:34:59 PM »
and 2 more , since the forum has a limit..

again , these are from the "tower" or Gaming machine...

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: I want to install Boinc.
« Reply #63 on: August 04, 2024, 05:19:16 PM »
Hi Juanito
A little more information on using a toolchain file mentioned
in the previous link:
https://stackoverflow.com/a/28047073

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 776
Re: I want to install Boinc.
« Reply #64 on: August 04, 2024, 08:30:36 PM »
This may help: 86Box

I haven't tried nor researched the concept, but my theory consists of an x86 old-school emulator
which should be able to maintain a proper TinyCore "install" and may allow testing in a more
accurate environment closer to the OP's hardware.


Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: I want to install Boinc.
« Reply #65 on: August 05, 2024, 05:52:01 PM »
FWIW, if you search the TCL forum you can find info about earlier struggles in the BOINC saga. I don't know if anything there will still be of use though...

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #66 on: August 08, 2024, 09:25:39 PM »
So it;s been a few days and no more replies , any ideas or anything I can try??

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 776
Re: I want to install Boinc.
« Reply #67 on: August 08, 2024, 11:04:48 PM »
So it;s been a few days and no more replies , any ideas or anything I can try??

IF IT WERE ME...  I'd compile the lot from scratch ON the hardware we're having issues with which should help ensure the processor being used is forcefully supported.  Being that it's old hardware, expect it to take a while to complete.  If there are issues the compiler can't figure out, it'll point you in a close direction of why.  Start with the library that's throwing the Illegal Operation (webkit and/or wxwidgets) and use extensions for everything else for the beginning.  For each package you compile yourself, create your own extension (filename.tcz) and replace the one in /etc/sysconfig/tcedir/optional with your new one.

Content for creating extensions is readily available both on the forum and wiki.

If compiling isn't in the cards for you, I'd recommend trying Debian out and see if their existing, though old version of boinc functions on your machine "at all."  Yes, it'll likely be slow...  but if the Manager screen comes up, it indicates potential that it "can" be done on your hardware, but how efficiently is another story.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: I want to install Boinc.
« Reply #68 on: August 09, 2024, 09:24:23 AM »
Hi Juanito
I'm wondering if the real culprit is boinc, and webkitgtk4 is just
a red herring. When I was searching for info about this a week
ago I found a similar error that pointed at libc. Turned out the
culprit was the calling program, not libc.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: I want to install Boinc.
« Reply #69 on: August 09, 2024, 12:20:33 PM »
It could well be, the trouble is that without i486 hardware it’s difficult to make much progress.

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #70 on: August 09, 2024, 03:34:50 PM »
So it;s been a few days and no more replies , any ideas or anything I can try??

IF IT WERE ME...  I'd compile the lot from scratch ON the hardware we're having issues with which

Yeah, I'm not quite sure how  to  do all that , I mean I've compiled a few things in Ubuntu in the past , but Ubuntu took care of a lot of the guesswork for me,,

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #72 on: August 09, 2024, 07:30:21 PM »
See http://www.tinycorelinux.net/15.x/x86/tcz/src/boinc/compile_boinc

----------------------------------------------------------

Quote
tce-load -i compiletc automake intltool libtool-dev gettext-dev curl-dev Xorg-7.7-3d-dev freeglut-dev glu-dev wxwidgets31-dev

wget https://github.com/BOINC/boinc/archive/refs/tags/client_release/8.0/8.0.4.tar.gz

cd boinc-client_release-8.0-8.0.4

./_autosetup

CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --disable-server

[-fno-exceptions -fno-rtti fails]

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [7m 54.65s]
sudo make install

--- Configuring BOINC 8.0.4 (Release) ---


--- Build Components: (client manager libraries libraries_graphics manager_clientscr) ---

So, I type out all that??

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: I want to install Boinc.
« Reply #73 on: August 09, 2024, 07:44:40 PM »
Hi Richard Cranium
Yes. This version is a bit more literal:
Code: [Select]
tce-load -i compiletc automake intltool libtool-dev gettext-dev curl-dev Xorg-7.7-3d-dev freeglut-dev glu-dev wxwidgets31-dev

wget https://github.com/BOINC/boinc/archive/refs/tags/client_release/8.0/8.0.4.tar.gz

tar -xf 8.0.4.tar.gz

cd boinc-client_release-8.0-8.0.4

./_autosetup

CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --disable-server

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make
sudo make install

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 776
Re: I want to install Boinc.
« Reply #74 on: August 09, 2024, 08:10:45 PM »
@Rich: I am pretty sure I read somewhere at the start of this boinc adventure there's a GTK (3 vs. 4) issue that was a pain once upon a time, but the real fun here is going to be the general environment - potentials for different X engines, drivers, libraries, etc. that on my kinda-old test hardware works without issue, but yes...  red herring is always possible.

MY thought...  run a find:binary on all files in /tmp/tcloop and -exec ldd {} > logfile
If things work as expected, LDD will flag Invalid Instruction(s) when attempting to run a dependency scan.
This would be without the "calling chain" (boinc > gtk > widgets > etc) so "should" help isolate the offender(s).

@Richard Cranium: Instead of typing all of the content in the Juanito pasted above, just download the source script onto your test machine

See http://www.tinycorelinux.net/15.x/x86/tcz/src/boinc/compile_boinc

Instead, on the test machine,
Code: [Select]
wget http://www.tinycorelinux.net/15.x/x86/tcz/src/boinc/compile_boinc