compiling psqlodbc on a non-server computer

Поиск
Список
Период
Сортировка
Искать

compiling psqlodbc on a non-server computer

От:
Emmanuel PRESTAT <prestat@biomserv.univ-lyon1.fr>
Дата:
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

Re: compiling psqlodbc on a non-server computer

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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/
FAQ