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

odbc installation failed in mac osx #92

Open
delwar2016 opened this issue Nov 24, 2021 · 0 comments
Open

odbc installation failed in mac osx #92

delwar2016 opened this issue Nov 24, 2021 · 0 comments

Comments

@delwar2016
Copy link

delwar2016 commented Nov 24, 2021

node version: v14.15.0
npm vesion: 6.14.15

npm i odbc

[email protected] install /Users/md.delwarhossain/Dropbox/My Mac (Md.’s MacBook Pro)/Documents/personal-project/nodeodbc/node_modules/odbc
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! install response status 404 Not Found on https://github.com/markdirish/node-odbc/releases/download/v2.4.1/odbc-v2.4.1-darwin-x64-napi-v6.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/markdirish/node-odbc/releases/download/v2.4.1/odbc-v2.4.1-darwin-x64-napi-v6.tar.gz
CXX(target) Release/obj.target/odbc/src/odbc.o
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: c++ '-DNODE_GYP_MODULE_NAME=odbc' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_EXPERIMENTAL' '-DNAPI_VERSION=6' '-DNAPI_DISABLE_CPP_EXCEPTIONS' '-DBUILDING_NODE_EXTENSION' -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/include/node -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/src -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/deps/openssl/config -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/deps/openssl/openssl/include -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/deps/uv/include -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/deps/zlib -I/Users/md.delwarhossain/Library/Caches/node-gyp/14.15.0/deps/v8/include -I/Users/md.delwarhossain/Dropbox/My Mac (Md.’s MacBook Pro)/Documents/personal-project/nodeodbc/node_modules/node-addon-api -I/usr/local/include -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/odbc/src/odbc.o.d.raw -c -o Release/obj.target/odbc/src/odbc.o ../src/odbc.cpp'
make: *** [Release/obj.target/odbc/src/odbc.o] Error 2
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/md.delwarhossain/.nvm/versions/node/v14.15.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 21.1.0
gyp ERR! command "/Users/md.delwarhossain/.nvm/versions/node/v14.15.0/bin/node" "/Users/md.delwarhossain/.nvm/versions/node/v14.15.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/md.delwarhossain/Dropbox/My Mac (Md.’s MacBook Pro)/Documents/personal-project/nodeodbc/node_modules/odbc/lib/bindings/napi-v6/odbc.node" "--module_name=odbc" "--module_path=/Users/md.delwarhossain/Dropbox/My Mac (Md.’s MacBook Pro)/Documents/personal-project/nodeodbc/node_modules/odbc/lib/bindings/napi-v6" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd /Users/md.delwarhossain/Dropbox/My Mac (Md.’s MacBook Pro)/Documents/personal-project/nodeodbc/node_modules/odbc
gyp ERR! node -v v14.15.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

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

1 participant