Hello.
I had some problems with installing mongo_fdw in postgres:10.3 docker container. Bumping version of mongo-c-driver basically did the job (it was about missing variables in headers), but I would like to leave some things to discussion here:
What are the requirements for bumping version of mongo-c-driver in autogen.sh?
I can install correct versions of libbson and libmongoc manually, but I would still need to run autogen.sh to properly install mongo_fdw, at least to create config.h and install json-c. IMO user should have a possibility to pass option like --with-libmongoc=system (similar to --with-libbson=system when installing libmongoc) and avoid downloading mongo-c-driver.
Or maybe user should be able to specify what version of mongo-c-driver he want to install (via env, CLI,...)
Or maybe make -f Makefile.meta && make -f Makefile.meta install (from instruction) should be able to do this installation without running autogen.sh (now it's missing config.h for example)
Hello. I had some problems with installing mongo_fdw in
postgres:10.3
docker container. Bumping version of mongo-c-driver basically did the job (it was about missing variables in headers), but I would like to leave some things to discussion here:libbson
andlibmongoc
manually, but I would still need to runautogen.sh
to properly installmongo_fdw
, at least to createconfig.h
and installjson-c
. IMO user should have a possibility to pass option like--with-libmongoc=system
(similar to--with-libbson=system
when installing libmongoc) and avoid downloading mongo-c-driver.make -f Makefile.meta && make -f Makefile.meta install
(from instruction) should be able to do this installation without runningautogen.sh
(now it's missingconfig.h
for example)Thanks in advance for all comments