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

Error in installing while running (make dev) #44

Closed
Sahajj opened this issue Feb 28, 2023 · 4 comments
Closed

Error in installing while running (make dev) #44

Sahajj opened this issue Feb 28, 2023 · 4 comments

Comments

@Sahajj
Copy link
Contributor

Sahajj commented Feb 28, 2023

When deploying PurlDb in Ubuntu 22.04.2 LTS, make dev encountered an error.

The configuration with the error is shown here.

error: subprocess-exited-with-error

× Running setup.py install for psycopg2 did not run successfully.
│ exit code: 1

A text file with the error outputs is appended.

Error_in__make_dev.TXT

@35C4n0r
Copy link
Contributor

35C4n0r commented Feb 28, 2023

@JonoYang @pombredanne i was able to reproduce this on Ubuntu-22 and Ubuntu-20, we need to add sudo apt install libpq-dev to the installation docs and also update https://scancode-toolkit.readthedocs.io/en/stable/getting-started/install.html#prerequisites
as python-dev dosen't exists anymore.
@Sahajj for now run sudo apt install libpq-dev and then run make dev again.

@Sahajj
Copy link
Contributor Author

Sahajj commented Feb 28, 2023

Yep, it works with sudo apt install libq-dev, Can I update the documentation?

@JonoYang
Copy link
Member

@Sahajj Go ahead!

@Sahajj
Copy link
Contributor Author

Sahajj commented Mar 3, 2023

@JonoYang Done,can you review #45

@Sahajj Sahajj closed this as completed Mar 16, 2023
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