Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
On Mon, Jul 19, 2010 at 7:53 PM, Peter Eisentraut wrote: > On mån, 2010-07-19 at 13:32 +0100, Dave Page wrote: >> I'm working on setting up a new buildfarm member as we don't seem to >> have any active Solaris ones :-( >> >> cc -Xa -m64 -mt   -mt -D_REENTRANT -D_THREAD_SAFE >> -D_POSIX_PTHREAD_SEM

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Peter Eisentraut
On mån, 2010-07-19 at 13:32 +0100, Dave Page wrote: > I'm working on setting up a new buildfarm member as we don't seem to > have any active Solaris ones :-( > > cc -Xa -m64 -mt -mt -D_REENTRANT -D_THREAD_SAFE > -D_POSIX_PTHREAD_SEMANTICS -KPIC -DFRONTEND -DUNSAFE_STAT_OK -I. > -I../../../src/in

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
On Mon, Jul 19, 2010 at 4:00 PM, Peter Eisentraut wrote: > On mån, 2010-07-19 at 13:32 +0100, Dave Page wrote: >> I'm working on setting up a new buildfarm member as we don't seem to >> have any active Solaris ones :-( >> >> cc -Xa -m64 -mt   -mt -D_REENTRANT -D_THREAD_SAFE >> -D_POSIX_PTHREAD_SEM

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Peter Eisentraut
On mån, 2010-07-19 at 13:32 +0100, Dave Page wrote: > I'm working on setting up a new buildfarm member as we don't seem to > have any active Solaris ones :-( > > cc -Xa -m64 -mt -mt -D_REENTRANT -D_THREAD_SAFE > -D_POSIX_PTHREAD_SEMANTICS -KPIC -DFRONTEND -DUNSAFE_STAT_OK -I. > -I../../../src/in

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
On Mon, Jul 19, 2010 at 2:36 PM, Zdenek Kotala wrote: >>  OpenSSL fails, due to >> lack of libcryto, and TCL seems to fail due to lack of headers (though >> I didn't look very hard). > > You need to set RPATH. Openssl is in /usr/sfw/lib (/usr/sfw/lib/64) > > You need this for 32bit > 'LDFLAGS' =>

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Zdenek Kotala
Dave Page píše v po 19. 07. 2010 v 14:24 +0100: > On Mon, Jul 19, 2010 at 1:56 PM, Zdenek Kotala wrote: > > Dave Page píše v po 19. 07. 2010 v 13:32 +0100: > >> I'm working on setting up a new buildfarm member as we don't seem to > >> have any active Solaris ones :-( > > > > Unfortunately, I had t

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
On Mon, Jul 19, 2010 at 1:56 PM, Zdenek Kotala wrote: > Dave Page píše v po 19. 07. 2010 v 13:32 +0100: >> I'm working on setting up a new buildfarm member as we don't seem to >> have any active Solaris ones :-( > > Unfortunately, I had to stop them :(. Sorry. > > I cannot remember this bug. Howev

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
On Mon, Jul 19, 2010 at 2:03 PM, Tom Lane wrote: > I wrote: >> That code wouldn't be getting compiled if configure hadn't found >> getpeerucred present, so I'll bet the problem is just lack of the >> #include file that declares the above symbols.  A bit of grepping >> of /usr/include should give y

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Tom Lane
I wrote: > That code wouldn't be getting compiled if configure hadn't found > getpeerucred present, so I'll bet the problem is just lack of the > #include file that declares the above symbols. A bit of grepping > of /usr/include should give you the answer. ... but looking in src/backend/libpq/aut

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Zdenek Kotala
Dave Page píše v po 19. 07. 2010 v 13:32 +0100: > I'm working on setting up a new buildfarm member as we don't seem to > have any active Solaris ones :-( Unfortunately, I had to stop them :(. Sorry. I cannot remember this bug. However for Solaris 10 is better to use SunStudio 11. I see lot of bug

Re: [BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Tom Lane
Dave Page writes: > I'm working on setting up a new buildfarm member as we don't seem to > have any active Solaris ones :-( > cc -Xa -m64 -mt -mt -D_REENTRANT -D_THREAD_SAFE > -D_POSIX_PTHREAD_SEMANTICS -KPIC -DFRONTEND -DUNSAFE_STAT_OK -I. > -I../../../src/include -I../../../src/port -I../../

[BUGS] PG 9.0 Solaris compile error on Sparc

2010-07-19 Thread Dave Page
I'm working on setting up a new buildfarm member as we don't seem to have any active Solaris ones :-( cc -Xa -m64 -mt -mt -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -KPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSIO