question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

issue installing ibm_db (even upgraded xcode and command line tool)

See original GitHub issue

Hi, 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:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
chiaki1770commented, Apr 4, 2019

it worked!!! @PriyankaManoharan04 Thank you so much!!!

0reactions
PriyankaManoharan04commented, Apr 4, 2019

@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 for time.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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found