Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety

From: Louis Gonzales <louis(dot)gonzales(at)linuxlouis(dot)net>
To: "renneyt(at)yahoo(dot)com" <renneyt(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
Date: 2006-03-09 15:49:23
Message-ID: 44104E83.3070205@linuxlouis.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

renneyt(at)yahoo(dot)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?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2006-03-09 15:58:23 Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety
Previous Message renneyt@yahoo.com 2006-03-09 15:28:22 Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety