Hello Fabio and Travis,

I'm somewhat puzzled by your posts.

First, which version of BOINC are you trying to build?  In other 
words, which version did you check out from SVN?

The setupForBOINC.sh scripts accepts neither -dev nor -no64bit as 
valid arguments; the only valid argument is -clean.  The -dev and 
-no64bit arguments are for the BuildMacBOINC.sh script, but are 
mutually exclusive, since the 64-bit BOINC client was created only by 
the Deployment (release) build.

Furthermore, the -no64bit has been eliminated since BOINC version 
6.11.1, since we are no longer including a 64-bit BOINC client for 
compatibility with the NVIDIA GPU libraries.  (The 32-bit BOINC 
client now can run both 32-bit and 64-bit project applications.)

Please be sure to read the instructions for running each script, 
which are included as comments immediately following the license 
statement in each script.  These are up to date.  I apologize that I 
have not yet had time to update the build instructions in the 
"HowToBuildBOINC_XCode.rtf" file in the SVN trunk.

I have been not been able to reproduce the error you report.  I have 
run the setupForBoinc.sh script from the current SVN trunk, and it 
works perfectly for me under OS 10.6.4, even when I pass in the 
invalid arguments -dev and -no64bit.

The older setupForBoinc.sh script from version 6.10.58 or earlier 
won't build curl at all under OS 10.6.4 because those versions of 
buildcurl.sh required MacOSX10.3.9.sdk, which is unavailable under OS 
10.6.4 and incompatible with XCode 3.2.  So if you try to run it 
under OS 10.6.4 you will see the message:
     ERROR: System 10.3.9 SDK is missing.

I'm assuming you have set current directory to the mac_build 
directory which contains the script before running the script, as 
stated in both the script instructions and in the 
"HowToBuildBOINC_XCode.rtf" file:

    cd {path}/BOINC_dev/boinc/mac_build/
    source setupForBoinc.sh -clean

Please note: if you want to run the BOINC build scripts under OS 
10.6.4 using XCode 3.2 you must build from the SVN trunk.  The BOINC 
build scripts from any 6.10.x version of BOINC must be run under OS 
10.5.x.

Finally, I strongly recommend _not_ using the -no64bit argument with 
the BuildMacBOINC.sh script.  This invokes an obsolete XCode build 
configuration which has not been kept up to date for quite some time.

I hope this helps.

Cheers,
--Charlie

On Tue, 5 Oct 2010 12:14:10, Travis Desell wrote:
>I fixed this (I'm not sure if it's the best fix but things seem to 
>be working), by making adding --without-random to these lines in 
>boinc/mac_build/buildcurl.sh:
>
>buildcurl.sh:278:./configure --enable-shared=NO 
>--enable-ares=/tmp/installed-c-ares --host=ppc --without-random
>buildcurl.sh:302:./configure --enable-shared=NO 
>--enable-ares=/tmp/installed-c-ares --host=i386 --without-random
>buildcurl.sh:332:./configure --enable-shared=NO 
>--enable-ares=/tmp/installed-c-ares --host=x86_64 --without-random
>
>On Oct 5, 2010, at 6:11 AM, Fabio Campos wrote:
>
>>  Greetings,
>>
>>  while compiling BOINC on a Mac (OS X 10.6.4 (Intel Core Duo)) I 
>>run the build script:
>>
>  > source setupForBoinc.sh -dev -no64bit
>>
>>  It seems to work till the script (curl-7.19.7) looks for 
>>/dev/urandom then I get this error.
>>
>>  checking for "/dev/urandom"... configure: error: cannot check for 
>>file existence when cross compiling
>>
>>  What am I doing wrong?
>>
>>  Thx in advance.
>>
>  > Fabio Campos

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to