Re: [HACKERS] Perl library (was Building Postgres)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Perl library (was Building Postgres)
Дата
Msg-id 18863.930621848@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Perl library (was Building Postgres)  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> ... Assuming that the code generated is a bit
> more tolerant of version changes in perl,

I believe that's nearly as risky as hardwiring the install path.
For example, we already know that the existing perl5 interface
*source* code is broken for the latest Perl releases (5.005something),
nevermind trying to make the object code compatible.  (I'm going
to try to figure out whether we can tweak the source to work under
either version ... it may take conditional compilation :-( ... if
anyone else is in a bigger hurry than me, be my guest ...)

> One possibility is to
> simply lift all of the perl5 source tree into the rpm, and actually do
> the build on the target machine from scratch. afaik, this is *not* the
> preferred style for rpms.

It may be swimming upstream in the RPM culture, but it should work
and work reliably.  *Not* doing the expected configuration on the
target machine will be swimming upstream in the Perl culture, and
I'll wager that the undertow is a lot more dangerous in that case.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Perl library (was Building Postgres)
Следующее
От: Bruce Momjian
Дата:
Сообщение: 6.5.1 status