Обсуждение: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

Поиск
Список
Период
Сортировка

postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
Christopher Smith
Дата:
Are there any binaries for the Red Hat Enterprise Linux 2.1.  The OS shipped with Postgresql 7.1.3... I would like to upgrade. Are there any suggestions?
 
Thanks


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
Tom Lane
Дата:
Christopher Smith <christopherl_smith@yahoo.com> writes:
> Are there any binaries for the Red Hat Enterprise Linux 2.1.  The OS shipped with Postgresql 7.1.3... I would like to
upgrade.Are there any suggestions? 

Get a more recent SRPM and do "rpmbuild --rebuild".  I haven't tried it
but I know of no reason it wouldn't work.

            regards, tom lane

Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
Christopher Smith
Дата:
I have endeavored to do so however, I get these errors....  Is there a way to change the build script(s) to ignore this tcl library requirement?
 
error: failed build dependencies:
        tcl-devel is needed by postgresql-7.4.2-1PGDG


Tom Lane <tgl@sss.pgh.pa.us> wrote:
Christopher Smith writes:
> Are there any binaries for the Red Hat Enterprise Linux 2.1. The OS shipped with Postgresql 7.1.3... I would like to upgrade. Are there any suggestions?

Get a more recent SRPM and do "rpmbuild --rebuild". I haven't tried it
but I know of no reason it wouldn't work.

regards, tom lane


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
"Donald Fraser"
Дата:
Yes there are defines which turn off parts of the build and or change dependencies. For example the following sets dependencies for Red Hat 8 (build8x) and turns off python support
 
rpmbuild --rebuild --define 'build8x 1' --define 'python 0' postgresql-7.4.2-1PGDG.src.rpm
I don't know what Red Hat Enterprise Linux 2.1 is equivalent to with regards to desktop versions so can't help you with choosing a correct define.
Have a look at the end of the rpm build script for a list of available defines.
 
Regards
Donald Fraser
----- Original Message -----
Sent: Thursday, April 29, 2004 3:29 PM
Subject: Re: [ADMIN] postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

I have endeavored to do so however, I get these errors....  Is there a way to change the build script(s) to ignore this tcl library requirement?
 
error: failed build dependencies:
        tcl-devel is needed by postgresql-7.4.2-1PGDG


Tom Lane <tgl@sss.pgh.pa.us> wrote:
Christopher Smith writes:
> Are there any binaries for the Red Hat Enterprise Linux 2.1. The OS shipped with Postgresql 7.1.3... I would like to upgrade. Are there any suggestions?

Get a more recent SRPM and do "rpmbuild --rebuild". I haven't tried it
but I know of no reason it wouldn't work.

regards, tom lane


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
Tom Lane
Дата:
Christopher Smith <christopherl_smith@yahoo.com> writes:
> I have endeavored to do so however, I get these errors....  Is there a way to change the build script(s) to ignore
thistcl library requirement? 

> error: failed build dependencies:
>         tcl-devel is needed by postgresql-7.4.2-1PGDG

Just tell rpmbuild to ignore dependencies (--nodeps or some such).  The
dependency on tcl-devel is bogus for older RH installations, because
they didn't have a separate package for tcl's development stuff.

There is another way to do it involving defining a symbol to tell the
build script which platform you are on, but --nodeps is easier ...

            regards, tom lane

Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
"Mauro Morales M."
Дата:
See www.postgresql.org and search your OS version.

Anycase you can download postgres source and compile.

--
Mauro Morales M.
mailto:mmm@tierramedia.org
Linux User # 160358

"Christopher Smith" <christopherl_smith@yahoo.com> escribi� en el mensaje
news:20040428182340.91089.qmail@web14107.mail.yahoo.com...
: Are there any binaries for the Red Hat Enterprise Linux 2.1.  The OS
shipped with Postgresql 7.1.3... I would like to upgrade. Are there any
suggestions?
:
: Thanks
:
:
: ---------------------------------
: Do you Yahoo!?
: Win a $20,000 Career Makeover at Yahoo! HotJobs



Re: postgresql 7.4.2 binary for Red Hat Enterprise Linux 2.1

От
Lamar Owen
Дата:
On Thursday 29 April 2004 10:55, Donald Fraser wrote:
> I don't know what Red Hat Enterprise Linux 2.1 is equivalent to with
> regards to desktop versions so can't help you with choosing a correct
> define. Have a look at the end of the rpm build script for a list of
> available defines.

build7x should work.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
(828)862-5554
www.pari.edu