[opensource-dev] Building viewer-release on OS X.

Ash Qin ash at exodusviewer.com
Fri Oct 4 06:19:00 PDT 2013


Hi there,

I am no novice to building the viewer on various platforms, but
currently I am building the viewer on OS X (first time setting this up
on OS X too) and have ran into a problem that I am having difficulty
working out what the cause is. I am currently using LLVM-GCC-4.2 from
xcode 4.6.2 on OS 10.8.5.

Google hasn't been helpful in this regard either. Hopefully someone
can give me some idea as to what the problem might be. I am currently
building the viewer-release using:

autobuild build -c ReleaseOS -- -DLL_TESTS:BOOL=NO
-DENABLE_SIGNING:BOOL=FALSE -DRELEASE_CRASH_REPORTING:BOOL=FALSE
-DNON_RELEASE_CRASH_REPORTING:BOOL=FALSE

This usually gives me a basic build to ensure I have the basics down
before I add anything like Kakadu or fmod to the mix. Unfortunately, I
seem to be getting this obscure cmake error when I build:

=== BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT SecondLife WITH
CONFIGURATION Release ===
Check dependencies

PhaseScriptExecution "CMake Rules"
/Users/ashweststar/Source/viewer-release/build-darwin-i386/SecondLife.build/Release/ZERO_CHECK.build/Script-09EB84842EB64FD49F26A2EE.sh
    cd /Users/ashweststar/Source/viewer-release/indra
    /bin/sh -c /Users/ashweststar/Source/viewer-release/build-darwin-i386/SecondLife.build/Release/ZERO_CHECK.build/Script-09EB84842EB64FD49F26A2EE.sh
echo ""

make -f /Users/ashweststar/Source/viewer-release/build-darwin-i386/CMakeScripts/ReRunCMake.make
make[1]: *** No rule to make target
`/Users/ashweststar/Source/viewer-release/build-darwin-i386/CMakeFiles/2.8.11.2/CMakeCCompiler.cmake',
needed by `/Users/ashweststar/Source/viewer-release/build-darwin-i386/CMakeFiles/cmake.check_cache'.
 Stop.
make: *** [/Users/ashweststar/Source/viewer-release/build-darwin-i386/CMakeFiles/ZERO_CHECK]
Error 2
Command /bin/sh failed with exit code 2


** BUILD FAILED **

A full copy of my build log is available at:

https://dl.dropboxusercontent.com/u/58565/log2.txt

I was hoping someone might have more insight as to why this is happening.

Thanks,
   Ash Qin


More information about the opensource-dev mailing list