Received: from www1.translationforge.com (unknown [212.11.36.58]) by postgresql.org (Postfix) with ESMTP id C4C20474E42 for ; Sun, 28 Apr 2002 12:09:29 -0400 (EDT) Received: from linus.translationforge.com ([192.168.1.102]) by www1.translationforge.com (8.12.1/8.12.1) with ESMTP id g3SG9JKO012957; Sun, 28 Apr 2002 18:09:22 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Jean-Michel POURE Reply-To: jm.poure@freesurf.fr To: "Gaetano Mendola" , Subject: Re: RPMS Date: Sun, 28 Apr 2002 18:09:18 +0200 X-Mailer: KMail [version 1.4] References: <001c01c1ec41$d2df3f40$d5a9fea9@GMENDOLA2> In-Reply-To: <001c01c1ec41$d2df3f40$d5a9fea9@GMENDOLA2> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204281809.18645.jm.poure@freesurf.fr> X-Archive-Number: 200204/276 X-Sequence-Number: 4164 Le Jeudi 25 Avril 2002 12:13, Gaetano Mendola a =E9crit : > $ rpm -bl postgresql.spec Try rpm -ba postgresql.spec which builds both source and binary RPMs.=20 You may need additional libraries if compilation does not work. Building an= =20 RPM from spec is quite usefull when you want to choose specific compilation= =20 options. Otherwise, if you don't need to modify compilation options, just go for : rpm --rebuild --target i586 postgresql.src.rpm which will rebuild a binary= =20 package. So why is it i586 and not i686? The answer is last time I compiled PostgreS= QL=20 7.0 for i686, I got some errors; even with all libraries installed. From=20 then, I always used the --target i586 flag. Cheers, Jean-Michel POURE