Обсуждение: Error Building rpm
Hi All,<br /><br />I am trying to build rpm of PostgreSQL, and the approach is building rpm for<br />1. CentOS 6+<br />2.Fedora 15+<br />3. RedHat 6+<br />4. OpenSUSE<br />5. SuSE<br /><br />via single spec file and not using any externalrpm or repo while building<br /><br />the problem i am facing right now is there is some dependencies which is nownot provided by RedHat and SUSE<br /><br />1. <span>SLE_11_SP2<br /></span>perl-ExtUtils-Embed, <br />uuid-devel, <br/>openldap-devel (For this i am using openldap2-devel its working fine so no problem)<br /><br />2.<span><span><span>open</span>SUSE_12.2<br/> perl-ExtUtils-Embed,<br /> openldap-devel </span></span><span><span>(Forthis i am using openldap2-devel its working fine so no problem)<br /><br />3.</span></span><span><span><span>RedHat_RHEL-6<br/></span> uuid-devel</span></span> (Now RedHat is not providing thisrpm)<br /><br />If i am installing uuid-devel from external source i am able to build rpm but how to build without installingit from external repo.<br />now redhat is giving libuuid. <br /><br />and Suse is not having perl-ExtUtils-Embedrpm.<br /><br />Please advised.<br /><br /><br />-- <br />ViVek Raghuwanshi<br />Mobile -+91-09595950504<br/>Skype - vivek_raghuwanshi<br />IRC vivekraghuwanshi<br /><a href="http://vivekraghuwanshi.wordpress.com/"target="_blank">http://vivekraghuwanshi.wordpress.com/</a><br /><a href="http://in.linkedin.com/in/vivekraghuwanshi"target="_blank">http://in.linkedin.com/in/vivekraghuwanshi</a><br />
Vivek Singh Raghuwanshi <vivekraghuwanshi@gmail.com> writes:
> 3.RedHat_RHEL-6
> uuid-devel (Now RedHat is not providing this rpm)
works for me in RHEL-6 ...
regards, tom lane
Hi, On Mon, 2013-01-21 at 10:53 +0530, Vivek Singh Raghuwanshi wrote: > I am trying to build rpm of PostgreSQL, and the approach is building > rpm for > 1. CentOS 6+ > 2. Fedora 15+ > 3. RedHat 6+ > 4. OpenSUSE > 5. SuSE > > via single spec file and not using any external rpm or repo while > building Building RPMs using a single spec file is almost impossible, as I wrote you in my previous emails. SuSE has different package names, Fedora 15+ has separate init system (systemd), etc. That's why I am keeping separate copies of each spec file for Fedora and its derivatives (RHEL, SL, CentOS) separately. -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Thanks Devrim,
But i am trying to achieve this via multiple if conditions , can you send me your redhat and suse spec files.
--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi
But i am trying to achieve this via multiple if conditions , can you send me your redhat and suse spec files.
On Mon, Jan 21, 2013 at 11:09 AM, Devrim GÜNDÜZ <devrim@gunduz.org> wrote:
Hi,Building RPMs using a single spec file is almost impossible, as I wrote
On Mon, 2013-01-21 at 10:53 +0530, Vivek Singh Raghuwanshi wrote:
> I am trying to build rpm of PostgreSQL, and the approach is building
> rpm for
> 1. CentOS 6+
> 2. Fedora 15+
> 3. RedHat 6+
> 4. OpenSUSE
> 5. SuSE
>
> via single spec file and not using any external rpm or repo while
> building
you in my previous emails. SuSE has different package names, Fedora 15+
has separate init system (systemd), etc. That's why I am keeping
separate copies of each spec file for Fedora and its derivatives (RHEL,
SL, CentOS) separately.
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi
Hi, On Mon, 2013-01-21 at 11:33 +0530, Vivek Singh Raghuwanshi wrote: > But i am trying to achieve this via multiple if conditions , can you > send me your redhat and suse spec files. As I have emailed you before, spec files,etc. are at http://svn.pgrpms.org/repo Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
On Mon, Jan 21, 2013 at 12:11 PM, Devrim GÜNDÜZ <devrim@gunduz.org> wrote:
Spec file for SuSE is only for 8.4 not for 9.2+
Hi,As I have emailed you before, spec files,etc. are at
On Mon, 2013-01-21 at 11:33 +0530, Vivek Singh Raghuwanshi wrote:
> But i am trying to achieve this via multiple if conditions , can you
> send me your redhat and suse spec files.
http://svn.pgrpms.org/repo
Spec file for SuSE is only for 8.4 not for 9.2+
Regards,--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi