[newbie] SRPMs
Hello, At the weekend I found and downloaded a group of RPMs for the mplayer application (from the following address: http://ranger.dnsalias.com/mandrake/mandrake8.1/ ) The application itself was packaged as a SRPM: mplayer-0.50-6mdk.src.rpm I installed all the RPMs without a hitch, but the SRPM is causing me grief. What basically happens is: Open console window. Sign on as root. Go to download directory and type: rpm --rebuild mplayer-0.50-6mdk.src.rpm which just gets me the answer: mplayer-0.50-6mdk.src.rpm: No such file or directory. I must be missing something really obvious, but what? Btw, the file IS there, I can see it from the console, and I tried changing the rights on it with a 'chmod 777', just in case. Thanks, Richard *** This e-mail and its attachments are intended for the above named recipient(s) only and are confidential and may be privileged. If they have come to you in error you must take no action based on them, nor must you copy or disclose them or any part of their contents to any person or organisation; please notify the sender immediately and delete this e-mail and its attachments from your computer system. Please note that Internet communications are not necessarily secure and may be changed, intercepted or corrupted. We advise that you understand and observe this lack of security when e-mailing us and we will not accept any liability for any such changes, interceptions or corruptions. Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Copyright in this e-mail and attachments created by us belongs to Littlewoods. Littlewoods takes steps to prohibit the transmission of offensive, obscene or discriminatory material. If this message contains inappropriate material please forward the e-mail intact to [EMAIL PROTECTED] and it will be investigated. Statements and opinions contained in this e-mail may not necessarily represent those of Littlewoods. Please note that e-mail communication may be monitored. Registered office: Littlewoods Retail Limited, Sir John Moores Building, 100 Old Hall Street, Liverpool, L70 1AB Registered no: 421258 http://www.littlewoods.com *** Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] SRPMS
Source RPM's are used to create the final "distribution" rpm's for software. The spec files and patches are all applied against the base distribution. The software is included this way so that changes can be easily isolated against a base. However you should -NOT- be dealing with any of this. RPM does all the work for you! To create a "final" installable software RPM from a Source (SRPM) merely grab the source rpm and issue a command such as this... "rpm --rebuild Software.src.rpm" If everything goes ok, RPM will unpack the SRPM, apply the patches and updates configure and compile everything. It leaves the resulting files in /usr/src/RPMS/RPMS/ix86 and /usr/src/RPMS/RPMS/noarch/. You can then "rpm -Uvh Software.ix86.rpm" to install the newly compiled software. Simple eh? -JMS |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of |Moshe Kaminsky |Sent: Wednesday, November 28, 2001 3:10 AM |To: [EMAIL PROTECTED] |Subject: [newbie] SRPMS | | |Hi, | |Maybe someone can explain what are the SRPMS? I usually |install programs from a .tar.bz2 file, using the 'configure, |make, make install' sequence. What should I do with the other |files that I find the SRPM? |(Especially the SPEC files, and the patches). What is the |advantage of using these instead of the plain .tar.bz2 files? | |Thanks, |Moshe | | Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SRPMS
SRPMS are Source RPM's. RPM's are Red Hat package Manager installs. Mandrake, is an RPM based distro so you can use RPM's to install things instead of compiling from source as you have been. Enter "man rpm" into your terminal to learn more. Once you have gotten the basic commands down check out rpmfind.net and search for new software to install. On Wednesday, November 28, 2001, at 03:09 AM, Moshe Kaminsky wrote: > Hi, > > Maybe someone can explain what are the SRPMS? I usually install programs > from a .tar.bz2 file, using the 'configure, make, make install' > sequence. What should I do with the other files that I find the SRPM? > (Especially the SPEC files, and the patches). What is the advantage of > using these instead of the plain .tar.bz2 files? > > Thanks, > Moshe > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] SRPMS
Hi, Maybe someone can explain what are the SRPMS? I usually install programs from a .tar.bz2 file, using the 'configure, make, make install' sequence. What should I do with the other files that I find the SRPM? (Especially the SPEC files, and the patches). What is the advantage of using these instead of the plain .tar.bz2 files? Thanks, Moshe Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com