The script don't give too many options for compiling individual parts, namely, 
it wants you to first do:

source setupForBoinc.sh -clean

which compiles the 4 dependencies (and will break part way through if one 
doesn't work)

then you only have the options for:


The options for BuildMacBOINC.sh are:
        -dev            build the development (debug) version (native 
architecture only). 
                        default is deployment (release) version (universal 
binaries: ppc, i386 and x86_64).

        -noclean        don't do a "clean" of each target before building.
                        default is to clean all first.

        -no64bit        build 32-bit binaries only, no x86_64 architecture.

  The following arguments determine which targets to build
        -all            build all targets (i.e. target "Build_All" -- this is 
the default)

        -lib            build the three libraries: libboinc_api.a, 
libboinc_graphics_api.a, libboinc.a

        -client         build two targets: boinc client and command-line 
utility boinc_cmd
                        (also builds libboinc.a, since boinc_cmd requires it.)

So no way to specifically compile crypt_prog -- unless I'm missing something 
here.  Using make in the lib directory gives the error i specified before:

>>> ./crypt_prog
>>> dyld: Symbol not found: ___CFConstantStringClassReference
>>>  Referenced from: /Users/deselt/Software/boinc/lib/.libs/libboinc.6.dylib
>>>  Expected in: flat namespace
>>> in /Users/deselt/Software/boinc/lib/.libs/libboinc.6.dylib
>>> Trace/BPT trap
>> 


--Travis

On Apr 2, 2010, at 2:27 PM, David Anderson wrote:

> BuildMacBoinc.sh is for building the API and client, not for crypt_prog.
> libjpeg isn't needed from crypt_prog.
> -- David
> 
> Nicolás Alvarez wrote:
>> On 4/2/10, Travis Desell <[email protected]> wrote:
>>> Is there any way to build the crypt_prog program on snow leopard?
>>> 
>>> I'm getting the following error (after using make in the libs directory):
>>> 
>>> ./crypt_prog
>>> dyld: Symbol not found: ___CFConstantStringClassReference
>>>  Referenced from: /Users/deselt/Software/boinc/lib/.libs/libboinc.6.dylib
>>>  Expected in: flat namespace
>>> in /Users/deselt/Software/boinc/lib/.libs/libboinc.6.dylib
>>> Trace/BPT trap
>>> 
>>> Also, the BuildMacBoinc.sh script doesn't work because jpeg-6b isn't found
>>> at:
>>> ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
>>> 
>>> 
>>> After doing some looking online it doesn't seem the source is available
>>> anymore.
>>> 
>>> Is there any way to update the build scripts to use a newer version of jpeg,
>>> or any way to work around this?
>> You can find libjpeg here:
>> http://www.ijg.org/files/
>> But something is really flawed with that script if you can't build
>> crypt_prog without having libjpeg (which should only be necessary for
>> the BOINC Manager).
> 

----------------------------------------------------------------------------------------------------------
Travis Desell
<deselt @ cs.rpi.edu>
1-518-867-1054
Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ )
milky...@home ( http://milkyway.cs.rpi.edu/ )
Rensselaer Polytechnic Institute, 110 8th Street, Troy NY 12180, USA
----------------------------------------------------------------------------------------------------------



_______________________________________________
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