WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: I want to install Boinc.
« Reply #75 on: August 09, 2024, 10:22:08 PM »
Hi CentralWare
... @Richard Cranium: Instead of typing all of the content in the Juanito pasted above, just download the source script onto your test machine ...
It's not really a script. It's more a mix of commands and notes. I got the
impression the OP was not very experienced compiling from scratch.
So I posted the instructions with comments removed and the missing
tar command inserted. I figured the OP might not recognize where
the comments are.

Quote
... 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. ...
I wasn't aware ldd could do that. But I guess whether ldd encounters an
illegal instruction depends on where in the binary being examined it's located.

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 747
Re: I want to install Boinc.
« Reply #76 on: August 12, 2024, 05:57:54 AM »
I wasn't aware ldd could do that. But I guess whether ldd encounters an
illegal instruction depends on where in the binary being examined it's located.

LDD doesn't really "do that" - it's more like an unintended convenience.
This is somewhat of what I had in mind:
Code: [Select]
#!/bin/sh
. /etc/init.d/tc-functions
tce-load -i file
clear

cd /tmp/tcloop
sudo grep -r -I -L . > /tmp/binaries.lst
sudo file -f /tmp/binaries.lst | grep ELF | awk -F: '{print $1}' > /tmp/binaries.elf

while read -r file
do
    res=$(sudo ldd "${file}" | grep -e "invalid " -e "error " -e "not found" )
    [ ! "${res}" == "" ] && echo -e "${YELLOW}${file}${NORMAL}\n${res}\n\n"
done < /tmp/binaries.elf

Assuming BOINC was fully installed, it would scan through all of the binaries of everything installed at that moment (hopefully catching the herring if he's out there)
Again --- "in theory!" :)

Offline Richard Cranium

  • Newbie
  • *
  • Posts: 35
Re: I want to install Boinc.
« Reply #77 on: August 24, 2024, 10:02:26 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

I think I'm going to put my little project on hold for a while , I've tried to compile and it just runs (compiles) so slow and then the system seemingly locks up , maybe a future version of TC will get the job done and the required packages will be fixed up...

But I DO VERY MUCH want to thank everyone here that offered help and advice . THANK YOU.... I'm starting another thread on a different subject tomorrow....

Offline gadget42

  • Hero Member
  • *****
  • Posts: 725
Re: I want to install Boinc.
« Reply #78 on: August 25, 2024, 04:36:12 AM »
as of this post, one month has transpired since the start of this thread and it has been viewed 2874 times.
(which probably just means that interested people have read and reread the thread multiple times, i know i have)

with respect to aged hardware, you aren't the only one who finds it hard to say goodbye/goodnight to yesteryear:
https://forum.tinycorelinux.net/index.php/topic,25098.msg165728.html#msg165728
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580