How to install BOINC in freebsd.

Message boards : BOINC client : How to install BOINC in freebsd.
Message board moderation

To post messages, you must log in.

AuthorMessage
njnu1115

Send message
Joined: 9 Sep 08
Posts: 3
China
Message 20058 - Posted: 9 Sep 2008, 9:01:27 UTC

/usr/ports/net/boinc-client/
If use the default "make install clean", then you will get the error like "no task for i386-freebsd-portable".
Here is a walkaround I found:

go to /usr/ports/net/boinc-client/ , edit the Makefile, change the CONFIGURE_ARGS= --disable-server
to
CONFIGURE_ARGS= --disable-server --with-boinc-platform=i686-pc-linux-gnu

and make install clean.
after that, if you receive error like "ELF 0 ...."
make sure you have install the
/usr/ports/emulators/linux_base-fc4 or higher, and
sysctl kern.elf32.fallback_brand=3

it will work now.

hope this help.
ID: 20058 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 20059 - Posted: 9 Sep 2008, 9:11:40 UTC - in response to Message 20058.  
Last modified: 9 Sep 2008, 10:02:14 UTC

/usr/ports/net/boinc-client/
If use the default "make install clean", then you will get the error like "no task for i386-freebsd-portable".
Here is a walkaround I found:

go to /usr/ports/net/boinc-client/ , edit the Makefile, change the CONFIGURE_ARGS= --disable-server
to
CONFIGURE_ARGS= --disable-server --with-boinc-platform=i686-pc-linux-gnu

and make install clean.
after that, if you receive error like "ELF 0 ...."
make sure you have install the
/usr/ports/emulators/linux_base-fc4 or higher, and
sysctl kern.elf32.fallback_brand=3

it will work now.

hope this help.


While your solution most likely works it's not how it should be done. The problem is that it will request linux client even from the projects that are offering FreeBSD client (or are going to). The proper way to do is to use --with-boinc-alt-platform=i686-pc-linux-gnu instead and leave the 'original' boinc platform setting intact. Or rather fix it to be correct for FreeBSD (I'm not sure about the correct one, it might as well be i386-unknown-freebsd or something).

[edit]
According to official? list of BOINC platforms, it's rather i686-pc-freebsd or x86_64-pc-freebsd, depening on OS bitness.

Which means that complete CONFIGURE_ARGS line would look like this:

CONFIGURE_ARGS="--disable-server --with-boinc-platform=i686-pc-freebsd --with-boinc-alt-platform=i686-pc-linux-gnu"


or

CONFIGURE_ARGS="--disable-server --with-boinc-platform=x86_64-pc-freebsd --with-boinc-alt-platform=i686-pc-linux-gnu"

for AMD64 / X86_64 FreeBSD.
[/edit]
Metod ...
ID: 20059 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 20083 - Posted: 11 Sep 2008, 5:40:48 UTC - in response to Message 20068.  
Last modified: 11 Sep 2008, 5:42:37 UTC

2) Should the options following CONFIGURE_ARGS= be inside double quotes? njnu1115 does not use the quotes, Metod does. Which form is correct?


As this is Makefile they probably shouldn't be enclosed by double quotes.

Mea culpa.

[edit]
I don't know much about FreeBSD either ...
[/edit]
Metod ...
ID: 20083 · Report as offensive

Message boards : BOINC client : How to install BOINC in freebsd.

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.