[BUGS] BUG #6045: Compilation of contribs fail

2011-05-29 Thread Emanuel
The following bug has been logged online: Bug reference: 6045 Logged by: Emanuel Email address: postgres@gmail.com PostgreSQL version: 9.1beta Operating system: Ubuntu 10.04 2.6.31 Description:Compilation of contribs fail Details: make and make installs work

Re: [BUGS] BUG #6045: Compilation of contribs fail

2011-05-29 Thread hubert depesz lubaczewski
On Sun, May 29, 2011 at 11:16:30AM +, Emanuel wrote: make and make installs work well. To compile correctly I must hardcode the libdir. I happens with several contribs. did you actually do make and make install *in* contrib directory? one shouldn't load sql files from the sources, and it

Re: [BUGS] BUG #6045: Compilation of contribs fail

2011-05-29 Thread Emanuel Calvo
2011/5/29 hubert depesz lubaczewski dep...@depesz.com: On Sun, May 29, 2011 at 11:16:30AM +, Emanuel wrote: make and make installs work well. To compile correctly I must hardcode the libdir. I happens with several contribs. did you actually do make and make install *in* contrib directory?

Re: [BUGS] BUG #6045: Compilation of contribs fail

2011-05-29 Thread Tom Lane
Emanuel Calvo postgres@gmail.com writes: 2011/5/29 hubert depesz lubaczewski dep...@depesz.com: did you actually do make and make install *in* contrib directory? I'm doing like other versions: make; make install That's correct. and then: psql .sql That's not correct anymore.

Re: [BUGS] BUG #6045: Compilation of contribs fail

2011-05-29 Thread Emanuel Calvo
I'm doing like other versions: make; make install That's correct. and then: psql .sql That's not correct anymore.  Use CREATE EXTENSION. Thanks Tom, I thougth that the old way was already compatible. Regards, -- --               Emanuel Calvo               Helpame.com -- Sent