Skip site navigation (1) Skip section navigation (2)

Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Trond Eivind Glomsrød <teg(at)redhat(dot)com>, The Hermit Hacker <scrappy(at)hub(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)
Date: 2000-10-28 14:55:59
Message-ID: Pine.LNX.4.21.0010281643291.763-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-ports
Lamar Owen writes:

> Getting the installation that 'make install' spits out massaged into
> an FHS compliant setup is the majority of the RPM's spec file.

./configure --prefix=/usr --sysconfdir=/etc

Off you go...  (I'll refrain from commenting further on the FHS.)

> *	Upgrades that don't require an ASCII database dump for migration.

Let me ask you this question:  When any given RPM-based Linux distribution
will update their system from ext2 to, say, ReiserFS across the board, how
are they going to do it?  Sincere question.

> *	A less source-centric mindset.  Let's see, how to explain?  The
> regression tests are a good example.  You need make. You need the source
> installed, configured, and built in the usual location.

This is not an excuse, but almost every package behaves this way.  Test
suites are designed to be run after "make all" and before "make install".  
When you ship a binary package then you're saying to users "I did the
building and installation (and presumably everything else that the authors
recommend along the way) for you."  RPM packages usually don't work very
well on systems that are not exactly like the one they were built on, so
this seems to be a fair assumption.

Getting the regression tests to work from anywhere is not very hard, but
it's not the most interesting project for most people. :-)

> I think I may have a solution for the library versioning problem. 
> Rather than symlink libpq.so->libpq.so.2->libpq.so.2.x, I'll copy
> libpq.so.2.1 to libpq.so.2 and symlink libpq.so to that.

I'd still claim that if RPM thinks it's smarter than the dynamic loader,
then it's broken.  All the shared libraries on Linux have a symlink from
more general to more specific names.  PostgreSQL can't be the first to hit
this problem.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

Responses

pgsql-ports by date

Next:From: The Hermit HackerDate: 2000-10-30 00:37:04
Subject: pgsql-ports list should no work again ...
Previous:From: Peter EisentrautDate: 2000-10-28 14:04:07
Subject: Re: shmget failed

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2000-10-28 15:44:04
Subject: Re: Gram.y patches for better parenthesis handling.
Previous:From: Peter EisentrautDate: 2000-10-28 14:40:16
Subject: Re: Problem with installing as root

pgsql-general by date

Next:From: Bruce MomjianDate: 2000-10-28 15:12:40
Subject: Re: 7.1 release date ?
Previous:From: Martin GaintyDate: 2000-10-28 14:41:27
Subject: Re: I want to search my project source code

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group