compiling psqlodbc on a non-server computer

compiling psqlodbc on a non-server computer

am 05.09.2006 18:33:24 von Emmanuel PRESTAT

Hi,
I try to compile psqlodbc on my computer (a mac intel platform, but
I don't think that it is the problem), so I put :

$ ./configure --with-iodbc

and I get :

...
checking for pg_config... no
configure: error: pg_config not found

I try to find it, and I found this file on the server which is not my
computer... ?? So did I miss something or it isn't possible to
compile it outside of the server (I wish I missed something) ?
I hope that someone could help me,
thanks a lot,

Emmanuel

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Re: compiling psqlodbc on a non-server computer

am 06.09.2006 20:31:32 von Peter Eisentraut

Emmanuel PRESTAT wrote:
> checking for pg_config... no
> configure: error: pg_config not found
>
> I try to find it, and I found this file on the server which is not my
> computer... ?? So did I miss something or it isn't possible to
> compile it outside of the server (I wish I missed something) ?

If you are using a packaged version of PostgreSQL, look for a package
like libpq-dev(el). If you are building from source, you pretty much
need a complete installation.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings