Re: PostgreSQL 8.3.4 Solaris x86 compilation issues

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: postgres Emanuel CALVO FRANCO <postgres(dot)arg(at)gmail(dot)com>
Cc: Dot Yet <dot(dot)yet(at)gmail(dot)com>, General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL 8.3.4 Solaris x86 compilation issues
Date: 2008-11-01 17:11:40
Message-ID: 490C8DCC.5060304@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I know solaris FAQ well. There is mention OpenSSL problem with Solaris 8.
Solaris 9 and newer are OK. They ship OpenSSL version which really work.

Zdenek

postgres Emanuel CALVO FRANCO napsal(a):
> do you just read FAQ_Solaris in the docs. I don't remember at all, but
> is explain some steps to run with SSL.
>
> 2008/11/1, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>:
>> Hi,
>>
>> It is really strange. Is there any reason why you don't use integrated SSL?
>> 64bit version is located in /usr/sfw/lib/64
>> Try
>>
>> ./configure --prefix=/opt/usr/local
>> --with-libs=/usr/sfw/lib/64:/opt/usr/local/lib
>> --without-readline --with-openssl CFLAGS=" -m64 -xmodel=medium"
>>
>> Or you canuse precompiled binaries from PostgreSQL web site.
>>
>> Zdenek
>>
>>
>> Dot Yet napsal(a):
>>> Hi everyone,
>>> i am facing some problem while compiling postgresql 8.3.4 on Solaris 10
>>> x86
>>> 10u5. the compiler is SunStudio 12.
>>>
>>> The compilation happens without errors, but make check fails:
>>>
>>> OpenSSL 0.9.8i compiled as:
>>> ./Configure --prefix=/opt/usr/local -m64 -xmodel=medium
>>>
>>> PostgreSQL 8.3.4 compiled as:
>>> ./configure --prefix=/opt/usr/local --with-libs=/opt/usr/local/lib
>>> --without-readline --with-openssl CFLAGS=" -m64 -xmodel=medium"
>>>
>>> The error happens while running make check:
>>>
>>> ./pg_regress --temp-install=./tmp_check --top-builddir=../../..
>>> --srcdir=/export/home/dotyet/pginst/postgresql-8.3.4/src/test/regress
>>> --temp-port=55432 --schedule=./parallel_schedule --multibyte=SQL_ASCII
>>> --load-language=plpgsql
>>> ============== removing existing temp installation ==============
>>> ============== creating temporary installation ==============
>>> ============== initializing database system ==============
>>> ============== starting postmaster ==============
>>> Killed
>>> Killed
>>> Killed
>>> Killed
>>> Killed
>>> Killed
>>>
>>> if I remove the --with-openssl, everything works as expected.
>>>
>>> any thoughts?
>>>
>>> thanks in advance.
>>> dotyet
>>>
>>
>> --
>> Zdenek Kotala Sun Microsystems
>> Prague, Czech Republic http://sun.com/postgresql
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>>
>
>

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michelle Konzack 2008-11-01 19:33:34 Re: Equivalent for AUTOINCREMENT?
Previous Message postgres Emanuel CALVO FRANCO 2008-11-01 16:58:54 Re: PostgreSQL 8.3.4 Solaris x86 compilation issues