issue installing ibm_db (even upgraded xcode and command line tool)
See original GitHub issueHi, I’ve been trying to npm install ibm_db for a lot of attempts. The error I’m getting is:
Downloading of clidriver skipped - build is in progress...
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
{ Error: Command failed: node-gyp configure build --IS_DOWNLOADED=false --IBM_DB_HOME="$IBM_DB_HOME"
../src/odbc.cpp:210:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
data->cb->Call(1, info);
^
../../nan/nan.h:1673:3: note: 'Call' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value>
^
../../nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/odbc.cpp:222:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
data->cb->Call(2, info);
My node version is v11.13.0 (I tried 8.12.0 however no luck) My npm version is 6.7.0 My Mac OS version is 10.14.4 My gcc version is:
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
my node-gyp version is 3.8.0
NOTE: if I don’t set $IBM_DB_HOME and npm install download the clidriver, it still failed.
Need some help. Thanks a lot!!!
Issue Analytics
- State:
- Created 4 years ago
- Comments:12
Top Results From Across the Web
Unable to install xcode command line developer tools
When I click install I get the following error. Can't install the software because it is not currently available from the Software Update...
Read more >malloc error on Monetrey · Issue #789 · ibmdb/python ... - GitHub
Anyway after the update I ran the same commands above and l got the same errors, so I decided to uninstall XCode and...
Read more >How to fix borked Xcode Commandline Tools? - Ask Different
1. Try resetting xcode-select with sudo xcode-select --reset , then uninstalling the Xcode CLT with sudo rm -rf /Library/Developer/ ...
Read more >Visual Studio tells me to install Command Line Tools but it's ...
This is a known issue which is caused by a broken installation where xcode-select fails to detect some components. A fix for this...
Read more >Xcode is not currently available from the Software Update server
I just got the same error after I upgraded to 10.14 Mojave and had to reinstall command line tools (I don't use the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
it worked!!! @PriyankaManoharan04 Thank you so much!!!
@chiaki1770 You are getting this error because your system is picking up some other
time.h
file which does not have 11 members in it.So please check fortime.h
in some other folder and if it exists remove it.For example you can check if/usr/local/include/time.h
exists on your system, remove it if it exists.Thanks