Export to GitHub

teajs - issue #13

scons -h fails when v8_path does not exist


Posted on Mar 25, 2013 by Happy Giraffe

exception: /usr/local/src/teajs# scons -h scons: Reading SConscript files ... scons: * Path for option v8_path does not exist: ../v8 File "/usr/local/src/teajs/SConstruct", line 372, in <module>

Comment #1

Posted on Mar 25, 2013 by Quick Bear

Issue is the relative path for v8 - vars.Add(PathVariable("v8_path", "Directory with V8", "../v8")). One can not manually specify it either because the line is executed regardless.

Changing it to a "" or something default like "/usr/include" resolved the issue for me:

vars.Add(("v8_path", "Directory with V8", '/usr/include'))

Comment #2

Posted on Mar 26, 2013 by Happy Giraffe

To rectify: the problem is non-existant path (which might be the case for ../v8). Scons performs the check and bails out, even if the user only wishes to see help (via the -h option).

O.

Comment #3

Posted on Mar 27, 2013 by Happy Giraffe

Fixed in http://code.google.com/p/teajs/source/detail?r=c09df3a19f165cc28bdb764149609b566aa09d84

Comment #4

Posted on Mar 27, 2013 by Happy Giraffe

Not fixed - only when the path exists but does not contain V8. Re-opening.

Status: Started

Labels:
Type-Defect Priority-Medium