Re: development setup and libdir

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: development setup and libdir
Дата
Msg-id 4B650A9D.2040400@timbira.com
обсуждение исходный текст
Ответ на Re: development setup and libdir  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Ответы Re: development setup and libdir  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-hackers
Ivan Sergio Borgonovo escreveu:
> I'm pretty sure that what you're pointing at is not going to work
> unless you specify a bunch of other parameters.
> 
Ugh? Are you saying there is something wrong in our *official* documentation?
It is just a normal compilation command; if you're a C programmer you'll have
no problem.

> Once you ask... people direct you to pgxs. pgxs seems a good
> choice... a newcomer like me thinks... well that was made exactly to
> pick up all the information it needs from the environment and build
> my module.
> 
Again, PGXS was developed to make packagers' life easier. Why on earth I want
to install my library in a path different from $libdir? Packagers don't.
Besides, PGXS won't work on Windows unless you're using a installation built
using MinGW.

> connection, but still different version of pgxs gives different
> names to .so.
> 
What the problem with that? If it set up the right name in sql file that's OK.

IMHO, you're trying to complicate a simple process. If you messed up your
installation you can always do:

$ cd mymodule
$ USE_PGXS=1 make uninstall


--  Euler Taveira de Oliveira http://www.timbira.com/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Using the new libpq connection functions in PostgreSQL binaries
Следующее
От: Matteo Beccati
Дата:
Сообщение: Re: mailing list archiver chewing patches