Closed PawarPawan closed 5 years ago
Look like on your system the CSDK_HOME environment variable is not getting picked up Just as temporary workaround can you please update the information directly on binding.gyp
Thanks @msatyan, as you suggest I did the same, but still have same error. I am not good in C, but can you please suggest how I can set path for this ../src/odbc.h:27:21: fatal error: infxcli.h: No such file or directory
Hi Pawar,
Sorry for the delay in getting you back, middle of something that I could not give enough attention to ....
The infxcli.h is being picked up from your CSDK installation; please check you have the file at $(CSDK_HOME)/incl/cli. Since you have installed CSDK at /opt/client_sdk, then it will be
ls -l /opt/client_sdk/incl/cli/infxcli.h
If it doesn’t exist then there is something wrong with the CSDK installation, hope that is not the case.
Then try specifying the location by using C_INCLUDE_PATH (or CPLUS_INCLUDE_PATH)
Additional include directories can be added to the include path using the environment variable
While doing the preprocessing, C compilers also look for the header file from the location you have mention though environment.
C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ header files); Then set the following on your shell environment.
C_INCLUDE_PATH=/opt/client_sdk/incl/cli
or
CPLUS_INCLUDE_PATH=/opt/client_sdk/incl/cli
You may find more information about this from
Environment Variables Affecting GCC
If you need more help, please don’t hesitate to reach out to us, we want to make sure you got enough information for you to get your application up and running.
Regards, Satyan.
Seems like a common issue. Having the same here.
Hi team, I follow the instructions as mentioned at https://github.com/OpenInformix/IfxNode/blob/master/LocalBuildLinux.md
I have installed informix in my machine, and its working fine. 1) I have install all Prerequisite. 2) Also set CSDK_HOME ~/IfxNode$ echo $CSDK_HOME /opt/client_sdk 3) Output of
node-gyp configure -v
4) But when I run
node-gyp build -v
cmd I got this error