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
problems with the installation of the module "pg" in centos #124
Comments
Have you installed the Debian/Ubuntu provides a tool to search for files in packages (apt-file). Maybe there is something similar in CentOS? |
thanks for replying booo I run:
with this, the system tells me to install packages to postgres
that may be missing thanks again for any help you can provide me |
Maybe this is helpful http://serverfault.com/questions/316703/how-to-install-libpq-dev-on-centos-5-5 The ubuntu package for pg_config is |
This puts me in the same situation from the beginning I checked that I have these packages installed on the system
I have restarted postgres in case, but still shows the same result
I searched the location of the file 'pg_config'
it's worth not to do now thanks for the help |
What if you try: PG_CONFIG=./usr/pgsql-9.1/bin/pg_config npm install pg |
thank you very much booo's just what I needed. exactly as follows in case someone more interested
I have only now the error
will investigate a bit to solve and share the solution greetings and thanks :) |
Maybe close the ticket if you think everything is fine now. Best Regards |
good day
I'm trying to deploy an application to node.js socket.io and postgres.
I managed to make a single development locally (OS windows 7).
Now I tried running the project in a vps with centos 6, but I have not had success in installing the module "pg"
basically the problem is to run in terminal:
[root@kfees node-v0.6.8]# npm install pg
out:
shows me 2 errors:
1.no no node path
2. can not find pg_config
in some forums I found that simply add
but this only works in Ubuntu and try to do the CentOS equivalent is:
I would be very grateful for the solutions or corrections.
regards
The text was updated successfully, but these errors were encountered: