Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install jdbc #1509

Closed
partha6369 opened this issue Sep 21, 2018 · 4 comments
Closed

Unable to install jdbc #1509

partha6369 opened this issue Sep 21, 2018 · 4 comments

Comments

@partha6369
Copy link

  • node@10.10.0:
  • OS: Mac OS High Sierra:
  • Scope (install):
  • jdbc:

Dear Sir/Madam,

I am trying to install JDBC for node.js application I am developing. However, I get an error and jdbc is not available under node-modules. Please help. The error is shown below. I am using a MAc machine with High Sierra version 10.13.6 (17G65). The Java version is Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode). The Python version is Python 3.6.4 :: Anaconda, Inc..

Regards,

Partha

japples-imac:pConfMan parthamajumdar$ npm i --save jdbc

> java@0.9.1 install /Users/parthamajumdar/Documents/Solutions/Paikari/pConfMan/node_modules/java
> node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: Command failed: /Users/parthamajumdar/anaconda3/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:289:12)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:962:16)
gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:381:11)
gyp ERR! stack     at Socket.emit (events.js:182:13)
gyp ERR! stack     at Pipe._handle.close (net.js:606:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/parthamajumdar/Documents/Solutions/Paikari/pConfMan/node_modules/java
gyp ERR! node -v v10.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! java@0.9.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java@0.9.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/parthamajumdar/.npm/_logs/2018-09-20T13_54_15_572Z-debug.log

@richardlau
Copy link
Member

The Python version is Python 3.6.4 :: Anaconda, Inc..

Python 2.x is required (3.x is not supported): https://github.com/nodejs/node-gyp#on-macos

I think node-gyp used to print a (slightly) better error message in this case, but was regressed in 3.8.0: nodejs/node-gyp#1534.

@partha6369
Copy link
Author

Dear Sir,

I installed Python 2.7. However, now I get another error. Please help.

apples-imac:pConfMan parthamajumdar$ npm install --save jdbc

> java@0.9.1 install /Users/parthamajumdar/Documents/Solutions/Paikari/pConfMan/node_modules/java
> node-gyp rebuild

  CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o
In file included from ../src/java.cpp:1:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/java.cpp:1:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:167:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/java.cpp:1:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:160:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/java.cpp:1:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:1648:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
../src/java.cpp:139:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value utf8(suffix);
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:147:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value utf8(suffix);
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:155:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value utf8(suffix);
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:207:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arrayItemStr(arrayItem);
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:213:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value nativeBindingLocationStr(v8NativeBindingLocation);
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:236:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arrayItemStr(arrayItem);
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:290:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value nameStr(property);
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:313:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value nameStr(property);
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:360:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:381:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:403:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:389:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:445:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(interfaceName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:397:1: note: expanded from here
_interfaceName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:556:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:408:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:557:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(methodName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:416:1: note: expanded from here
_methodName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:600:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:424:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:601:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(methodName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:432:1: note: expanded from here
_methodName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:647:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(methodName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:440:1: note: expanded from here
_methodName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:687:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(methodName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:448:1: note: expanded from here
_methodName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:724:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:456:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:753:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:464:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:881:31: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
        v8::String::Utf8Value valStr(item);
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1003:39: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    std::string strVal = std::string(*v8::String::Utf8Value(val));
                                      ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1081:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:18:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1082:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(fieldName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:26:1: note: expanded from here
_fieldName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1128:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_CLASSNAME();
  ^
../src/utils.h:124:32: note: expanded from macro 'ARGS_FRONT_CLASSNAME'
#define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className)
                               ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:34:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1129:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(fieldName);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:42:1: note: expanded from here
_fieldName_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1189:3: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  ARGS_FRONT_STRING(className);
  ^
../src/utils.h:120:25: note: expanded from macro 'ARGS_FRONT_STRING'
  v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj);                                  \
                        ^
<scratch space>:50:1: note: expanded from here
_className_val
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/java.cpp:1283:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value message(tryCatch.Message()->Get());
                          ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
31 warnings generated.
  CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaObject.o
In file included from ../src/javaObject.cpp:1:
In file included from ../src/javaObject.h:10:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/javaObject.cpp:1:
In file included from ../src/javaObject.h:10:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:167:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/javaObject.cpp:1:
In file included from ../src/javaObject.h:10:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:160:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/javaObject.cpp:1:
In file included from ../src/javaObject.h:10:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:1648:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
../src/javaObject.cpp:143:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value methodName(info.Data());
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/javaObject.cpp:179:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value methodName(info.Data());
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/javaObject.cpp:230:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value propertyCStr(property);
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/javaObject.cpp:281:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
  v8::String::Utf8Value propertyCStr(property);
                        ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2887:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
8 warnings generated.
  CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaScope.o
  CXX(target) Release/obj.target/nodejavabridge_bindings/src/methodCallBaton.o
In file included from ../src/methodCallBaton.cpp:2:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/methodCallBaton.cpp:2:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:167:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/methodCallBaton.cpp:2:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:160:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/methodCallBaton.cpp:2:
In file included from ../src/methodCallBaton.h:5:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:1648:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
4 warnings generated.
  CXX(target) Release/obj.target/nodejavabridge_bindings/src/nodeJavaBridge.o
In file included from ../src/nodeJavaBridge.cpp:2:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/nodeJavaBridge.cpp:2:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:167:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/nodeJavaBridge.cpp:2:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:160:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/nodeJavaBridge.cpp:2:
In file included from ../src/java.h:9:
../node_modules/nan/nan.h:1648:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
4 warnings generated.
  CXX(target) Release/obj.target/nodejavabridge_bindings/src/utils.o
In file included from ../src/utils.cpp:1:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/utils.cpp:1:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:167:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/utils.cpp:1:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:160:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../src/utils.cpp:1:
In file included from ../src/utils.h:12:
../node_modules/nan/nan.h:1648:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context)
      [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:174:1: note: 'MakeCallback' has been explicitly marked deprecated
      here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
../src/utils.cpp:342:23: warning: 'Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Value val(arg->ToString());
                      ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8.h:2912:5: note: 'Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
    ^
/Users/parthamajumdar/.node-gyp/10.10.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
5 warnings generated.
  SOLINK_MODULE(target) Release/nodejavabridge_bindings.node
ld: warning: directory not found for option '-L/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/jre/lib/server'
ld: library not found for -ljvm
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/nodejavabridge_bindings.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/parthamajumdar/Documents/Solutions/Paikari/pConfMan/node_modules/java
gyp ERR! node -v v10.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! java@0.9.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java@0.9.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/parthamajumdar/.npm/_logs/2018-09-21T01_38_03_681Z-debug.log
apples-imac:pConfMan parthamajumdar$

@richardlau
Copy link
Member

According to https://www.npmjs.com/package/jdbc Java 9 isn't supported.

@partha6369
Copy link
Author

Thanks Mr. Richard. I installed Java8 and now jdbc is installed. Thanks for your kind help.

Regards,
Partha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants