pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
6+ messages / 3 participants
[nested] [flat]

* Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
@ 2006-03-09 02:13 Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 05:06 ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Louis Gonzales @ 2006-03-09 02:13 UTC (permalink / raw)
  To: pgsql-admin

Hello List,
I've compiled successfully, postgreSQL-8.0.1 on Solaris 9 with 
--enable-thread-safety, for use with Slony-I.

A 2nd server has Solaris 10 - when I attempt the same ./configure WITH 
--enable-thread-safety, I get an error about

*** Thread-safety requires POSIX signals, which are not supported by your
*** operating system.

Has anybody crossed this bridge?

TIA



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
  2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
@ 2006-03-09 05:06 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2006-03-09 05:36   ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Bruce Momjian @ 2006-03-09 05:06 UTC (permalink / raw)
  To: Louis Gonzales <louis.gonzales@linuxlouis.net>; +Cc: pgsql-admin

Louis Gonzales wrote:
> Hello List,
> I've compiled successfully, postgreSQL-8.0.1 on Solaris 9 with 
> --enable-thread-safety, for use with Slony-I.
> 
> A 2nd server has Solaris 10 - when I attempt the same ./configure WITH 
> --enable-thread-safety, I get an error about
> 
> *** Thread-safety requires POSIX signals, which are not supported by your
> *** operating system.

There is more information in that message which tells you were to look
for the failure.

-- 
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
  2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 05:06 ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
@ 2006-03-09 05:36   ` Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 15:28     ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety renneyt@yahoo.com <renneyt@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Louis Gonzales @ 2006-03-09 05:36 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-admin

Bruce,
thanks for the help.  did you have any supplemental suggestions that 
would 'help?'

Bruce Momjian wrote:

>Louis Gonzales wrote:
>  
>
>>Hello List,
>>I've compiled successfully, postgreSQL-8.0.1 on Solaris 9 with 
>>--enable-thread-safety, for use with Slony-I.
>>
>>A 2nd server has Solaris 10 - when I attempt the same ./configure WITH 
>>--enable-thread-safety, I get an error about
>>
>>*** Thread-safety requires POSIX signals, which are not supported by your
>>*** operating system.
>>    
>>
>
>There is more information in that message which tells you were to look
>for the failure.
>
>  
>




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
  2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 05:06 ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
  2006-03-09 05:36   ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
@ 2006-03-09 15:28     ` renneyt@yahoo.com <renneyt@yahoo.com>
  2006-03-09 15:49       ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  0 siblings, 1 reply; 6+ messages in thread

From: renneyt@yahoo.com @ 2006-03-09 15:28 UTC (permalink / raw)
  To: Louis Gonzales <louis.gonzales@linuxlouis.net>; +Cc: pgsql-admin

Hello, I succesfully compiled PGSQL 8.0.4 on solaris 10 (sparc). 
 
I used gcc and used CFLAGS="-O3 -pthreads".

My configure instructions are as such:
 
configure --with-includes=/usr/local/include --with-openssl -with-includes=/usr/local/ssl
/include/ -with-libs=/usr/local/lib -with-libs=/usr/local/ssl/lib -enable-thread-safety 
 
my gcc specs are as such:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2
 
gcc was taken from sunfreeware.com
 
Same config also worked with SOL9 (sparc)

 
-- 
<>< SALVATION -> http://www.rbc.org/odb/odb.shtml <>< 


----- Original Message ----
From: Louis Gonzales <louis.gonzales@linuxlouis.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-admin@postgresql.org
Sent: Thursday, March 9, 2006 12:36:35 AM
Subject: Re: [ADMIN] Solaris 10/postgreSQL-8.0.1/--enable-thread-safety


Bruce,
thanks for the help.  did you have any supplemental suggestions that 
would 'help?'

Bruce Momjian wrote:

>Louis Gonzales wrote:
>  
>
>>Hello List,
>>I've compiled successfully, postgreSQL-8.0.1 on Solaris 9 with 
>>--enable-thread-safety, for use with Slony-I.
>>
>>A 2nd server has Solaris 10 - when I attempt the same ./configure WITH 
>>--enable-thread-safety, I get an error about
>>
>>*** Thread-safety requires POSIX signals, which are not supported by your
>>*** operating system.
>>    
>>
>
>There is more information in that message which tells you were to look
>for the failure.
>
>  
>


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
  2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 05:06 ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
  2006-03-09 05:36   ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 15:28     ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety renneyt@yahoo.com <renneyt@yahoo.com>
@ 2006-03-09 15:49       ` Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 15:58         ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Louis Gonzales @ 2006-03-09 15:49 UTC (permalink / raw)
  To: renneyt@yahoo.com <renneyt@yahoo.com>; +Cc: pgsql-admin

renneyt@yahoo.com wrote:

>Hello, I succesfully compiled PGSQL 8.0.4 on solaris 10 (sparc). 
> 
>I used gcc and used CFLAGS="-O3 -pthreads".
>
>My configure instructions are as such:
> 
>configure --with-includes=/usr/local/include --with-openssl -with-includes=/usr/local/ssl
>/include/ -with-libs=/usr/local/lib -with-libs=/usr/local/ssl/lib -enable-thread-safety 
> 
>my gcc specs are as such:
>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
>Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
>Thread model: posix
>gcc version 3.3.2
> 
>gcc was taken from sunfreeware.com
> 
>Same config also worked with SOL9 (sparc)
>
> 
>  
>
Thanks,
I had tried CFLAGS="-D_someOption -pthreads" and that hadn't worked, 
I'll give yours a whirl what you have suggested.
did you use "-"enable-thread-safety or "--"enable-thread-safety?





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
  2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 05:06 ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Bruce Momjian <pgman@candle.pha.pa.us>
  2006-03-09 05:36   ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
  2006-03-09 15:28     ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety renneyt@yahoo.com <renneyt@yahoo.com>
  2006-03-09 15:49       ` Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
@ 2006-03-09 15:58         ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2006-03-09 15:58 UTC (permalink / raw)
  To: Louis Gonzales <louis.gonzales@linuxlouis.net>; +Cc: renneyt@yahoo.com <renneyt@yahoo.com>; pgsql-admin


-enable-thread-safety should take care of all this and add -pthreads to
the link line.  Please look at config.log or email it to me privately. 
/config/acx_pthread.m4 tries all link flags and should have picked up
-pthreads.

---------------------------------------------------------------------------

Louis Gonzales wrote:
> renneyt@yahoo.com wrote:
> 
> >Hello, I succesfully compiled PGSQL 8.0.4 on solaris 10 (sparc). 
> > 
> >I used gcc and used CFLAGS="-O3 -pthreads".
> >
> >My configure instructions are as such:
> > 
> >configure --with-includes=/usr/local/include --with-openssl -with-includes=/usr/local/ssl
> >/include/ -with-libs=/usr/local/lib -with-libs=/usr/local/ssl/lib -enable-thread-safety 
> > 
> >my gcc specs are as such:
> >Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
> >Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
> >Thread model: posix
> >gcc version 3.3.2
> > 
> >gcc was taken from sunfreeware.com
> > 
> >Same config also worked with SOL9 (sparc)
> >
> > 
> >  
> >
> Thanks,
> I had tried CFLAGS="-D_someOption -pthreads" and that hadn't worked, 
> I'll give yours a whirl what you have suggested.
> did you use "-"enable-thread-safety or "--"enable-thread-safety?
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
> 

-- 
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2006-03-09 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-09 02:13 Solaris 10/postgreSQL-8.0.1/--enable-thread-safety Louis Gonzales <louis.gonzales@linuxlouis.net>
2006-03-09 05:06 ` Bruce Momjian <pgman@candle.pha.pa.us>
2006-03-09 05:36   ` Louis Gonzales <louis.gonzales@linuxlouis.net>
2006-03-09 15:28     ` renneyt@yahoo.com <renneyt@yahoo.com>
2006-03-09 15:49       ` Louis Gonzales <louis.gonzales@linuxlouis.net>
2006-03-09 15:58         ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox