LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-29-2010, 10:59 AM   #1
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

Rep: Reputation: 16
Package building where to grab source rpms


Hello all, got a question regarding src.rpms. I just built php-5.2.13 from source but it came from http://www.atomicorp.com/channels. Currently dependent on rpm maintainer to provide new and updated source rpms to build from. My question is where are the original source rpms coming from? Are these rpm maintainers downloading the original php.tar.gz source from php.net and building from scratch or are they coming from redhat/fedora repo and they are just patching and modifying spec file.

Thanks for any help.
 
Old 04-29-2010, 02:15 PM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
It all depends who is making them.

I trust and depend on Remi's packages. He's quality is proven, at least for me.
 
Old 04-30-2010, 02:39 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Les RPM de Remi - Packages : php
http://rpms.famillecollet.com/enterp...ges.group.html

http://rpms.famillecollet.com/enterp...oview/php.html

'php-5.3.1' is the version, that will be supported the next
seven years by RedhatEL6, CentOS6, Scientific SLC6 / SL6.
(That's what the beta version has included.)
..
 
Old 04-30-2010, 11:18 PM   #4
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

Original Poster
Rep: Reputation: 16
Thanks for the tips guys will take a look at remi's repo. Just curious where he got his original source rpms? Did he compile from scratch?
 
Old 05-02-2010, 04:04 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No "compilation" is used to create an SRC RPM.
A basic src.rpm is two files 1) the source, e.g. php-5.3.1.tar.bz2
2) a spec file, for php it is php.spec
.....( php usually not that basic, 5.3.0-6.fc12.src = 21 files.)

Remi is not publishing the src.rpms. ( You can ask him for it.)

But why not use the RedhatEL6, CentOS6, Scientific SLC6 / SL6
src.rpm ? ftp://ftp.redhat.com/pub/redhat/rhel/beta/6/
ftp://ftp.redhat.com/pub/redhat/rhel...-7.el6.src.rpm
> php-5.3.1-7.el6.src.rpm

Last edited by knudfl; 05-03-2010 at 04:25 AM.
 
Old 05-02-2010, 11:18 PM   #6
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

Original Poster
Rep: Reputation: 16
Knudfl, thank you for clearing it up. For some reason I thought Redhat/Fedora repo maintainers packaged source rpms such as php 5.2.13.src.rpm and distributed them. Then someone like remi would download the src.rpm and compile on the particular distro rhel4/5/6. They would also alter the spec update the spec file as required. We are not using php 5.3 but trying to stick to 5.2.x because we are on RHEL4 and our production boxes are all running 5.2.x.

Thanks for clearing this up.

Last edited by tuxtutorials; 05-02-2010 at 11:19 PM.
 
Old 05-03-2010, 05:26 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
A php-5.2.13 SRC RPM .. can be a Fedora 11 .....
http://download.fedora.redhat.com/pu...1.fc11.src.rpm
ftp://mirror.switch.ch/pool/2/mirror...1.fc11.src.rpm

Or .. Remi , kept at ftp.pbone.net
ftp://ftp.pbone.net/mirror/rpms.fami...1.remi.src.rpm

Or PLD ftp://ftp.task.gda.pl/vol/vol1/ftp.p....13-10.src.rpm

Fedora 11-12 php SRC RPMS will usually compile with no modifications
on EL 5, the same may be valid for EL 4.

Ref. http://rpm.pbone.net/ > Advanced Search (Check All) > 'php-5.2'
..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aptitude- list/grab package for another debian release aquaboot Debian 4 06-06-2008 06:30 PM
help building src rpms nkoplm Linux - General 1 04-05-2006 03:13 PM
Building RPMs from source IronBeagle Linux - Software 2 03-04-2005 01:46 PM
Building RPMs Brian of Gep Linux - Newbie 2 05-02-2004 10:26 AM
building rpms from cyrus-sasl help... tarballed Linux - Software 0 08-21-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration