-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sat, 03 Dec 2005 14:01:00 -0600,
It's more a matter of you inexperience I think. No disrespect meant, but debian derived, and redhat derived distros do things differently. Here's how I would recommend compiling mplayer on ubuntu.
Lincd.com, a scam Buyer beware
A. Ben Hmeda here's some info for you (brought to you by a linux tool called WHOIS): Domain name: lincd.com IP: 22.214.171.124 % This is the RIPE Whois query server #2...
First, ensure that multiverse and universe source repositories are added to youretc-apt-sources.list either with synaptic, or by hand editing.
sudo apt-get build-dep mplayer
This will install all the needed dev libraries, to build the mplayer source package. then:
fakeroot apt-get source mplayer
This will install the mplayer source file, from the repositorie, even if you plan on compiling mplayer from sources pulled from cvs or something. The reason is you get access to the debian control dir in the debian package.
Alternatively, if you want to compile the package, but with no changes, you can skip the below, and add -build as a flag to the apt-get source line above.
fakeroot apt-get --build source mplayer
If you have changes you want to make to the "official" source package, then:
There will now be a dir, mplayer-$VER in your cwd. It will have a source tree, (and other bits) allready patched with whatever current ubuntu patches are relevent. Enter it. Make whatever changes you want to the source. If all you are doing, is adding flags to the default build (as in the case you mention) change the flags in debian-rules to meet be what you want them to be. Then:
Which will build a .dep package for you to install via the usual path.
If you are trying to build a package that is not in the official repos, or that doesn't have a debian dir, then you can use the one from the closest package (if it's a version diff, like you are trying to use a CVS tree for the latest 'n greatest) Or, you can get into building your own, there are tools to help there also, but I'll leave that to you and google for more details :) But debhelper is the most relevent package there.
Doing the compilation on a debian system is easy, getting it all set up, is easy, but it's not too well documented in overview form, as you can see. But the above should get you started. Personally, I find it a lot easier than it was under RH, but I'm sure RH has improved since the 5.x series, which is the last I had any serious use in for this sort of thing.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU-Linux)
TOT Queen 6644
On Friday 09 December 2005 00:00, Mark Kent stood up and spoke the following words to the mbuttes...
iD8DBQFDkiOgd90bcYOAWPYRAjTaAJwKo08bbuPxoEUQ19p1rplElyzBEQCfcck1 yWXuDH4F+s3n3efXIUuIPfE= =bm18 -----END PGP SIGNATURE-----
-- Don't get mad, get Linux