Typo in setupForBOINC.sh from SVN???

peanut
peanut
Joined: 4 May 07
Posts: 162
Credit: 9644812
RAC: 0
Topic 193488

I just used setupForBOINC.sh that I got when I obtained the BOINC source code with SVN.

I had to correct "ares-1.15.1" to "ares-1.5.1" in the .sh file. If this is really an error, does anyone know how to report it? I have not fully compiled the BOINC Manager yet, so perhaps I am wrong about the typo. It does look like the .sh file may have been recently modified. I was in the mac_build directory.

echo ""
echo "----------------------------------"
echo "------- BUILD C-ARES-1.5.1 -------"
echo "----------------------------------"
echo ""

cd ../../c-ares-1.5.1/
if [ $? -ne 0 ]; then return 1; fi
source "${SCRIPT_DIR}/buildc-ares.sh" ${doclean}
if [ $? -ne 0 ]; then return 1; fi

PovAddict
PovAddict
Joined: 31 Mar 05
Posts: 45
Credit: 2508915
RAC: 0

Typo in setupForBOINC.sh from SVN???

If you're building client and manager, don't use trunk. Use something like http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_10_39/

Yes, it has been recently modified. The devs are working on getting asynchronous DNS resolving back (which is provided by c-ares).

peanut
peanut
Joined: 4 May 07
Posts: 162
Credit: 9644812
RAC: 0

svn co

svn co http://boinc.berkeley.edu/svn/trunk/boinc

I used the above command and trunk was in it. I got the command off the wiki page http://boinc.berkeley.edu/trac/wiki/SourceCode.

I am actually running Boinc Manager 6.1.8 that I just built. I just did it as a preface to compiling the screen saver posted in another thread in the Cruncher's Corner. I may have went overboard in compiling the Manager; it probably wasn't needed for compiling the screensaver. It went more smoothly that I would have anticipated.

PovAddict
PovAddict
Joined: 31 Mar 05
Posts: 45
Credit: 2508915
RAC: 0

RE: I used the above

Message 78385 in response to message 78384

Quote:
I used the above command and trunk was in it. I got the command off the wiki page http://boinc.berkeley.edu/trac/wiki/SourceCode.


There is information at the bottom of the page explaining SVN tags. But it's more oriented to making server admins use trunk instead of tags (since they usually downloaded the 'stable' tag back when BOINC used CVS, and ended up with ancient code), not to make client users use tags instead of trunk :) I have clarified it, and moved that section to the top. Any comments?

EDIT: oh, and to build a screensaver, you don't even need a core client. Use ./configure --disable-client --disable-server, that will compile only the libraries.

peanut
peanut
Joined: 4 May 07
Posts: 162
Credit: 9644812
RAC: 0

Your change is a good one.

Your change is a good one. Nubies like me don't always read every thing we should. I didn't realize I was getting an untested and possibly known to be broken version. !!! Almost a big oops there!

So far 6.1.8 is running ok. I may let it run for a day or two. I am going to have to reinstall the standard Manager because my test version changed all the permissions on the Einstein files to my account as the Owner instead of boinc_manager. I'll have to watch and see if that causes problems when a task finishes and new ones are downloaded.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.