Hi
When i have tried to run the hallway i got this error when installing mysql-libclient
> mysql-libm...@1.3.3 install /home/enachou/opensource/NewLock/hallway/node_modules/mysql-libmysqlclient
> node-gyp rebuild
info it worked if it ends with ok
spawn python [ '/home/enachou/.node-gyp/0.6.15/tools/gyp_addon',
'binding.gyp',
'-I/home/enachou/opensource/NewLock/hallway/node_modules/mysql-libmysqlclient/build/config.gypi',
'-f',
'make' ]
/bin/sh: mysql_config: not found
Traceback (most recent call last):
File "/home/enachou/.node-gyp/0.6.15/tools/gyp_addon", line 38, in <module>
rc = gyp.main(gyp_args)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/__init__.py", line 471, in main
options.circular_check)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/__init__.py", line 111, in Load
depth, generator_input_info, check, circular_check)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 2289, in Load
depth, check)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 387, in LoadTargetBuildFile
build_file_path)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 1010, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 1025, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 984, in ProcessVariablesAndConditionsInDict
ProcessConditionsInDict(the_dict, is_late, variables, build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 861, in ProcessConditionsInDict
variables, build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 1010, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 1029, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, is_late, variables, build_file)
File "/home/enachou/.node-gyp/0.6.15/tools/gyp/pylib/gyp/input.py", line 696, in ExpandVariables
(contents, p.returncode))
Exception: Call to 'mysql_config --libs_r' returned exit status 127. while trying to load binding.gyp
ERR! Error: `gyp_addon` failed with exit code: 1
at Array.0 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:196:18)
at EventEmitter._tickCallback (node.js:192:40)
ERR! not ok
npm ERR! mysql-libm...@1.3.3 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the mysql-libm...@1.3.3 install script.
npm ERR! This is most likely a problem with the mysql-libmysqlclient package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls mysql-libmysqlclient
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-11-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install" "mysql-libmysqlclient"
npm ERR! cwd /home/enachou/opensource/NewLock/hallway
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! code ELIFECYCLE
npm ERR! message mysql-libm...@1.3.3 install: `node-gyp rebuild`
npm ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/enachou/opensource/NewLock/hallway/npm-debug.log
npm not ok
enachou@DL84WQ1:~/opensource/NewLock/hallway$ sudo npm install mysql-libmysqlclient
npm http GET
https://registry.npmjs.org/mysql-libmysqlclient/1.3.3^Z
[3]+ Stopped sudo npm install mysql-libmysqlclient
enachou@DL84WQ1:~/opensource/NewLock/hallway$ npm owner ls mysql-libmysqlclient
npm http GET
https://registry.npmjs.org/mysql-libmysqlclientnpm http 200
https://registry.npmjs.org/mysql-libmysqlclient
Sannis <
efim...@gmail.com>
enachou@DL84WQ1:~/opensource/NewLock/hallway$ node-gyp rebuild
node-gyp: command not found
Could you please suggest me what i am doing wrong .