Обсуждение: about RPM build options
Hi, 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 NTT Open Source Software Center E-Mail: katsumata.tomonari@oss.ntt.co.jp
On Wed, 2010-10-13 at 15:57 +0900, 勝俣 智成 wrote: > > 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? It is a packaging error, and fixed in SVN. I will push a new set soon. > 2. enable dtrace? > "--enable-dtrace" is not given. > I want to give "--enable-dtrace", but is there any reason not to > give it? I did not include it in PGDG RPMs for various reasons in the past. You may want to recompile srpm for that. -- Devrim GÜNDÜZ PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer PostgreSQL RPM Repository: http://yum.pgrpms.org Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Вложения
> 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 personother than the addressee(s). ANVA bv rules out any and every liability resulting from any electronic transmission. ******************************************************************************
On Wed, Oct 13, 2010 at 09:44:44AM +0200, Derk Jan Horstman wrote: > > 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. Where is the flag "given?" I've never looked at these pre-packaged things and this is why. I don't know what they are (read, to lazy to chase it). The logical extention, is there any consistent place to look between the different platform package deals? Should there be?
On Wed, 2010-10-13 at 10:28 -0400, Ray Stell wrote: > > > 1. enable thread safety? > > > "--disable-thread-safety" is given. > > > Where is the flag "given?" It is in the RPM spec file. -- Devrim GÜNDÜZ PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer PostgreSQL RPM Repository: http://yum.pgrpms.org Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz