Giter Club home page Giter Club logo

node-dbstore's People

Contributors

leei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-dbstore's Issues

Cannot build

Does this thing really work, or not?

I'm on Ubuntu 15.04 64-bit.

I run: npm install dbstore

I get these errors:

make[1]: Entering directory '/var/lib/lxc/obdev/rootfs/home/rcemer/obm/php/node_projects/node_modules/dbstore/build'
CXX(target) Release/obj.target/addon/src/addon.o
CXX(target) Release/obj.target/addon/src/dbstore.o
../src/dbstore.cc: In function ‘void dbt_set(DBT_, void_, u_int32_t, u_int32_t)’:
../src/dbstore.cc:67:30: error: ‘memset’ was not declared in this scope
memset(dbt, 0, sizeof(_dbt));
^
../src/dbstore.cc: In static member function ‘static v8::Handlev8::Value DbStore::Open(const v8::Arguments&)’:
../src/dbstore.cc:205:33: error: ‘strdup’ was not declared in this scope
baton->str_arg = strdup(fname);
^
../src/dbstore.cc: In function ‘void PutWork(uv_work_t
)’:
../src/dbstore.cc:266:58: error: ‘strlen’ was not declared in this scope
dbt_set(&key_dbt, baton->str_arg, strlen(baton->str_arg));
^
../src/dbstore.cc:267:8: warning: unused variable ‘data_dbt’ [-Wunused-variable]
DBT &data_dbt = baton->inbuf;
^
../src/dbstore.cc: In static member function ‘static v8::Handlev8::Value DbStore::Put(const v8::Arguments&)’:
../src/dbstore.cc:318:31: error: ‘strdup’ was not declared in this scope
baton->str_arg = strdup(key);
^
../src/dbstore.cc: In function ‘void GetWork(uv_work_t
)’:
../src/dbstore.cc:339:58: error: ‘strlen’ was not declared in this scope
dbt_set(&key_dbt, baton->str_arg, strlen(baton->str_arg));
^
../src/dbstore.cc: In static member function ‘static v8::Handlev8::Value DbStore::Get(const v8::Arguments&)’:
../src/dbstore.cc:396:31: error: ‘strdup’ was not declared in this scope
baton->str_arg = strdup(key);
^
../src/dbstore.cc: In function ‘void DelWork(uv_work_t
)’:
../src/dbstore.cc:411:58: error: ‘strlen’ was not declared in this scope
dbt_set(&key_dbt, baton->str_arg, strlen(baton->str_arg));
^
../src/dbstore.cc: In static member function ‘static v8::Handlev8::Value DbStore::Del(const v8::Arguments&)’:
../src/dbstore.cc:441:31: error: ‘strdup’ was not declared in this scope
baton->str_arg = strdup(_key);

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.