Thread: Compiling psqlODBC on Unix without postgres installation

Compiling psqlODBC on Unix without postgres installation

From
marcopb@interfree.it
Date:
<span>I need to compile psqlODBC package from a machine where Postgresql's not installed.</span><br /><span>I'm
followingthis informations:</span><br /><span>http://psqlodbc.projects.postgresql.org/unix-compilation.html</span><br
/><span>butwhen I execute ./configure</span><br /><span>I obtain this error:</span><br /><span>configure: error:
pg_confignot found (set PG_CONFIG environment variable)</span><br /><span> </span><br /><span>Is there a way to compile
andnot install Postgresql ?</span><br /><span> </span><br /><span>Thanks.</span><br /><br
/>----------------------------------------------------------------------------<br/>Vuoi essere presente online? <br
/>Vuoidare voce alla tua attivita`? <br />Acquista un dominio su domini.interfree.it.<br />A partire da 18,59 euro<br
/>----------------------------------------------------------------------------<br/> 

Re: Compiling psqlODBC on Unix without postgres installation

From
"Hiroshi Saito"
Date:
Hi.

libpq needs the present psqlODBC fundamentally. However, although it is not support,
the past inheritance logic can be used. The following options can fulfill your hope from
the situation after Makefile was already made by configure. But, I have to change the
option of configure...:-(

-DNOT_USE_LIBPQ

I support indispensable Make by the reason for avoiding confusion.
Probably, It is Many users' hope is supported.

Regards,
Hiroshi Saito

----- Original Message -----
From: <marcopb@interfree.it>


>I need to compile psqlODBC package from a machine where Postgresql's not installed.
> I'm following this informations:
> http://psqlodbc.projects.postgresql.org/unix-compilation.html
> but when I execute ./configure
> I obtain this error:
> configure: error: pg_config not found (set PG_CONFIG environment variable)
>
> Is there a way to compile and not install Postgresql ?
>
> Thanks.