Re: using rpmbuild with PostgreSQL 9.2.6 source code

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: using rpmbuild with PostgreSQL 9.2.6 source code
Дата
Msg-id 52DCE6E5.7010307@2ndquadrant.com
обсуждение исходный текст
Ответ на using rpmbuild with PostgreSQL 9.2.6 source code  (Sameer Kumar <sameer.kumar@ashnik.com>)
Ответы Re: using rpmbuild with PostgreSQL 9.2.6 source code
Список pgsql-general
On 01/20/2014 03:46 PM, Sameer Kumar wrote:
> Hi,
>
> I have downloaded the tar source code of PostgreSQL and also the SPEC
> file. I am trying to use rpmbuild command but I always get below error:

When you mention something you downloaded, also show the URL you
downloaded it from.

In this case, since it's about package building, we'd kind of need to
know the operating system and version you are running on too. Though
that's guessable from the package list.

Rather than attempting to build PostgreSQL packages, why not use the
existing PGDG packages from http://yum.postgresql.org/ for RHEL / CentOS 6?

If you need to patch them, then you should be able to just "yum install
yum-utils", "yumdownloader --source postgres" to get the srpm, "rpm -i"
the srpm into your ~/RPMBUILD directory, and make any appropriate
modifications before rebuilding.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Felix.徐
Дата:
Сообщение: What is the correct way to get the content of a varchar field in pgsql's source code
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: using rpmbuild with PostgreSQL 9.2.6 source code