joyent/node — Issue #1967: scons tries to build /usr/localv8.a on OS X 10.6.8
Author: jaylevitt
Created: 2011-10-29 18:09:02+00:00
State: open

I'm pretty puzzled; everyone in my office but me can build node easily, but I can't build either 0.4.12 or 0.5.10. It fails trying to run `ar rc /usr/localv8.a`, which is of course wrong; I assume it means to build `/usr/local/libv8.a` or something like that. My `$LIBPREFIX` is `/usr/local`, which seems right..

End of the build looks like this:

ar rc /usr/localv8.a obj/release/accessors.o obj/release/allocation.o obj/release/api.o obj/release/assembler.o obj/release/ast.o obj/release/atomicops_internals_x86_gcc.o obj/release/bignum-dtoa.o obj/release/bignum.o obj/release/bootstrapper.o obj/release/builtins.o obj/release/cached-powers.o obj/release/checks.o obj/release/circular-queue.o obj/release/code-stubs.o obj/release/codegen.o obj/release/compilation-cache.o obj/release/compiler.o obj/release/contexts.o obj/release/conversions.o obj/release/counters.o obj/release/cpu-profiler.o obj/release/data-flow.o obj/release/dateparser.o obj/release/debug-agent.o obj/release/debug.o obj/release/deoptimizer.o obj/release/disassembler.o obj/release/diy-fp.o obj/release/dtoa.o obj/release/elements.o obj/release/execution.o obj/release/extensions/externalize-string-extension.o obj/release/extensions/gc-extension.o obj/release/factory.o obj/release/fast-dtoa.o obj/release/fixed-dtoa.o obj/release/flags.o obj/release/frames.o obj/release/full-codegen.o obj/release/func-name-inferrer.o obj/release/gdb-jit.o obj/release/global-handles.o obj/release/handles.o obj/release/hashmap.o obj/release/heap-profiler.o obj/release/heap.o obj/release/hydrogen-instructions.o obj/release/hydrogen.o obj/release/ic.o obj/release/incremental-marking.o obj/release/inspector.o obj/release/interpreter-irregexp.o obj/release/isolate.o obj/release/jsregexp.o obj/release/lithium-allocator.o obj/release/lithium.o obj/release/liveedit.o obj/release/liveobjectlist.o obj/release/log-utils.o obj/release/log.o obj/release/mark-compact.o obj/release/messages.o obj/release/objects-printer.o obj/release/objects-visiting.o obj/release/objects.o obj/release/parser.o obj/release/platform-macos.o obj/release/platform-posix.o obj/release/preparse-data.o obj/release/preparser.o obj/release/profile-generator.o obj/release/property.o obj/release/regexp-macro-assembler-irregexp.o obj/release/regexp-macro-assembler.o obj/release/regexp-stack.o obj/release/rewriter.o obj/release/runtime-profiler.o obj/release/runtime.o obj/release/safepoint-table.o obj/release/scanner-character-streams.o obj/release/scanner.o obj/release/scopeinfo.o obj/release/scopes.o obj/release/serialize.o obj/release/snapshot-common.o obj/release/spaces.o obj/release/store-buffer.o obj/release/string-search.o obj/release/string-stream.o obj/release/strtod.o obj/release/stub-cache.o obj/release/token.o obj/release/type-info.o obj/release/unicode.o obj/release/utils.o obj/release/v8-counters.o obj/release/v8.o obj/release/v8conversions.o obj/release/v8threads.o obj/release/v8utils.o obj/release/variables.o obj/release/version.o obj/release/x64/assembler-x64.o obj/release/x64/builtins-x64.o obj/release/x64/code-stubs-x64.o obj/release/x64/codegen-x64.o obj/release/x64/cpu-x64.o obj/release/x64/debug-x64.o obj/release/x64/deoptimizer-x64.o obj/release/x64/disasm-x64.o obj/release/x64/frames-x64.o obj/release/x64/full-codegen-x64.o obj/release/x64/ic-x64.o obj/release/x64/lithium-codegen-x64.o obj/release/x64/lithium-gap-resolver-x64.o obj/release/x64/lithium-x64.o obj/release/x64/macro-assembler-x64.o obj/release/x64/regexp-macro-assembler-x64.o obj/release/x64/stub-cache-x64.o obj/release/zone.o obj/release/libraries.o obj/release/experimental-libraries.o obj/release/snapshot.o
ar: /usr/localv8.a: Permission denied
scons: *** [/usr/localv8.a] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/Users/jay/src/using/node-v0.5.10/out'
Build failed: -> task failed (err #2):
{task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1