Re: k3b-mp3 for x86_64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Berry wrote:
On Fri, 28 Jan 2005 22:40:31 -0500, Dennis Shaw
<dennis@xxxxxxxxxxxxxxxxxxx> wrote:

OK... I LOVE FC3! and this is the last problem I have before my setup is
perfect. I can't burn mp3's to an audio cd in k3b. It gives me the
notorious "format not supported" error. I have 64-bit versions of k3b
and all the helper programs (transcode, vcdimager, etc) installed. On my
old i386 box it was as simple as getting the k3b-mp3 rpm from yum but
unfortunately, there is not one for x86_64?


Since it's mp3, it's not included in Fedora Core.  Thus someone else
has to compile it and make an rpm package.  Livna stopped supporting
x86_64 a little while back, it was a sad day :(.


I've searched long and hard and have only found one fix to try... It
didn't work. I could probably alleviate the problem by just getting rid
of the x86_64 versions and installing the i386 rpm's but then what's the
point of having a 64-bit OS when I can't utilize it!

If I can get my hands on the source for k3b-mp3, how would I compile it
for x86_64?

Any suggestions?
--
Dennis Shaw


I recommend grabbing the src.rpm from
http://rpm.livna.org/fedora/3/i386/SRPMS.stable/ and rebuilding it. It's not that hard and is a great learning experience if you've never
done it before. You should be able to download the package and then
just run:
rpmbuild --rebuild --target=x86_64 k3b-mp3-*src.rpm

The above worked perfectly! Thank you...


If (when) it complains about dependecies, note what it wants and use
yum to install the needed -devel packages.  It worked just fine for
me.  You may need to be root to run the above command, or you can
create your own rpm build root by adding a .rpmmacros file in you home
directory with something like this in it:
%_topdir                %(echo $HOME)/redhat
For this, you will need to have a directory "redhat" off of your home
directory with the same sub-folders as /usr/src/redhat/  Another
.rpmmacros line I find useful for x86_64 is:
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
This adds the arch of the rpm to the name that rpm -q reports since
you can install 32- and 64-bit packages.

Jonathan


"Microsoft isn't evil, they just make really crappy operating systems."
                                                       -Linus Torvalds


Oh, come on.  They aren't *that* bad : ).  Great quote though.


-- Dennis Shaw


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux