Re: development setup and libdir - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: development setup and libdir
Date
Msg-id 4B650A9D.2040400@timbira.com
Whole thread Raw
In response to Re: development setup and libdir  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: development setup and libdir
List 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 by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Using the new libpq connection functions in PostgreSQL binaries
Next
From: Matteo Beccati
Date:
Subject: Re: mailing list archiver chewing patches