Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting stuck while insatlling the mongo_fdw on ubuntu20.04 server #164

Open
snadden opened this issue Aug 25, 2022 · 8 comments
Open

getting stuck while insatlling the mongo_fdw on ubuntu20.04 server #164

snadden opened this issue Aug 25, 2022 · 8 comments

Comments

@snadden
Copy link

snadden commented Aug 25, 2022

While executing this command
snadden@lflinux:/etc/postgresql/12/main$ PATH=/etc/postgresql/12/main:$PATH make
make: *** No targets specified and no makefile found. Stop.
Then I am unable to run the remaining commnads

@snadden snadden changed the title getting stuck while insatlling the mongo getting stuck while insatlling the mongo_fdw on ubuntu20.04 server Aug 25, 2022
@vaibhavdalvi93
Copy link

@snadden , Can you please provide us detailed steps you followed to install mongo_fdw on ubuntu.

@snadden
Copy link
Author

snadden commented Aug 26, 2022 via email

@vaibhavdalvi93
Copy link

Can you please tell us which step is failing out of all above listed?

@snadden
Copy link
Author

snadden commented Aug 26, 2022 via email

@vaibhavdalvi93
Copy link

Thanks for response.

I think, you haven't downloaded source code of mongo_fdw. Before performing any of the above steps, please download the mongo_fdw source code by using following command:

       git clone https://github.com/EnterpriseDB/mongo_fdw/   .

Then, go to mongo_fdw directory and perform all other steps.

@snadden
Copy link
Author

snadden commented Oct 11, 2022 via email

@vaibhavdalvi93
Copy link

Hi @snadden

Looks like after downloading the mongo_fdw source instantly you're trying to compile the mongo_fdw source code.
Please make sure that after downloading the mongo_fdw you're downloading and compiling the mongoc driver and jsonc code. You can use autogen.sh (--with-master option as mentioned in the README) script to automatically download and install mongoc-c-driver, json-c and libbson. Please make use of autogen.sh script which automatically download, compile and install required version of mongo-c-drive, libbson and json-c.

Then please perform remaining steps i.e. compiling and installing mongo_fdw only after successful execution of autogen.sh.

@rafaljot
Copy link

rafaljot commented Aug 7, 2023

I had the same error on Ubuntu 22.4. Installing libmongo-client-dev helped.

sudo apt-get install libmongo-client-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants