Giter Club home page Giter Club logo

Comments (6)

wankdanker avatar wankdanker commented on July 20, 2024

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.

bbigras avatar bbigras commented on July 20, 2024

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.

wankdanker avatar wankdanker commented on July 20, 2024

Hmmm. Do you you make install node 0.6?

from node-odbc.

bbigras avatar bbigras commented on July 20, 2024

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.

wankdanker avatar wankdanker commented on July 20, 2024

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.

bbigras avatar bbigras commented on July 20, 2024

It's working again. Thanks!

from node-odbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.