Giter Club home page Giter Club logo

Comments (3)

neoxic avatar neoxic commented on May 25, 2024

You need an installed mongo-c-driver package in your system in order to build lua-mongo. It appears your libbson (which is just one of two parts of Mongo C Driver) is not installed into the default prefix. Try to find its header with:

find / -name 'bson.h'

and go from there.

from lua-mongo.

tomanupong avatar tomanupong commented on May 25, 2024

i try command line.
find / -name 'bson.h'
answer:

/home/tom/Downloads/libbson-1.9.3/src/bson/bson.h
/home/tom/Downloads/mongo-c-driver-1.9.3/src/libbson/src/bson/bson.h
/usr/local/include/libbson-1.0/bson.h
/usr/include/libbson-1.0/bson/bson.h
/usr/include/libbson-1.0/bson.h
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied

thank you . I try from Sergeydi.

$ git clone https://github.com/mongodb/mongo-c-driver.git
$ cd mongo-c-driver
$ python build/calc_release_version.py > VERSION_CURRENT
$ mkdir cmake-build
$ cd cmake-build
$ cmake -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF ..
$ make
$ sudo make install

It's works thank you verymuch guy.

from lua-mongo.

GitHubProgarm avatar GitHubProgarm commented on May 25, 2024

I have problem with luarocks install lua-mongo.

I install luarocks install lua-mongo. Have problem. help me please. thank you.
I've already installed bson lib.
Installing https://luarocks.org/lua-mongo-1.2.1-1.src.rock

Error: Could not find header file for LIBBSON
No file libbson-1.0/bson/bson.h in /usr/local/include
No file libbson-1.0/bson/bson.h in /usr/include
You may have to install LIBBSON in your system and/or pass LIBBSON_DIR or LIBBSON_INCDIR to the luarocks command.
Example: luarocks install lua-mongo LIBBSON_DIR=/usr/local

you can build mongo.so with luarocks???

from lua-mongo.

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.