[GRASSLIST:8107] Re:postgresql connection failes

Hi,
You can recompile GRASS with the new path to postgresql specified in the "./configure" step:

./configure \
... \
--with-postgres-includes=/new/path/to/postgres/include/ \
--with-postgres-libs=/new/path/to/postgres/lib/ \
...

Michele.

hello

after installation grass with posgresql support,
I reinstalled postgresql from source in different location.
Consequently, grass can not link to postgresql which I had
been able to connect to.
How can I ensure that grass can connect to postrgresql ?

regards

Ahmet Temiz

____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese!
Abbonati subito su http://www.libero.it

Michele wrote:

Hi,
You can recompile GRASS with the new path to postgresql specified in the "./configure" step:

../configure \
.... \
--with-postgres-includes=/new/path/to/postgres/include/ \
--with-postgres-libs=/new/path/to/postgres/lib/ \
....

Michele.

hello

after installation grass with posgresql support,
I reinstalled postgresql from source in different location.
Consequently, grass can not link to postgresql which I had
been able to connect to.
How can I ensure that grass can connect to postrgresql ?

regards

Ahmet Temiz

____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese! Abbonati subito su http://www.libero.it

thank you

but although I recompiled grass with new path of postgresql, it gives
error in using :

db.tables driver=pg database=bzk
(after db.connect driver=pg database=bzk)

DBMI-Postgres driver error:
Cannot connect to Postgres: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

What should be done else ?

regards

______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@deprem.gov.tr
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.