Skip to main content
Home Forums Can someone post BOINC Compile instuctions for Mac OS X
Can someone post BOINC Compile instuctions for Mac OS X
· Software · 6 posts · Dec 12, 2004 — Mar 22, 2005 View original thread ↗
Please could someone post a compile guide for Bonic and the Seti Worker.

I have tried, but failed to compile.

Thanks

Neil
Instructions are all on the boinc site.
The Project Builder project file has never worker as far as I know, so you use the command line.
Download a tarball, or check out current source from the cvs server, cd into the directory in terminal, set and compile flags you want and type
./configure
when done cd into client and type
make

Seti worker is about the same only the seti directory needs to be in the boinc source directory since it links with liboinc and uses some of the client source.
When I tried to compile the BOINC client I get errors at the end of the make, although an exacutable boinc client file is created.

I did try the project builder project, but says there are linked files missing.

Assuming the error in the BOINC compile are not relavant to the client build, how do I get it to do an optimsed compile?

thanks
If you post the errors I can tell you what they mean.

To do optimized compiles, you set the flags you want or pass them to configure before running it. See configure -help for info.
See this thread for optimization info:
http://forums.macnn.com/showthread....threadid=222728
Quote:
Originally posted by mikkyo:
If you post the errors I can tell you what they mean.

To do optimized compiles, you set the flags you want or pass them to configure before running it. See configure -help for info.
See this thread for optimization info:
http://forums.macnn.com/showthread....threadid=222728


How I complied the BONIC client application

I downloaded the latest nightly build:
http://boinc.berkeley.edu/source/ni...04-12-18.tar.gz

Then in terminal:
$ gnutar -xzf boinc_public-cvs-2004-12-18.tar.gz
$ cd bonic_public
$ ./configure
$ make

Errors given at end of make:
fi
../db/boinc_db.C: In member function `void HOST::fix_nans()':
../db/boinc_db.C:299: error: `isnan' undeclared (first use this function)
../db/boinc_db.C:299: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[2]: *** [boinc_db.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

BOINC client application not created on this try.

Also adding the -O3 optimisation to the ./configure gives the following error:
unrecognized option: -O3
Wow.
Some how I missed your followup on this thread and just came across it today.
The error from Make is when trying to make the boinc database, which requires mysql.
You probably just wanted to make the client, so you pass --disable-server to configure and then cd into client and type make.
To add optimization flags, you can either set environment variables with the flags or pass them to configure.
If you don't understand all that then you probably should not mess with optimization.
in tcsh
setenv C_FLAGS "-O3 -mcpu=G4 -mtune=G4 -faltivec"
etc

or to pass to configure
./configure --disable-server C_FLAGS="-O3 -mcpu=G4 -mtune=G4 -faltivec" CPP_FLAGS="-O3 -mcpu=G4 -mtune=G4 -faltivec"

There are many different flags within the Makefiles that can use the optimization stuff.
It is best to look through the one in the client directory to see what they are.
mp.ls