[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 wel

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 : > 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? > No, I'm

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

2011-05-29 Thread Tom Lane
Emanuel Calvo writes: > 2011/5/29 hubert depesz lubaczewski : >> 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. Use CREATE EXTENSION.

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               Helpam

Re: [BUGS] [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size

2011-05-29 Thread Tom Lane
Martin Pitt writes: > /* Compute size without padding */ > - charcmsgmem[ALIGN(sizeof(struct cmsghdr)) + > ALIGN(sizeof(Cred))]; /* for NetBSD */ > + charcmsgmem[ALIGN(sizeof(struct cmsghdr)) + sizeof(Cred)]; > /* for NetBSD */ Hm. That code's been like

Re: [BUGS] [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size

2011-05-29 Thread Tom Lane
I wrote: > Martin Pitt writes: >> /* Compute size without padding */ >> -charcmsgmem[ALIGN(sizeof(struct cmsghdr)) + >> ALIGN(sizeof(Cred))]; /* for NetBSD */ >> +charcmsgmem[ALIGN(sizeof(struct cmsghdr)) + sizeof(Cred)]; >> /* for NetBSD */ > Hm. That code's