joyent/http-parser — Issue #68: Can't build using gyp
Author: kuebk
Created: 2011-10-21 08:53:59+00:00
State: open

root@node /mnt/workspace/node/deps/http_parser $ gyp -f make --depth=`pwd` http_parser.gyp
Traceback (most recent call last):
File "/usr/local/bin/gyp", line 18, in
sys.exit(gyp.main(sys.argv[1:]))
File "/usr/local/lib/python2.7/site-packages/gyp/__init__.py", line 465, in main
options.circular_check)
File "/usr/local/lib/python2.7/site-packages/gyp/__init__.py", line 101, in Load
depth, generator_input_info, check, circular_check)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 2265, in Load
depth, check)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 389, in LoadTargetBuildFile
build_file_path)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 1012, in ProcessVariablesAndConditionsInDict
build_file)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 1027, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 941, in ProcessVariablesAndConditionsInDict
expanded = ExpandVariables(value, is_late, variables, build_file)
File "/usr/local/lib/python2.7/site-packages/gyp/input.py", line 711, in ExpandVariables
' in ' + build_file
KeyError: 'Undefined variable library in http_parser.gyp while trying to load http_parser.gyp'