It seems like I go through this every time I have to search for an SRPM to rebuild… search at rpms.mandrivaclub.com then prompted to login – login… oops wrong password. Login again stranded at main club page….. ok – downloads…. mirror finder. First – there’s no way in the mirror finder to search for SRPMS (you can search for architecture builds). There is a search for cooker, but EVERY time I do it I find mirrors that cannot be found. For my own reference ftp://mandrake.redbox.cz/Mandrivalinux/devel/cooker/SRPMS/main/release/ currently works. (Although given the name change from Mandrake to Mandriva I wonder if/when that will change.) It’s about the 4th or 5th mirror I tried after several “cannot change directory” errors, then looking at the mirror to decide if it really IS there and is just renamed to Mandriva…. They really need to look at updating their mirror list.
Tag: SRPMS
-
Building RPM’s from Source RPMs
Let me start by saying I am FAR from being an expert on the subject of building rpm’s… RPM’s are binary packages for use in red-hat based distributions. They are used (*in my case on Mandriva) with urpmi to install. Urpmi is a “wrapper” around the rpm utility that figures out what dependencies a program has and then installs those dependencies along with that program. One problem under linux is that binaries are not necessarily portable from one version of a distribution to another. For instance, some of the rpm’s for cooker may not be compatible with an old 10.0 system. But, there are src.rpm’s that can be rebuilt.
-
Building RPM’s – making a build environment
I’m going to do a few articles on building RPM’s as much for my own reference as anyone elses. I’m not an expert on the subject by any means… I do this from time to time, rebuild an rpm for an older system (or even a newer system that doesn’t have an official rpm for.) I have a tendency to forget things that I don’t do frequently. The first part of being able to rebuild rpm’s is to have what’s called a build environment. For starters, I’m using Mandriva 2006 (older versions I used Mandrake 10.1 or 10.0, etc.) In your home directory you need a folder called rpm.