leei / node-dbstore Goto Github PK
View Code? Open in Web Editor NEWA simple interface to Berkeley DB 6.x
A simple interface to Berkeley DB 6.x
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);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.