node-sqlserver-v8
node-sqlserver-v8 copied to clipboard
Compilation error while installing in Linux
I keep getting the following error while trying to install in RHEL:
CXX(target) Release/obj.target/sqlserverv8/src/ConnectionHandles.o
In file included from ../src/ConnectionHandles.h:22:0,
from ../src/ConnectionHandles.cpp:1:
../src/stdafx.h:38:24: fatal error: sqlspi.h: No such file or directory
#include <sqlspi.h>
^
compilation terminated.
make: *** [Release/obj.target/sqlserverv8/src/ConnectionHandles.o] Error 1
Please let me know if you need any more info.
looks like it cannot find the ODBC header files? is ODBC installed and which folder - it is possible you will have to add additional include folders in the binding.gyp file used to build the code - we do ship with binaries for various linux distros so this seems to be a platform for which we do not have compatible builds. If it cannot find a match it will try to build code locally and at that point it needs the ms obdc driver shared objects and dev include files.