Comments (6)
Hey brunoqc, I have a branch that has this fixed: https://github.com/wankdanker/node-odbc/tree/node-v0.5.x-bind-params, if you clone from there, you shouldn't have any problems. I will be merging this soon.
from node-odbc.
I tried without success.
Did I miss anything?
bbigras@ubuntu-machinage:~/test-odbc$ git clone https://github.com/wankdanker/node-odbc.git
Initialized empty Git repository in /home/bbigras/test-odbc/node-odbc/.git/
[...]
Resolving deltas: 100% (105/105), done.
bbigras@ubuntu-machinage:~/test-odbc$ cd node-odbc/
bbigras@ubuntu-machinage:~/test-odbc/node-odbc$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/node-v0.5.x
remotes/origin/node-v0.5.x-bind-params
bbigras@ubuntu-machinage:~/test-odbc/node-odbc$ git checkout remotes/origin/node-v0.5.x-bind-params
Note: checking out 'remotes/origin/node-v0.5.x-bind-params'.
[...]
HEAD is now at 4f47f0a... Merge branch 'master' of git://github.com/w1nk/node-odbc into node-v0.5.x-bind-params
bbigras@ubuntu-machinage:~/test-odbc/node-odbc$ ./build.sh
Setting srcdir to : /home/bbigras/test-odbc/node-odbc
Setting blddir to : /home/bbigras/test-odbc/node-odbc/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr
Checking for library odbc : yes
'configure' finished successfully (0.596s)
Waf: Entering directory `/home/bbigras/test-odbc/node-odbc/build'
[1/2] cxx: src/Database.cpp -> build/Release/src/Database_1.o
../src/Database.cpp:20:25: error: node_events.h: No such file or directory
Waf: Leaving directory `/home/bbigras/test-odbc/node-odbc/build'
Build failed: -> task failed (err #1):
{task: cxx Database.cpp -> Database_1.o}
bbigras@ubuntu-machinage:~/test-odbc/node-odbc$
from node-odbc.
Hmmm. Do you you make install
node 0.6?
from node-odbc.
I use a precompiled node.js binary from an Ubuntu ppa.
Did you see the commit nodejs/node-v0.x-archive@4ef8f06 which removed node_events.h ?
from node-odbc.
I hadn't seen that. Thank you for pointing that out. I always compile my own and I must have had an old node_events.h still lingering. Anyway, I removed references to node_events.h and everything still works. I have pushed all my changes to my master branch, so if you clone from there and give it a try, I'm thinking you'll have better luck.
from node-odbc.
It's working again. Thanks!
from node-odbc.
Related Issues (20)
- Error '[node-odbc] Error in ODBCResult::MoreResultsSync', HOT 1
- support for SQL_SUCCESS_WITH_INFO return HOT 1
- endless loop HOT 1
- node-odbc incompatible with Electron? HOT 3
- Error while installing package [Failed at the [email protected] install script 'node-gyp configure build'.]
- npm install error OSX HOT 2
- code fails with latest version of node-odbc as well as ibm_db
- node-odbc SSL encryption support? HOT 1
- Unsupported platform for [email protected] HOT 1
- Support more ODBC Features
- Statically linked Library
- npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node-gyp configure build /usr/src/pal/node_modules/odbc HOT 3
- Row count when doing UPDATE, INSERT, or DELETE via querySync()
- iso-8859-15 dont show character
- Build error when the UNICODE define is removed from binding.gyp HOT 2
- Windows odbc.open crashes on 2nd invocation with Microsoft Access Driver
- Only returning first character on macOS. HOT 2
- How to prevent conversion of datetime string to JS Date object? HOT 2
- How does odbc handle sql injection HOT 2
- odbc.Database is not a constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-odbc.