[sldev] Missing cares, apr in Mac build

Soft soft at lindenlab.com
Fri Jul 18 07:54:36 PDT 2008


On Thu, Jul 17, 2008 at 7:45 PM, Aimee Walton <aimee at ama-zing.co.uk> wrote:
> On Jul 17, 2008, at 19:19, Soft wrote:
>>
>> This is strange. I've tried with VS2005 and XCode and I'm not having
>> any problem with either.
>>
>> Aimee, Suzhanna - Would you please walk through the steps you're using
>> to unpack and build? It's possible there's a bogus step in our
>> instructions that wants fixing.
>
> OK, going back a step and starting over from scratch ...
>
> 1) svn co-ed the release branch.
>
> 2) Downloaded and extracted artwork and "libs" packages.
>
> 3) Copied in fmod bits.
>
> 4) Open Xcode (2.4, I'm still using 10.4),
> indra/build-darwin-i386/SecondLife.xcodeproj (not
> indra/newview/build-darwin-universal/SecondLife.xcodeproj as listed in the
> instructions).
>
> 5) Hit Build (Active target left as ALL_BUILD and config RelWithDebInfo).
>
> Result ...
>
> Building target "liblscript_compile.a" of project "SecondLife" with
> configuration "RelWithDebInfo" — (2 warnings)
> Checking Dependencies
>        warning: no rule to process file
> '....../indra/build-darwin-i386/lscript/lscript_compile/indra.l.cpp.rule' of
> type file for architecture i386
>        warning: no rule to process file
> '....../indra/build-darwin-i386/lscript/lscript_compile/indra.y.cpp.rule' of
> type file for architecture i386
>
> Building target "mac-crash-logger" of project "SecondLife" with
> configuration "RelWithDebInfo" — (1 error)
>        mkdir ....../indra/build-darwin-i386/mac_crash_logger/RelWithDebInfo
>        cd ....../indra/build-darwin-i386
>        /usr/bin/g++-4.0 -o
> ....../indra/build-darwin-i386/mac_crash_logger/RelWithDebInfo/mac-crash-logger
> -L....../indra/build-darwin-i386/mac_crash_logger/RelWithDebInfo
> -L....../indra/build-darwin-i386/llcrashlogger/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llcrashlogger/RelWithDebInfo
> -L....../indra/build-darwin-i386/llvfs/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llvfs/RelWithDebInfo
> -L....../indra/../libraries/universal-darwin/lib_release/RelWithDebInfo
> -L....../indra/../libraries/universal-darwin/lib_release
> -L....../indra/build-darwin-i386/llxml/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llxml/RelWithDebInfo
> -L....../indra/build-darwin-i386/llmessage/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llmessage/RelWithDebInfo
> -L....../indra/build-darwin-i386/llmath/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llmath/RelWithDebInfo
> -L....../indra/build-darwin-i386/llcommon/RelWithDebInfo/RelWithDebInfo
> -L....../indra/build-darwin-i386/llcommon/RelWithDebInfo
> -F....../indra/build-darwin-i386/mac_crash_logger/RelWithDebInfo -filelist
> ....../indra/build-darwin-i386/mac_crash_logger/SecondLife.build/RelWithDebInfo/mac-crash-logger.build/Objects-normal/i386/mac-crash-logger.LinkFileList
> -arch i386 -Wl,-Y,1455 -L/opt/local/lib -L/usr/X11R6/lib
> -Wl,-headerpad_max_install_names,-search_paths_first
> ....../indra/build-darwin-i386/llcrashlogger/RelWithDebInfo/libllcrashlogger.a
> ....../indra/build-darwin-i386/llvfs/RelWithDebInfo/libllvfs.a -framework
> Carbon -lexpat -lcurl
> ....../indra/../libraries/universal-darwin/lib_release/cares -lssl
> -lllcrypto -lxmlrpc-epi
> ....../indra/../libraries/universal-darwin/lib_release/aprutil-1
> ....../indra/../libraries/universal-darwin/lib_release/apr-1 -framework
> Carbon -lexpat -lcurl
> ....../indra/../libraries/universal-darwin/lib_release/cares -lssl
> -lllcrypto -lxmlrpc-epi
> ....../indra/../libraries/universal-darwin/lib_release/aprutil-1
> ....../indra/../libraries/universal-darwin/lib_release/apr-1
> ....../indra/build-darwin-i386/llxml/RelWithDebInfo/libllxml.a
> ....../indra/build-darwin-i386/llmessage/RelWithDebInfo/libllmessage.a
> ....../indra/build-darwin-i386/llmath/RelWithDebInfo/libllmath.a
> ....../indra/build-darwin-i386/llcommon/RelWithDebInfo/libllcommon.a -lz
> -lboost_signals-mt -lexpat
> ....../indra/build-darwin-i386/llmessage/RelWithDebInfo/libllmessage.a
> -lcurl ....../indra/../libraries/universal-darwin/lib_release/cares -lssl
> -lllcrypto -lxmlrpc-epi
> ....../indra/build-darwin-i386/llvfs/RelWithDebInfo/libllvfs.a -framework
> Carbon ....../indra/build-darwin-i386/llmath/RelWithDebInfo/libllmath.a
> ....../indra/build-darwin-i386/llcommon/RelWithDebInfo/libllcommon.a
> ....../indra/../libraries/universal-darwin/lib_release/aprutil-1
> ....../indra/../libraries/universal-darwin/lib_release/apr-1 -lexpat -lz
> -lboost_signals-mt
>
> i686-apple-darwin8-g++-4.0.1:
> ....../indra/../libraries/universal-darwin/lib_release/cares: No such file
> or directory
> i686-apple-darwin8-g++-4.0.1:
> ....../indra/../libraries/universal-darwin/lib_release/aprutil-1: No such
> file or directory
> i686-apple-darwin8-g++-4.0.1:
> ....../indra/../libraries/universal-darwin/lib_release/apr-1: No such file
> or directory
>
> Build failed (1 error, 2 warnings)

Yours is a different error. You can safely ignore the two .rule warnings.


Between steps 3 and 4, did you run "develop.py configure" ? If you
would do that and capture the output, it should help us determine why
you're missing cares, aprutil-1, and apr-1


More information about the SLDev mailing list