Re: about RPM build options

From: Derk Jan Horstman <dj(dot)horstman(at)anva(dot)nl>
To: '?? ??' <katsumata(dot)tomonari(at)oss(dot)ntt(dot)co(dot)jp>, "devrim(at)CommandPrompt(dot)com" <devrim(at)CommandPrompt(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: about RPM build options
Date: 2010-10-13 07:44:44
Message-ID: 168F24367E861A4698E58C183F317D0B0484804E59@anva-mail07.anva.amt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I've checked the build options for PostgreSQL 9.0.1,
> I had some questions.
>
> I downloaded rpms from below site.
> http://www.postgresql.org/ftp/binary/v9.0.1/linux/rpms/redhat/rhel-5-x86_64/
>
> ====
> 1. enable thread safety?
> "--disable-thread-safety" is given.
> Before version 8.4, "--enable-thread-safety" is given for thread safe client library.
> I think it is not compatible before release. Is this intention thing?
>
> 2. enable dtrace?
> "--enable-dtrace" is not given.
> I want to give "--enable-dtrace", but is there any reason not to give it?
> ====
>
> If there are any problem, please fix and add these options.
>
> regards,
> ----------
> Tomonari Katsumata

It is also possible to compile from the PostgreSQL-source by yourself.
I did it already for RHEL5 x86-64 without any problems.

Compiling is easy, and well documented, under the condition that you've installed several development packages on RHEL.
For example, you need zlib-devel, readline-devel, development tools (gcc and gmake) and of course the kernel sources.
Maybe you want OpenSSL then you need OpenSSL-devel too.
I've no experience with "--enable-dtrace" so maybe you need an extra development package.

Give it a try, there are several benefits for compiling by yourself.

Regards, Derk Jan Horstman

***************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. ANVA bv sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). ANVA bv rules out any and every liability resulting from any electronic transmission.
******************************************************************************

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2010-10-13 07:45:58 Re: Gripe: bytea_output default => data corruption
Previous Message Devrim GÜNDÜZ 2010-10-13 07:29:45 Re: about RPM build options