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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general