Just to close the loop on this issue, I did some Googling and was able to determine that the problem was a result of gyp not playing nice when only the Xcode Command Line Tools are installed rather than the entire Xcode environment.
Here is the gyp issue in question: https://code.google.com/p/gyp/issues/detail?id=292 The following thread was what led me to figure out that this was the issue, and the solution described in the linked comment fixed the issue for me (applying the proposed patch attached to gyp issue 292 to the gyp code shipped with Rust) https://github.com/joyent/node/issues/3681#issuecomment-23140289 Thanks to the folks that emailed me with some debugging suggestions, sorry that I wasn't able to respond back earlier :) Best, Eric On Fri, Oct 4, 2013 at 6:49 AM, Eric Sampson <[email protected]> wrote: > Hi all, I'm trying to get up and running with rust on OSX 10.8, and am > running into the following error: > > $VERBOSE=1 make > cfg: build triple x86_64-apple-darwin > cfg: host triples x86_64-apple-darwin > cfg: target triples x86_64-apple-darwin > cfg: enabling more debugging (CFG_ENABLE_DEBUG) > cfg: host for x86_64-apple-darwin is x86_64 > cfg: os for x86_64-apple-darwin is apple-darwin > cfg: using gcc > cfg: no pandoc found, omitting docs > cfg: no node found, omitting docs > cfg: no llnextgen found, omitting grammar-verification > cfg: no pandoc found, omitting library doc build > make -C x86_64-apple-darwin/rt/stage0/libuv CFLAGS=" -DRUST_DEBUG > -fno-omit-frame-pointer -DUSE_UTF8 -O2 -m64 -fPIC " LDFLAGS=" -m64 -fPIC" > CC="gcc" CXX="g++" AR="ar" builddir="." BUILDTYPE=Release NO_LOAD=" > run-benchmarks.target.mk run-tests.target.mk uv_dtrace_header.target.mk > uv_dtrace_provider.target.mk" V=1 > make[1]: Nothing to be done for `all'. > g++ -o x86_64-apple-darwin/rt/stage0/librustrt.dylib -dynamiclib -pthread > -framework CoreServices -Wl,-no_compact_unwind -m64 > -Wl,-exported_symbols_list,x86_64-apple-darwin/rt/rustrt.darwin.def > x86_64-apple-darwin/rt/stage0/sync/lock_and_signal.o > x86_64-apple-darwin/rt/stage0/sync/rust_thread.o > x86_64-apple-darwin/rt/stage0/rust_builtin.o > x86_64-apple-darwin/rt/stage0/rust_rng.o > x86_64-apple-darwin/rt/stage0/rust_upcall.o > x86_64-apple-darwin/rt/stage0/rust_uv.o > x86_64-apple-darwin/rt/stage0/miniz.o > x86_64-apple-darwin/rt/stage0/memory_region.o > x86_64-apple-darwin/rt/stage0/boxed_region.o > x86_64-apple-darwin/rt/stage0/arch/x86_64/context.o > x86_64-apple-darwin/rt/stage0/arch/x86_64/gpr.o > x86_64-apple-darwin/rt/stage0/rust_android_dummy.o > x86_64-apple-darwin/rt/stage0/rust_test_helpers.o > x86_64-apple-darwin/rt/stage0/linenoise/linenoise.o > x86_64-apple-darwin/rt/stage0/linenoise/utf8.o > x86_64-apple-darwin/rt/stage0/sundown/src/autolink.o > x86_64-apple-darwin/rt/stage0/sundown/src/buffer.o > x86_64-apple-darwin/rt/stage0/sundown/src/stack.o > x86_64-apple-darwin/rt/stage0/sundown/src/markdown.o > x86_64-apple-darwin/rt/stage0/sundown/html/houdini_href_e.o > x86_64-apple-darwin/rt/stage0/sundown/html/houdini_html_e.o > x86_64-apple-darwin/rt/stage0/sundown/html/html_smartypants.o > x86_64-apple-darwin/rt/stage0/sundown/html/html.o > x86_64-apple-darwin/rt/stage0/arch/x86_64/_context.o > x86_64-apple-darwin/rt/stage0/arch/x86_64/ccall.o > x86_64-apple-darwin/rt/stage0/arch/x86_64/record_sp.o > x86_64-apple-darwin/rt/stage0/jemalloc/lib/libjemalloc_pic.a > x86_64-apple-darwin/rt/stage0/libuv/libuv.a > -Wl,-install_name,@rpath/librustrt.dylib > i686-apple-darwin11-llvm-g++-4.2: > x86_64-apple-darwin/rt/stage0/libuv/libuv.a: No such file or directory > make: *** [x86_64-apple-darwin/rt/stage0/librustrt.dylib] Error 1 > > I tried doing a 'make clean', but that didn't help. > > Here's the compiler info I'm using: > $cc --version > Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn) > Target: x86_64-apple-darwin12.5.0 > Thread model: posix > > Thanks in advance for your help :) >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
